[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#823323: busybox: Side effect after disabling CONFIG_FEATURE_PREFER_APPLETS



Hi Ben,
On 05/04/2016 04:26 AM, Ben Hutchings wrote:
> /bin/ls should be a symlink to busybox. Why isn't it?
OK, I found apparently it's due to the hook file from klibc-utils:
/usr/share/initramfs-tools/hooks/klibc-utils
It copies all files from /usr/lib/klibc/bin/ to /bin/ in initramfs, and
it contains the file "ls":
# ls -l /usr/lib/klibc/bin/ls
-rwxr-xr-x 1 root root 2716 Feb 11 00:38 /usr/lib/klibc/bin/ls
That's why /bin/ls is not a symlink to busybox.

A related bug was just reported:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823400

Steven

-- 
Steven Shiau <steven _at_ stevenshiau org>
Public Key Server PGP Key ID: 4096R/47CF935C
Fingerprint: 0240 1FEB 695D 7112 62F0  8796 11C1 12DA 47CF 935C


Reply to: