Your message dated Sat, 18 Jan 2020 19:05:07 +0000 with message-id <[email protected]> and subject line Bug#944929: fixed in initramfs-tools 0.136 has caused the Debian Bug report #944929, regarding initramfs-tools: postinst fails when run under fakechroot 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.) -- 944929: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944929 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: initramfs-tools Version: 0.132 Severity: normal Hi, mmdebstrap is a replacement for debootstrap and also supports fakechroot as a way to avoid becoming root to produce a chroot tarball. Currently, the postinst script of initramfs-tools fails during installation of a linux kernel package. I inserted a "set -x" before installing linux-image-amd64 and this is the result: Setting up linux-image-5.3.0-2-amd64 (5.3.9-2) ... I: /vmlinuz.old is now a symlink to boot/vmlinuz-5.3.0-2-amd64 I: /initrd.img.old is now a symlink to boot/initrd.img-5.3.0-2-amd64 I: /vmlinuz is now a symlink to boot/vmlinuz-5.3.0-2-amd64 I: /initrd.img is now a symlink to boot/initrd.img-5.3.0-2-amd64 /etc/kernel/postinst.d/apt-auto-removal: W: Unable to read /tmp/7fbrozPKb6 - RealFileExists (2: No such file or directory) W: Unable to read /tmp/7fbrozPKb6 - RealFileExists (2: No such file or directory) W: Unable to read /tmp/7fbrozPKb6 - RealFileExists (2: No such file or directory) /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-5.3.0-2-amd64 + PREREQS= + prereqs + echo + exit 0 + PREREQS= + . /usr/share/initramfs-tools/hook-functions + mkdir -p /var/tmp/mkinitramfs_9jv3H9/lib/systemd + copy_exec /lib/systemd/systemd-udevd /lib/systemd + local src target x nonoptlib ret + src=/lib/systemd/systemd-udevd + target=/lib/systemd + copy_file binary /lib/systemd/systemd-udevd /lib/systemd + local type src target link_target + type=binary + src=/lib/systemd/systemd-udevd + target=/lib/systemd + [ -f /lib/systemd/systemd-udevd ] + [ -d /var/tmp/mkinitramfs_9jv3H9//lib/systemd ] + target=/lib/systemd/systemd-udevd + target=/usr/lib/systemd/systemd-udevd + [ -e /var/tmp/mkinitramfs_9jv3H9//usr/lib/systemd/systemd-udevd ] + mkdir -p /var/tmp/mkinitramfs_9jv3H9//usr/lib/systemd + [ -h /lib/systemd/systemd-udevd ] + [ n = y ] + cp -pP /lib/systemd/systemd-udevd /var/tmp/mkinitramfs_9jv3H9//usr/lib/systemd/systemd-udevd + ldd /lib/systemd/systemd-udevd + sed -e /\//!d; /linux-gate/d; /=>/ {s/.*=>[[:blank:]]*\([^[:blank:]]*\).*/\1/}; s/[[:blank:]]*\([^[:blank:]]*\) (.*)/\1/ + echo /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so + sed -e s#/lib/\([^/]*/\)\?\(tls\|i686\|sse2\|neon\|vfp\).*/\(lib.*\)#/lib/\1\3# + nonoptlib=/usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so + echo /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so + sed -e s#-linux-gnu/\(tls\|i686\|sse2\|neon\|vfp\).*/\(lib.*\)#-linux-gnu/\2# + nonoptlib=/usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so + [ -e /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so ] + copy_file library /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so + local type src target link_target + type=library + src=/usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so + target=/usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so + [ -f /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so ] + return 2 + ret=2 + [ 2 = 1 ] + return 1 E: /usr/share/initramfs-tools/hooks/udev failed with return 1. update-initramfs: failed for /boot/initrd.img-5.3.0-2-amd64 with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-5.3.0-2-amd64 (--configure): installed linux-image-5.3.0-2-amd64 package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of linux-image-amd64: linux-image-amd64 depends on linux-image-5.3.0-2-amd64 (= 5.3.9-2); however: Package linux-image-5.3.0-2-amd64 is not configured yet. dpkg: error processing package linux-image-amd64 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: linux-image-5.3.0-2-amd64 linux-image-amd64 As you can see, the postinst script tries to copy libfakeroot-sysv.so into the initramfs. This fails because libfakeroot-sysv.so is only available outside the chroot but not inside of it. Additionally, libfakeroot-sysv.so should probably not be part of the initramfs. Maybe some code should be added to skip inclusion of the library? Thanks! cheers, josch
--- End Message ---
--- Begin Message ---Source: initramfs-tools Source-Version: 0.136 We believe that the bug you reported is fixed in the latest version of initramfs-tools, 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. Ben Hutchings <[email protected]> (supplier of updated initramfs-tools 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: Sat, 18 Jan 2020 18:48:51 +0000 Source: initramfs-tools Architecture: source Version: 0.136 Distribution: unstable Urgency: medium Maintainer: Debian kernel team <[email protected]> Changed-By: Ben Hutchings <[email protected]> Closes: 926401 940171 942144 944929 948257 948365 Changes: initramfs-tools (0.136) unstable; urgency=medium . [ Mathieu Malaterre ] * [90bd459] Update to new name for kernel module therm_pm72 . [ Alper Nebi Yasak ] * [ded7214] hook-functions: Handle dw_mmc-rockchip hidden dependency on rockchip-io-domain * [da85190] hook-functions: Include modules for Chromebook Plus display . [ Ben Hutchings ] * [afd2668] debian/tests/control: Mark shellcheck test as superficial * [9d8b690] mkinitramfs: Remove workaround for old udev versions * [2b55aca] mkinitramfs: Remove special case for Arm OABI ports * [a9e5169] mkinitramfs: Remove armhf dynamic linker hack * [b19b6f3] debian/rules: Suppress execution of dh_installinitramfs * [8330bcd] mkinitramfs: Use cp -p option for ld.so.conf* instead of -aZ * [15fd713] initramfs-tools(7): Change example to use copy_exec instead of cp * [c2d589e] Revert "mkinitramfs: check if initramfs has a shell" * [835d584] mkinitramfs: Copy modules.builtin.bin into initramfs (Closes: #948257) * [0012977] init: Remove special case for kernel parameter resume=UUID=... * [897ab77] update-initramfs: Make "-c -k all" options useful again (Closes: #926401) * [d6c6eec] init: Mount /dev with "exec" option if v86d is present (Closes: #940171) * [a9e73b5] hook-functions: Drop ext4dev from filesystem module list * [41d9ceb] mkinitramfs: Enable multihreaded xz compression (Closes: #942144) . [ Alexander Volkov ] * [e34affa] Don't require build dependency on shellcheck when nocheck profile is enabled . [ Johannes 'josch' Schauer ] * [e2ad678] hook-functions: preloaded libraries should not end up in the initramfs (Closes: #944929) . [ Debian Janitor ] * [a1e17fc] Bump debhelper from old 9 to 12. * [4d86d1a] Set debhelper-compat version in Build-Depends. . [ Romain Perier ] * [4df27e2] hook-functions: Add f2fs as base in auto_add_modules . [ Christian Göttsche ] * [0db5752] Do not copy SELinux context in mkinitramfs (Closes: #948365) . [ Topi Miettinen ] * [55afeec] Tighten permissions for /run/initramfs Checksums-Sha1: 77d8fc1a99004a104d9ae7bd74084f4de3fc6f8e 1868 initramfs-tools_0.136.dsc 97785b97deb9bf2c1f8cad6a3204377d323572e7 91764 initramfs-tools_0.136.tar.xz 9f0926002436d7fbf0678cf6b0c6445fc5076fa4 6483 initramfs-tools_0.136_source.buildinfo Checksums-Sha256: 72ec979a82a01586b49441276b308ec7d06ec317d1f542fa9deb81fb1af8df2f 1868 initramfs-tools_0.136.dsc 3f5e83c1174e44c95ef1554f08516b2515e8229a3a3c037d7c5f95330a4144d4 91764 initramfs-tools_0.136.tar.xz 2b75b61d17413d96987f750c1d1636bb0e5547b8a5c15228a8fae810e1ce0628 6483 initramfs-tools_0.136_source.buildinfo Files: 8b952976fe6458a87c71b9173f41b97c 1868 utils optional initramfs-tools_0.136.dsc bc24b1977fb1b2def44fc2bedac219d0 91764 utils optional initramfs-tools_0.136.tar.xz 73b4d3a70433cf43ccca41a6d490f432 6483 utils optional initramfs-tools_0.136_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAl4jVIsACgkQ57/I7JWG EQmlgQ//d6iMoRnNLTrcrDFrvN5DL9ZXlFbeoc0qjb2UqHAWaKv0iLNDHHv22MY7 KetBrF5sVtLG0KjUdngmPx3AitSxusjUHw5e+IJtnVIw4Z/0un+u+jzSoA+tlfCG MpNyCXPAAFU2ARO4PtfG77WT7iJ3Tl5vyneaQx6Qwuk6PpUZkEMh8dfDi7PwxUuV BTnj6h+9l8JvLMjJTOdidNVfQRWBg7tBl9D+Y1T0xeQ9gooyLYzKd5gDkXGdl+Y4 SgkC1MhJX6fsqFfnBSBvz682dT+BZpOcqdI3cxc+s0TWlHseHk+mvl6m9EsnwM5B OFuzu4zSY9lhRw3+5h2EHZyWxAc+ZlOpjCIxio0FIfraJ4t4gsUEgxfbwyWDMdMy 1ICy7aHU43RXKncvK4buascwVFvuQE59+4esPGyAO5pevY5dm9s2B7xxR4PlwDLQ RAoOwjTPFIgrIm3yyKw5C2tznKRWenCrXA/1yGdDmcB8ec8F6EP+1iJl5B96Bv/Y sPDhLtzwt7Y7luA8p4CqTbLatfh6qlLzV81PyzD+S4jvhZX8528Nv8BT6moqdDbq xpkVLS2hjG5mkeGIgnP0Oh9oaQapjBV/sO5MCWTZeaJddhYnoUYGvqLdSCXgxgIP +23KL1k3Dgq3GRf4AYvc1hiUHo0xg3riNpLf6NS2QEahuK27uVc= =wVlP -----END PGP SIGNATURE-----
--- End Message ---

