[Bug 10346] New: Default shell missing

bugzilla at busybox.net bugzilla at busybox.net
Tue Sep 26 10:37:29 UTC 2017


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

            Bug ID: 10346
           Summary: Default shell missing
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: andrej.valek at siemens.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

When .config consists:
# CONFIG_ASH is not set
# CONFIG_HUSH is not set
# CONFIG_SH_IS_ASH is not set
# CONFIG_SH_IS_HUSH is not set
# CONFIG_SH_IS_NONE is not set

"make oldconfig" will automatically select ASH as default shell (default
SH_IS_ASH).
Commit
https://git.busybox.net/busybox/commit/shell/Config.src?id=0b8835861b2e43cb45becdb560877bcc89aea827
removed dependency on ASH | HUSH. Previous versions had dependencies to these
options, so when ASH|HUSH option has not been selected, last option was
CONFIG_SH_IS_NONE.

This makes problem with suid/nosuid split. It will automatically add "/bin/sh"
into busybox.cfg.suid > busybox.links.suid . It means that /bin/sh wants to
link to both busybox.suid and busybox.nosuid and when suid wins, default shell
is undefined.

Option CONFIG_SH_IS_NONE=y needs to created in busybox.cfg.suid .

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


More information about the busybox-cvs mailing list