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

Bug#823323: busybox: Side effect after disabling CONFIG_FEATURE_PREFER_APPLETS




On 5/4/2016 AM 04:26, Ben Hutchings wrote:

On 3 May 2016 15:27:07 CEST, Steven Shiau <steven@nchc.org.tw> wrote:
Package: busybox
Version: 1:1.22.0-19
Severity: important

Dear Maintainer,

To address the issue about kmod's modprobe in busybox (#821307), the
CONFIG_FEATURE_PREFER_APPLETS is disabled in busybox 1:1.22.0-19.
However, this causes some issues for live-boot. There are some commands
in
the shell script use the options that the commands from kmod do not
support.
I guess you mean klibc-utils not kmod?
Oh, YES. My bad. Thanks for correcting that.

E.g. now when "ls" is used, the one from kmod is used. However, it only
supports option "-h":
$ bin/ls -h
Usage: ls [-h] [FILE ...]
[...]

/bin/ls should be a symlink to busybox. Why isn't it?
No idea here. Is it due to the config of initramfs-tools? There are some more files in initrd.img in the Debian live are from klibc-utils:
# file * | grep klibc | awk -F":" '{print $1}'
cat
chroot
cpio
dd
dmesg
false
fstype
halt
ipconfig
kill
ln
losetup
ls
minips
mkdir
mkfifo
mknod
mount
mv
nfsmount
nuke
pivot_root
poweroff
readlink
reboot
resume
run-init
sleep
sync
true
umount
uname

While the rest are busybox, e.g. df, cut...
Thanks.

Steven


Ben.

--
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: