Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 537364

Summary: sys-apps/busybox: Add use flag to toggle CONFIG_SH_STANDALONE
Product: Gentoo Linux Reporter: Mike Gilbert <floppym>
Component: Current packagesAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED WONTFIX    
Severity: normal CC: Andreas.Klauer, jarausch, jekarlson, markknecht
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=525586
https://bugs.gentoo.org/show_bug.cgi?id=536988
https://bugs.gentoo.org/show_bug.cgi?id=526008
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild patch

Description Mike Gilbert gentoo-dev 2015-01-22 16:19:55 UTC
It seems there is some demand for this.

http://www.busybox.net/FAQ.html#standalone_shell

https://bugs.gentoo.org/show_bug.cgi?id=525586#c4
Comment 1 Mike Gilbert gentoo-dev 2015-01-22 16:49:12 UTC
Created attachment 394636 [details, diff]
Ebuild patch
Comment 2 Andreas Klauer 2015-01-22 17:11:32 UTC
see also https://bugs.gentoo.org/show_bug.cgi?id=501092#c3 - that was about removal of ar, which you now (inadvertently?) removed, along with tune2fs, mkfs.reiser, uncompress, fdisk support for GPT partitions, ...

I still don't see how the change of one setting ( TFTP Debug as requested in #525586 ) turned into a change of 100 settings. 

The FAQ seems horribly outdated to me, by the way. Mounting /proc works just fine.

Gentoo's busybox used to be great. Please reconsider.
Comment 3 Mike Gilbert gentoo-dev 2015-01-22 17:30:26 UTC
(In reply to Andreas Klauer from comment #2)
> Gentoo's busybox used to be great. Please reconsider.

If you need to customize it, there is always the savedconfig feature.
Comment 4 emil karlson 2015-01-22 21:07:59 UTC
If you consider reverting to the allyesconfig, I would at least like to know why and consult upstream about it. And by what I mean which configuration options in busybox.

I hope adding this will cover most use cases.
Comment 5 SpanKY gentoo-dev 2015-02-15 08:13:29 UTC
the default busybox build is designed to give you a rescue shell.  the standalone shell feature is fairly critical to that, hence it is enabled by default.  if you want to disable this feature, then use savedconfig to do so.

i'm not sure how the referenced bugs show that there is sufficient demand to warrant turning it off by default.