[Bug 10346] Default shell missing

bugzilla at busybox.net bugzilla at busybox.net
Wed Oct 4 12:09:15 UTC 2017


https://bugs.busybox.net/show_bug.cgi?id=10346

--- Comment #2 from Andrej Valek <andrej.valek at siemens.com> ---
(In reply to Denys Vlasenko from comment #1)
I will try to explain it more properly. This method is used in openmebeded.

process for reproduction
make busybox.cfg.suid - creates busybox.cfg.suid
make busybox.cfg.nosuid - busybox.cfg.nosuid

Each of configuration is run over with make oldconfig. It means that suid
configuration has no shell, so ASH is automatically selected like a default. In
nosuid configuration is ASH set.

Previous version selected CONFIG_SH_IS_NONE=y because of default.

This causes:
- /bin/sh in both suid and nosuid version (and obviously we don't want suid
/bin/sh)
- suid version does have ash, however it is not set as default interpreter

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list