Your message dated Thu, 02 Mar 2023 07:49:28 +0000
with message-id <e1pxdgu-001law...@fasolo.debian.org>
and subject line Bug#1030638: fixed in fakeroot 1.31-1.1
has caused the Debian Bug report #1030638,
regarding cp -a fails to preserve ownership information on 32-bit arches
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1030638: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030638
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: fakeroot
Version: 1.30.1-1.1
Severity: grave
Control: affects -1 + mmdebstrap

Hi,

since glibc 2.34 and coreutils 9.1, fakeroot fails to preserve ownership
information when running "cp -a" on a file owned by a user other than
root. On armel, armhf and i386 (our 32 bit arches), you can reproduce
this problem by running inside fakeroot:

$ touch foo
$ chown 0:42 foo
$ ls -lha foo
$ cp -a foo bar
$ ls -lha bar"

which will print this:

-rw-r--r-- 1 root shadow 0 Feb  5 23:00 foo
-rw-r--r-- 1 root root 0 Feb  5 23:00 bar

I submitted an improvement to the `cp-a` test which adds a check for the
ownership information in addition to the mode checks as a merge request
for that test here:

https://salsa.debian.org/clint/fakeroot/-/merge_requests/19

Observe how the salsaci pipeline succeds for amd64 but fails on i386.
The reason is that on i386, fakeroot will not retain the ownership
information.

A quick comparison of the strace output on arm64 (which does not have
this problem) and armhf (which does have this problem) shows that arm64
calls fchown() while armhf calls fchown32() which is not wrapped by
fakeroot. Maybe that is the problem?

This breaks my package mmdebstrap in a similar way as #1023286 did.

Since I think that `cp -a` functionality is quite essential, I'm making
this bug RC. Feel free to adjust accordingly.

Thanks!

cheers, josch

--- End Message ---
--- Begin Message ---
Source: fakeroot
Source-Version: 1.31-1.1
Done: Shengjing Zhu <z...@debian.org>

We believe that the bug you reported is fixed in the latest version of
fakeroot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1030...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Shengjing Zhu <z...@debian.org> (supplier of updated fakeroot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 02 Mar 2023 14:44:38 +0800
Source: fakeroot
Architecture: source
Version: 1.31-1.1
Distribution: unstable
Urgency: medium
Maintainer: Clint Adams <cl...@debian.org>
Changed-By: Shengjing Zhu <z...@debian.org>
Closes: 1024544 1030638
Changes:
 fakeroot (1.31-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload
 .
   [ Johannes Schauer Marin Rodrigues ]
   * debian/changelog: fix my last name
 .
   [ Shengjing Zhu ]
   * Add patch to compile time64 wraps with -D_TIME_BITS=64
     Closes: #1030638, #1024544
Checksums-Sha1:
 99a51208a0d9d1836e65b75c60c2b31950f502f7 1338 fakeroot_1.31-1.1.dsc
 784abbc9cc9b192d84c90f8d3cc6a18be919509a 25304 fakeroot_1.31-1.1.debian.tar.xz
 e292f8c22b4c9367865d0de67f0a569919e3ffc2 6392 fakeroot_1.31-1.1_amd64.buildinfo
Checksums-Sha256:
 9ff567619e21235bf354ff8a7f741ee29eaf1357e6854067337f5b177ec38341 1338 
fakeroot_1.31-1.1.dsc
 fc277ac9ad0c565a05df6de994cfaf6b824cf4446934dd0b548ed7f20d4eed87 25304 
fakeroot_1.31-1.1.debian.tar.xz
 3f175bca673ab5c102481c095eaa265435a3bacdd7017cda56d9923f3203a7cf 6392 
fakeroot_1.31-1.1_amd64.buildinfo
Files:
 878e9c5300bf54bf26af83c2c9faee07 1338 utils optional fakeroot_1.31-1.1.dsc
 8df31f25e49f4b443e0d9b93e8d4734d 25304 utils optional 
fakeroot_1.31-1.1.debian.tar.xz
 621125eb1bfda269e63d045adad0173a 6392 utils optional 
fakeroot_1.31-1.1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSRhdT1d2eu7mxV1B5/RPol6lUUywUCZABSsAAKCRB/RPol6lUU
y1rdAQCVuwbu+QJtHAEubMj1vP3bjBv2LMzSZ+ddRpnBYnxYXAEA0GpV65vFGIPQ
bHsS3sn3pMGaAVV7zUfOxVb4Xi0pZAc=
=w8w7
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to