Your message dated Sun, 02 Mar 2025 21:18:17 +0000
with message-id <e1toqhv-00baas...@fasolo.debian.org>
and subject line Bug#1088959: fixed in initramfs-tools 0.146
has caused the Debian Bug report #1088959,
regarding initramfs-tools: copy_exec copies file as symlink to the wrong binary
instead
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.)
--
1088959: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088959
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.142+deb12u1
Severity: important
Dear Maintainer,
I have this line in one of my initramfs-hooks:
copy_exec /sbin/losetup /sbin/losetup.util-linux
Because I require the util-linux losetup. This worked fine until I
recently upgraded. After the upgrade and regenerating the initrd, the
system became unbootable, because the result was this, according to
lsinitramfs -l:
usr/sbin/losetup.util-linux -> losetup
i.e. instead of copying the file, it created a symlink to a completely
unrelated file, namely the losetup utility from busybox or klibc, which made the
system unbootable, and, of course, quite hard to recover from with the
limited utilities in the initramfs.
My /usr/sbin/losetup file (merged usr) is indeed the file form util-linux,
and not a symlink, which suggests that something is seriously broken
in the copy_exec function. To further verify this, I adde4d a ls -l
$DESTDIR/sbin/losetup.util-linux directly after the copy_exec, and indeed,
it was a symlink, so copy_exec is the culprit.
I removed most of the automatically-generated details in this report
because I wrote it on another system, but will supply any missing details
required to track this down.
busybox-static is installed, and initramfs-tools's BUSYBOX is set to "y".
--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.146
Done: Ben Hutchings <b...@debian.org>
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 1088...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ben Hutchings <b...@debian.org> (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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 02 Mar 2025 17:46:36 +0100
Source: initramfs-tools
Architecture: source
Version: 0.146
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <b...@debian.org>
Closes: 1082647 1088959
Changes:
initramfs-tools (0.146) unstable; urgency=medium
.
[ Alper Nebi Yasak ]
* [6487f6e] hook-functions: Add soc and extcon drivers
* [99bea09] hook-functions: Add rpmsg and hwspinlock drivers
* [7d1c4b4] hook-functions: Add interconnect drivers
* [cf40492] hook-functions: Add mailbox drivers
* [6caf9cd] hook-functions: Add memory drivers
* [82c266d] hook-functions: Add nvmem drivers
* [6269d10] hook-functions: Add power modules
* [ee89884] hook-functions: Add spmi modules
* [4410741] hook-functions: Add qrtr driver
* [56e9fd6] hook-functions: Add devfreq drivers
* [2eb8e0e] hook-functions: Add dma drivers
* [91a439b] hook-functions: Add watchdog drivers
* [ada64b7] hook-functions: Add usb/typec drivers
* [cb730ef] hook-functions: Add tty/serial drivers
* [7033153] hook-functions: Add input/serio drivers
* [c8a24d8] hook-functions: Add platform/chrome drivers
* [bc902ab] hook-functions: Handle msm hidden depency on qrtr
* [508c23b] hook-functions: Add msm to fb modules list
.
[ Dmitry Baryshkov ]
* [7328860] hook-functions: add missing module dependencies for Qualcomm
plaforms
.
[ Ben Hutchings ]
* [140c572] hook-functions: Expand documentation of copy_exec and
copy_file
* [765db02] hook-functions: Restore copy_file's handling of target
ending in slash (Closes: #1082647)
* [d5c2430] hook-functions: Exclude usr-merge symlinks in copy_file
(Closes: #1088959)
* [6adf789] autopkgtest: Add tests for copy_file function
* [59d8726] functions: Define list_filter_out function for filtering
comma-sep lists
* [c1ad6a5] init: Filter 'tmpfs' out of $ROOTFSTYPE
* [10bcd21] tests: Add e2fsprogs to dependencies
.
[ Benjamin Drung ]
* [81fd41f] Put compressed kernel modules and firmware in an
uncompressed cpio (LP: #2028567)
* [cb06181] unmkinitramfs: use directory names 'cpio1', 'cpio2', etc.
* [fb0b40d] Declare breaking miniramfs 1.0.2 and older
* [137d8a9] Drop obsolete shellcheck overrides
* [cc661aa] Filter net kernel modules by symbol regexp from dracut (LP:
#2031841)
* [687cff2] Explicitly call "set -e" instead of specifying on shebang
* [5eda205] netinfo_to_resolv_conf: clear variables between sourcing
* [b55854d] netinfo_to_resolv_conf: add net_file to local variables
* [df2b4b3] hook-functions: make copy_libgcc to not take any parameters
(LP: #2085157)
* [370b433] test: log commands that produce output on stdout
* [ddec7a3] Mark debian/tests/test-common as sh script
* [9333111] tests: fix shellcheck warning "Declare and assign separately
to ..."
* [db53479] tests: Replace 'echo -n' by printf
* [08ec63c] tests: fix shellcheck warning "variable appears unused"
* [32630e9] tests: fix shellcheck info "read without -r will mangle
backslashes"
* [2c746f1] test: make prepare_network_dumping_rootfs take no parameters
* [84115f9] test: silence incorrect shellcheck SC2119
* [a83ddc2] test: fix checking output / initrd content
* [3ad3f72] d/salsa-ci.yml: include tests in shellcheck
.
[ Jeffery To ]
* [7b10938] Fix resume device type check
Checksums-Sha1:
4b40eb8db201d63e45af330d34ca260ea441dfde 2003 initramfs-tools_0.146.dsc
1b21a19a526ef3ed6370912a8b12541130c0f011 108256 initramfs-tools_0.146.tar.xz
52285c037d98db27eca75e5f75258e7d91a697b4 5756
initramfs-tools_0.146_amd64.buildinfo
Checksums-Sha256:
a035b1466a33d8cc67f3e81480dd26c3f7a657dfdc3c7c84c62bf8bb77249bfd 2003
initramfs-tools_0.146.dsc
ef4f671b1abe1fb5003a2473e359596b318cdab6421f55b45cde3c2b5e3e2bdc 108256
initramfs-tools_0.146.tar.xz
cd7c23b5003793371c084bab1e4563774792a37e6e168247e2fd0772c1355edc 5756
initramfs-tools_0.146_amd64.buildinfo
Files:
47703af704e39b8d25c21ee69f14b59c 2003 utils optional initramfs-tools_0.146.dsc
b5d165bfd38b859643a003990173e881 108256 utils optional
initramfs-tools_0.146.tar.xz
154da2650c1ce68d25dafab759aa5bb2 5756 utils optional
initramfs-tools_0.146_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmfEuz8ACgkQ57/I7JWG
EQkv6BAArbCxOi3RzGrzoDJrmUdmJnrsfnsV56e8aMtxf/ssJN10pfWQw7SB/d1l
Vm3yAAnWu4VveGLrNIuykT11ST9PD6cAb38ZU7T0RjkM2ELn+GJghKu/vtk/hpAc
OYr2gpBQyEak25xAGIWVsQOzVyXtwmQy/wtS0YoH9LIl+KBiC50LuqgIZW/ZDF3S
fxiUapcaiEs03H1+Pacy6qG/9WpBUwDldpuLOGTcUAQTqCcvwzXHSfLZRzOnqpiT
LOQrwO3T/q1Ql5pmwvgJdpJjrWOX/sSk6q4b1mJWLCx65kdx3c+IsT5kEwN9kNXt
FSqCohcILlPcvCJ+GP4T8Z/juYguBnXeyLoEnDLyGbEjnTfCFkf+wH4nmCIT1efD
7CzooUMW32L9HKbbx2cbjRnWQvwKOT6lEUroSrHpbIbHnY7qgc0HMojkJS6Tew9J
z9nC/wmRyI+W4iZ7gdQfqIdKwAbVj7JjAj2k8EbBKDRDr3Wt/GBZ+DmppjvQhe0q
yhHbbCgQ136kcvbXQCWc2r6GFwu887mCTdSQnFwBBRwy81tdoQjGqvkGLCZqXoFO
HyROS4yc0mE64WOuP1kfToZAIBl1u/SWQTIkMdV/YZmnv1Es4TfaN3U2+Q4eBH2k
T0Ld5lfo1YP0oUNnAUc01eWRl++0LBCi2DBoOH81d+eDfVFdn2s=
=rIO/
-----END PGP SIGNATURE-----
pgppTZ0MY5NOr.pgp
Description: PGP signature
--- End Message ---