halt and poweroff are hard-links: $ ls -alh /usr/lib/klibc/bin/ -i | grep -E 'halt|poweroff' 88867147 -rwxr-xr-x 3 root root 8,9K Mai 21 10:39 halt 88867147 -rwxr-xr-x 3 root root 8,9K Mai 21 10:39 poweroff
But those files are not hard-links in the initrd any more. This is caused by copying it to a temporary directory. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/2028571 Title: initramfs/klibc-utils contains identical binaries Status in initramfs-tools package in Ubuntu: Triaged Status in klibc package in Ubuntu: Fix Released Bug description: ``` $ jdupes -r /usr/lib/klibc/bin Scanning: 38 files, 1 items (in 1 specified) /usr/lib/klibc/bin/gunzip /usr/lib/klibc/bin/gzip /usr/lib/klibc/bin/zcat /usr/lib/klibc/bin/halt /usr/lib/klibc/bin/poweroff /usr/lib/klibc/bin/reboot ``` Please replace these binaries with symlinks to reduce the size of the uncompressed initramfs. ProblemType: Bug DistroRelease: Ubuntu 23.04 Package: klibc-utils 2.0.12-1 ProcVersionSignature: Ubuntu 6.2.0-25.25-generic 6.2.13 Uname: Linux 6.2.0-25-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.26.1-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: Unity:Unity7:ubuntu Date: Mon Jul 24 21:14:36 2023 Dependencies: libklibc 2.0.12-1 InstallationDate: Installed on 2022-03-20 (491 days ago) InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012) SourcePackage: klibc UpgradeStatus: Upgraded to lunar on 2023-04-20 (95 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2028571/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

