Your message dated Sun, 02 Mar 2025 21:18:17 +0000 with message-id <E1toqhV-00BAAn-E8@fasolo.debian.org> and subject line Bug#1082647: fixed in initramfs-tools 0.146 has caused the Debian Bug report #1082647, regarding copy_exec: [regression] ignores trailing slash, installs file as directory name 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 owner@bugs.debian.org immediately.) -- 1082647: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082647 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: copy_exec: [regression] ignores trailing slash, installs file as directory name
- From: Thorsten Glaser <tg@mirbsd.de>
- Date: Tue, 24 Sep 2024 02:46:42 +0200
- Message-id: <172713880279.3633.3012037699152941732.reportbug@loch.mirbsd.org>
Package: initramfs-tools-core Version: 0.142+deb12u1 Severity: serious Justification: hidden breakage for users, ought to be fixed in stable-pu X-Debbugs-Cc: tg@mirbsd.de In bullseye, this would work: copy_exec /usr/lib/klibc/bin/rnd_shuf /usr/libexec/ copy_exec /usr/sbin/rdate /usr/libexec/ In bookworm, the first line instead of copying the file rnd_shuf to /usr/libexec/rnd_shuf it copies it to /usr/libexec and the second does no better. Incidentally… copy_exec /usr/lib/klibc/bin/rnd_shuf /usr/libexec/ copy_exec /usr/sbin/rdate /usr/libexec/rdate … makes the second line fail: mkdir: cannot create directory ‘/var/tmp/mkinitramfs_eQ7nC7//usr/libexec’: File exists So copy_exec clearly still i̲s̲ capable of creating missing intermediate directories, but something made it stop honouring trailing slashes. I wonder what else, other than my script to enable the network interface, get the clocktime, and disable it again, on an RPi that has no RTC, will break on users’ systems from this. This really needs to be fixed in stable-pu. -- System Information: Debian Release: 12.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'stable') Architecture: armel (armv6l) Kernel: Linux 6.1.0-25-rpi (UP) Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/lksh Init: sysvinit (via /sbin/init) Versions of packages initramfs-tools-core depends on: ii coreutils 9.1-1 ii cpio 2.13+dfsg-7.1 ii e2fsprogs 1.47.0-2 ii klibc-utils 2.0.12-1 ii kmod 30+20221128-1 ii logsave 1.47.0-2 ii udev 252.30-1~deb12u2 Versions of packages initramfs-tools-core recommends: ii busybox 1:1.35.0-4+b3 ii zstd 1.5.4+dfsg2-5 Versions of packages initramfs-tools-core suggests: pn bash-completion <none> -- Configuration Files: /etc/initramfs-tools/initramfs.conf changed: MODULES=dep BUSYBOX=auto KEYMAP=n COMPRESS=zstd DEVICE= NFSROOT=auto RUNSIZE=10% FSTYPE=auto -- no debconf information
--- End Message ---
--- Begin Message ---
- To: 1082647-close@bugs.debian.org
- Subject: Bug#1082647: fixed in initramfs-tools 0.146
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Sun, 02 Mar 2025 21:18:17 +0000
- Message-id: <E1toqhV-00BAAn-E8@fasolo.debian.org>
- Reply-to: Ben Hutchings <benh@debian.org>
Source: initramfs-tools Source-Version: 0.146 Done: Ben Hutchings <benh@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 1082647@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Ben Hutchings <benh@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 ftpmaster@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 <benh@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-----Attachment: pgpDQqC8hOWPj.pgp
Description: PGP signature
--- End Message ---