Your message dated Thu, 11 Feb 2016 04:30:08 +0000 with message-id <[email protected]> and subject line Bug#812404: fixed in initramfs-tools 0.123 has caused the Debian Bug report #812404, regarding cp: failed to access '/tmp/user/0/mkinitramfs_2ypg84//bin/touch': Too many levels of symbolic links 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.) -- 812404: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812404 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: initramfs-tools Version: 0.122 Severity: grave Justification: renders package unusable Setting up initramfs-tools-core (0.122) ... Installing new version of config file /etc/initramfs-tools/initramfs.conf ... Setting up initramfs-tools (0.122) ... update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools (0.122) ... update-initramfs: Generating /boot/initrd.img-4.3.0-1-amd64 cp: failed to access '/tmp/user/0/mkinitramfs_2ypg84//bin/touch': Too many levels of symbolic links E: /usr/share/initramfs-tools/hooks/fsprotect failed with return 1. update-initramfs: failed for /boot/initrd.img-4.3.0-1-amd64 with 1. dpkg: error processing package initramfs-tools (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: initramfs-tools # ls -al /tmp/user/0/mkinitramfs_Rfce4o/bin/ total 2172 drwxr-xr-x 2 root root 4096 Jan 23 10:53 . drwxr-xr-x 11 root root 4096 Jan 23 10:53 .. -rwxr-xr-x 1 root root 1837392 Jan 22 08:31 busybox -rwxr-xr-x 1 root root 3963 Jan 10 18:58 cryptroot-unlock -rwxr-xr-x 1 root root 211136 Nov 9 14:35 grep -rwxr-xr-x 1 root root 244 May 13 2010 is_aufs -rwxr-xr-x 1 root root 154696 Dec 20 19:02 kmod lrwxrwxrwx 1 root root 7 Jan 23 10:53 sh -> busybox lrwxrwxrwx 1 root root 5 Jan 23 10:53 touch -> touch ^^^^^^^^^^^^^^ That should probably be: touch -> busybox I don't really understand what's creating the `touch' symlink. Never mind that, I found two `touch' instances in the mkinitramfs script. Those can also be replaced with redirections. But, the correct shell redirection replacement for `touch' is: >>filepath not: >filepath as the latter will also truncate the 'filepath'. Here is a patch proposal: --- mkinitramfs.orig 2016-01-18 21:05:05.000000000 +0100 +++ mkinitramfs 2016-01-23 12:18:26.970456642 +0100 @@ -98,7 +98,7 @@ usage fi -touch "$outfile" +>> "$outfile" outfile="$(readlink -f "$outfile")" # And by "version" we really mean path to kernel modules @@ -273,7 +273,7 @@ fi # fstab and mtab -touch "${DESTDIR}/etc/fstab" +>> "${DESTDIR}/etc/fstab" ln -s /proc/mounts "${DESTDIR}/etc/mtab" # module-init-tools Still, that is not the problem cause. The problem occurs somewhere in or after `update-initramfs', in a copy operation. Downgrading to version 0.120 for now. -- Package-specific info: -- initramfs sizes -rw-r--r-- 1 root root 19M Dec 23 14:43 /boot/initrd.img-4.2.0-1-amd64 -rw-r--r-- 1 root root 20M Jan 23 10:57 /boot/initrd.img-4.3.0-1-amd64 -- /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-4.3.0-1-amd64 root=UUID=86271730-a611-4f51-a4d0-f0028b70b2ce ro cgroup_enable=memory swapaccount vga=795 ... -- /etc/initramfs-tools/modules -- /etc/kernel-img.conf # Kernel image management overrides # See kernel-img.conf(5) for details do_symlinks = yes do_bootloader = no do_initrd = yes link_in_boot = no -- /etc/initramfs-tools/initramfs.conf MODULES=most BUSYBOX=y KEYMAP=n COMPRESS=gzip DEVICE= NFSROOT=auto -- /etc/initramfs-tools/update-initramfs.conf update_initramfs=yes backup_initramfs=no -- mkinitramfs hooks /etc/initramfs-tools/hooks/: reiserfsprogs /usr/share/initramfs-tools/hooks: bootcdinitramfshook busybox cryptgnupg cryptkeyctl cryptopenct cryptopensc cryptpassdev cryptroot cryptroot-unlock dmsetup fsck fsprotect fuse keymap klibc kmod lvm2 mdadm ntfs_3g resume thermal udev v86d zz-busybox zz_nvidia-blacklists-nouveau -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages initramfs-tools depends on: ii busybox-static [busybox] 1:1.22.0-17 ii cpio 2.11+dfsg-4.1 ii klibc-utils 2.0.4-7 ii kmod 22-1 ii udev 228-4+b1 Versions of packages initramfs-tools recommends: ii busybox-static [busybox] 1:1.22.0-17 Versions of packages initramfs-tools suggests: ii bash-completion 1:2.1-4.2 -- no debconf information
--- End Message ---
--- Begin Message ---Source: initramfs-tools Source-Version: 0.123 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: Thu, 11 Feb 2016 02:13:23 +0000 Source: initramfs-tools Binary: initramfs-tools initramfs-tools-core Architecture: source Version: 0.123 Distribution: unstable Urgency: medium Maintainer: Debian kernel team <[email protected]> Changed-By: Ben Hutchings <[email protected]> Description: initramfs-tools - generic modular initramfs generator (automation) initramfs-tools-core - generic modular initramfs generator (core tools) Closes: 512679 588770 639876 767471 768913 792910 804071 807527 809206 809740 810154 812404 813229 814345 Changes: initramfs-tools (0.123) unstable; urgency=medium . [ Ben Hutchings ] * [3084929] debian/control: Remove redundant dependency on klibc-utils|busybox * [913a861] debian/control: Recommend the right busybox packages for the target distribution * [d4febbd] Remove busybox hook in favour of busybox's own (Closes: #810154) * [b5303a1] Update TODO for removal of busybox hook * [6cc3d85] hook-functions: Include any modular RTC drivers in the initramfs * [ceff05e] hooks/fsck: Stop setting e2fsck broken_system_clock option (Closes: #804071) * [9c105f0] Assume blkid is always installed, and remove fallbacks * [aaba4cb] hooks/fsck: Use get_fstype rather than blkid to probe filesystem type * [a8ed874] hooks/fsck: Always use get_fstype to probe type of root filesystem (Closes: #767471) * [e798629] Pass filesystem type from /etc/fstab to fsck when checking /usr * [55e075c] hook-functions: Include drivers for all keyboards when MODULES=dep (Closes: #639876) * [704bfa5] scripts/functions: Explicitly load keyboard drivers only at break=top * [c5b54ae] scripts/functions: Use more sensible modprobe options at break=top * [39e90c8] scripts/functions: Load more USB host controllers drivers on break=top * [8c437f5] scripts/functions: Load HID drivers at break=top * [619f2ca] scripts/functions: Connect panic shell to normal tty device (Closes: #512679) * [8b8b28c] hook-functions: Clean up split between dep_add_modules and dep_add_modules_mount * [5f34b94] hook-functions: Include modules for resume partition when MODULES=dep (Closes: #588770) * [31ab487] hook-functions: Stop force-loading drivers found through sysfs when MODULES=dep (Closes: #792910) * [07f2c88] kernel/postinst.d: Make test for update-initramfs consistent with invocation (Closes: #768913) * [e5476bf] copy_file: Skip duplicating symlink if it points to the target file (Closes: #812404) * [d0f4d06] initramfs-tools: Include empty /etc/initramfs-tools/conf.d directory (Closes: #809206) * [245d584] initramfs-tools.8: Update list of variables exported to hook scripts * [941429d] initramfs-tools.8: Add a new section for the general description of scripts * [3ff5d57] initramfs-tools.8: Add brief description of configuration hooks and files (Closes: #807527) * [c17a21a] Remove klibc hook in favour of klibc's own * [ea7e02d] bash-completion: Simplify by using _get_comp_words_by_ref * [9e23444] init: Use "case" rather than loop to look for "quiet" parameter * [49e4a05] init: Remove fallback from devtmpfs to tmpfs * [ab91306] init: Take over handling of rootdelay parameter from udev boot script (Closes: #809740) * [56dfe39] bash-completion: Rename our completion script so that it works again * [ac6d31f] mkinitramfs: Delete or report temporary files on failure (Closes: #814345) * [c8c932d] Move initramfs.conf around in maintainer scripts to avoid it being 'obsolete' (Closes: #813229) * [138af73] hook-functions: Dereference links when looking up block device number . [ Andy Whitcroft ] * [7774fa3] Don't display "Loading, please wait..." message when 'quiet' is in /proc/cmdline. * [c4ea209] Mount /dev with the default tmpfs size rather than sourcing udev.conf. * [b418ad4] Sync the mount options for /run from /lib/init/fstab (LP: #1152744) * [c44df0c] init: Mount /dev with "nosuid". Thanks to Daniel (LP: #1450960) Checksums-Sha1: 04ba47b72545885859efbd5c82c4a16abe1d31b5 1811 initramfs-tools_0.123.dsc 24be51cd493c96640e34d80ae164c0f855826eb7 84040 initramfs-tools_0.123.tar.xz Checksums-Sha256: 4472617459414c9402b654d4e2adb20c175c79f371adf6489c87af1a7e6e3606 1811 initramfs-tools_0.123.dsc 84f57262b3208b14d36a7758b24380a4c27475e5e1ef69868aaba22f98ea5ac8 84040 initramfs-tools_0.123.tar.xz Files: 499f42df5ff1573b9abab071e728227f 1811 utils optional initramfs-tools_0.123.dsc e181fd51440cb4b767524bdc95b25745 84040 utils optional initramfs-tools_0.123.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIVAwUBVrvxnue/yOyVhhEJAQrgjBAAihP2c3a/kP8NeNKOG2Z4q09U0vZqNSRW YR+I4EdAngQVfYgv96Cn8BH9c4pz7Cs3/LSKxoOzPMl055wuD2adLr5tugeFhqSv +wqoV/IIX9xsqE41iWCHS2lmlY4QPUqwz9D5cTnQBeF8Gc6e0UM5q6Nt7m4NBKho oYdiCSN8EG7ggWO5gpopOsLSl7J+Af8m/41uiuV6cQDwTU9sHUjQjFVGZ+1Z4h54 MPYyNnnDI9aFlK8/gs7iyyiJgxwangmmVaV8dbEwI6UGcAq6Xi6QeuNqRTeF7iGS dhtfeYZ+KJv7RjTnKSFSXLx9EDXFlC32oW2t8B+yTfiEuX4+x4vyalEaUCAxMOEy I9DkeH9VdBE/+vW08heYo9LznopqmWRj1uTyni2rQyAttsir9OToSQcRzrMMXEsR mfpneVvIbF9VVaCnN1kgenaukfTg41iCX6r7rpPPJGPHCn2QddUI1YjCuMCp4p8B GC5FPTdQCTbBQNVDF8jD0M94zUxzn/0LnUSke2feze4WZ7EKn43uEFgr0Vy6uoLz L9cMd3aBcN4938s7BBvvjpPsDJqgXCoJwPIrefXDANKnKSPCIHoEkyNix80BhbK/ rF2yDTtjsVlTwrs1KiMWsv7NiQMQKy402T7ZsjozvQjW336OlBg8cHT3hML/YSE0 +bYohGrV3i4= =6L3y -----END PGP SIGNATURE-----
--- End Message ---

