Your message dated Thu, 03 Nov 2022 01:04:14 +0000 with message-id <[email protected]> and subject line Bug#1023286: fixed in fakeroot 1.30-1 has caused the Debian Bug report #1023286, regarding fakeroot doesn't wrap __stat64_time64 (and friends) introduced by glibc 2.34 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 [email protected] immediately.) -- 1023286: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023286 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: fakeroot Version: 1.29-1 Severity: important Control: affects -1 + mmdebstrap Hi, glibc 2.34 introduced several new functions on 32 bit arches which are used by coreutils since 9.1 which was built with glibc 2.34. Since these new functions are not wrapped by fakeroot, ownership information will be wrong on 32 bit arches like i386 or armhf. To show what should happen, lets run this on amd64: mmdebstrap --arch=amd64 --include=fakeroot,adduser --variant=apt \ --customize-hook='chroot "$1" adduser --gecos user --disabled-password user' \ --customize-hook='chroot "$1" runuser -u user -- /bin/bash' \ unstable /dev/null [...] user@hoothoot:/$ whoami user user@hoothoot:/$ fakeroot /bin/bash root@hoothoot:/# whoami root root@hoothoot:/# cd /tmp/ root@hoothoot:/tmp# echo foo > bar root@hoothoot:/tmp# echo baz > blub root@hoothoot:/tmp# chown --reference=/tmp/bar blub root@hoothoot:/tmp# ls -lha bar blub -rw-r--r-- 1 root root 4 Nov 1 18:39 bar -rw-r--r-- 1 root root 4 Nov 1 18:39 blub Success! Both files are owned by the (fake) root user. And now lets run it on i386: $ mmdebstrap --arch=i386 --include=fakeroot,adduser --variant=apt \ --customize-hook='chroot "$1" adduser --gecos user --disabled-password user' \ --customize-hook='chroot "$1" runuser -u user -- /bin/bash' \ unstable /dev/null [...] user@hoothoot:/$ whoami user user@hoothoot:/$ fakeroot /bin/bash root@hoothoot:/# whoami root root@hoothoot:/# cd /tmp/ root@hoothoot:/tmp# echo foo > bar root@hoothoot:/tmp# echo baz > blub root@hoothoot:/tmp# chown --reference=/tmp/bar blub root@hoothoot:/tmp# ls -lha bar blub -rw-r--r-- 1 root root 4 Nov 1 18:26 bar -rw-r--r-- 1 user user 4 Nov 1 18:26 blub The file blub is not owned by the fake root user but by the outer user "user". This is incorrect. When investigating what is going on I found that the "chown" command calls __stat64_time64 on i386 which will return the normal user "user" which suggests to me that the function is not wrapped by fakeroot even though it should. Other functions that might be interesting from glibc 2.34 and might need wrapping are __fstatat64_time64 and __lstat64_time64. This is breaking my package mmdebstrap. Thanks! cheers, josch
--- End Message ---
--- Begin Message ---Source: fakeroot Source-Version: 1.30-1 Done: Clint Adams <[email protected]> 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Clint Adams <[email protected]> (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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Wed, 02 Nov 2022 20:17:56 -0400 Source: fakeroot Binary: fakeroot fakeroot-dbgsym libfakeroot libfakeroot-dbgsym Architecture: source Version: 1.30-1 Distribution: unstable Urgency: medium Maintainer: Clint Adams <[email protected]> Changed-By: Clint Adams <[email protected]> Description: fakeroot - tool for simulating superuser privileges libfakeroot - tool for simulating superuser privileges - shared libraries Closes: 1023286 Changes: fakeroot (1.30-1) unstable; urgency=medium . * New upstream version. - tries to cope with time64 on 32-bit architectures. closes: #1023286. * Drop kludge for glibc 2.33. Checksums-Sha1: 521716b9f646b8d8633ab8a967dc577f43e40e25 1935 fakeroot_1.30-1.dsc 6e65c01a2549d6c467b20aa6e98eea42290c62e0 549762 fakeroot_1.30.orig.tar.gz e29750546c3b13fbc688a0264779abbac2871fc0 23856 fakeroot_1.30-1.debian.tar.xz Checksums-Sha256: eb4f266d8785483a514f42de2357f3b2a7fe264a8fdec60611625844cd759d8a 1935 fakeroot_1.30-1.dsc d7cdcf32c3451b577d22250eb0ebd5c02282b5d8de01a6fe1656d192c4539579 549762 fakeroot_1.30.orig.tar.gz 77b2df3a830181827fbb1deaf593c8725893e35ed21f8c602bedc5e1afcf5680 23856 fakeroot_1.30-1.debian.tar.xz Files: 4ec0c2e1a303094e7ef76fa85c818c01 1935 utils optional fakeroot_1.30-1.dsc e93096099b3685166fae9a22fe65857c 549762 utils optional fakeroot_1.30.orig.tar.gz 81c12f460518f95d3401457f128bb10b 23856 utils optional fakeroot_1.30-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEdYHsh0BT5sgHeRubVZIzHhmdOKgFAmNjD+gACgkQVZIzHhmd OKgV1w//SMWpb9/gH3sSp5KzLfJyAeRP9vmzqZtVc9BTepMOkKTkHqNtLNknOS6Z GKz7klCyG/K3ruB9Pu2B6Okmml+hcrtBrdmDYFcwcpEeC4Lmq4G36+1hk7tb0bhZ pjjPTLz4nbBT1Ql3EB49dt8ZiVBma0BoKzMKSvOzilWiu7LC8Y3Vi6jNRygO+P4b 2GG09yLQYtctyIcQwRVZMs41x/2vy3+E9uarHd3svn9b7097tIsO4/ZhgZn7mmwj 82G5eRsRZGOeCfu8IXziaFTcnCPkFfczHgf2YWs+prOI2JpnjLbMVal936BDQpVh yQXb7SK/Vc43KKUX83X1CB5+cg9HbhBl/UKIXoZ+ziycrsT1XLjqO9JzmI+1ULBv UbM7+imbopcYXAYQlDh70wi4Vi0CxwEGV9SranL+XaNWLNQXPGscV7HM9bnA7Mlr bzqMQCtBALAtuwSLOGYoVCTy2Vmartk9NZ49QCj9it/7me+OG3C8WvqmcHrTav/C 6f/vXUECLR6V6iRlIX7kd6GfbXQvv6tBL6baRzbQ5YaR+rttBEQIj20Yb5WrzGeZ lJ4JYfJC9iACWT2YEnSulkDZC8Mfzb4FW2N4o9V1lMHVb9U8CzkZGvPFRWZnqoYa Nb3/fRXdXY+OwX/P5IhNENLsaywO2R+3FhI9rGTISA5h2wzOS3k= =osNJ -----END PGP SIGNATURE-----
--- End Message ---

