Your message dated Thu, 03 Nov 2022 19:34:33 +0000 with message-id <[email protected]> and subject line Bug#1023286: fixed in fakeroot 1.30.1-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-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: Thu, 03 Nov 2022 15:04:55 -0400 Source: fakeroot Binary: fakeroot fakeroot-dbgsym libfakeroot libfakeroot-dbgsym Architecture: source Version: 1.30.1-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-1) unstable; urgency=medium . * New upstream version. - fixes and extends time64 support to fstatat64. closes: #1023286. Checksums-Sha1: a7428b42f596664201283fa7fc39aa61a15f8c03 1949 fakeroot_1.30.1-1.dsc 14620febc325cd6f7df3fb25438a7f2d5429e9f2 551219 fakeroot_1.30.1.orig.tar.gz 4c8e127eb402473318510d392e0b61a9d9ab08e4 23028 fakeroot_1.30.1-1.debian.tar.xz Checksums-Sha256: 7ea6198ded123a121fd584f6597253e8e557c13a773a76331b5dff58f286f7f1 1949 fakeroot_1.30.1-1.dsc 32ebb1f421aca0db7141c32a8c104eb95d2b45c393058b9435fbf903dd2b6a75 551219 fakeroot_1.30.1.orig.tar.gz 1c71c229f144a13b90ae606acb71ea0a1d6c3a4630d7252f4882e6a00956e1bf 23028 fakeroot_1.30.1-1.debian.tar.xz Files: 482506d1a3aa28caae9657b32e123e63 1949 utils optional fakeroot_1.30.1-1.dsc ddbdacf3844cd26bd05e34346bb2f524 551219 utils optional fakeroot_1.30.1.orig.tar.gz 67f748a9ae67aa58dbbaca53ab8431a8 23028 utils optional fakeroot_1.30.1-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEdYHsh0BT5sgHeRubVZIzHhmdOKgFAmNkElkACgkQVZIzHhmd OKiaQg//T/FwfbtGHNewnAqsWcrW5p2CBRSR3VXqslaEkuOHlgOq0Txn/bIgq9lP 2Knrnb3iBiJKaRgKB4MeF3wcD4/5vbRntsbpSZ8/DyQsQt6L1l4eB2PGjnyLbtLm cpLZkG3YJF/tV8+A40nTvi93v0qqrp11Mc0W4a4cg73AX0qboRXl4RqlHX7LL4Pe MTPZnV1AtVN9422AWPJ38IUITBAORAhhBgZ3jVAgDoZu2NRufkKimq7XhZQt5Fin Qg7+9917CP1kz4L+NNinu8Gu86ZeTXeh8PSlJ7GL6wh7FWkd4GcwzHXPG5nXvHt+ 1MDRnxph3yOb+bHHnRolP4TaXQEFrZ94uFyXPtg0b4USXSgeNyZkaA6bT3bc9hpp Dg8A3E/b9yNZItwx4UXqsK0hdQ5cmusqF2TK3rrKoednU68ufWdHWIVz+WxNls7m dDcNU8JFhLg2iUL5ouX23e24hOm5r5+56FfCA385MAqeCdskkLu3qSESLagessjz 4ZNeOExWBp/jrDkLOoCFdnF+H1kmtvk4FlCUWk6SGkYbYndaDtET3eauvA8/lKsU UDeryIMw+CkMnoHJuY5ivbadrIelvSmtFeWwsUXyg/+REvuQXCwJoMOXfWImmKkM Hu/yuRatXfhG7+CTPjxDdH5LtOLbDHsmeXnrWpcTfriNfzmcLIo= =c7td -----END PGP SIGNATURE-----
--- End Message ---

