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

Bug 387555

Summary: sys-apps/busybox: Default config should add/build "command"
Product: Gentoo Linux Reporter: Ortwin Glueck <odi>
Component: [OLD] Core systemAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ortwin Glueck 2011-10-18 15:39:55 UTC
runscript.sh does not work with /bin/sh from busybox (ash). It fails because ash does not support the "command" command. I think the script expects to be run with bash. So it should either be fixed to be compatible with POSIX shells or require bash.

Reproduce:
1. ln -s /bin/busybox /bin/sh
2. run some init script
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2011-10-18 15:56:14 UTC
"command" is defined in POSIX. See man 1p command.

So the busybox guys should enable this in the default gentoo config instead.
Not a OpenRC bug.

Feel free to CC openrc@gentoo.org if you think there's more that we (openrc) can do.
Comment 2 SpanKY gentoo-dev 2011-10-18 20:17:29 UTC
should be all set now in the tree; thanks for the report!

Commit message: Undo nommu and rebuild config to get all the ash features enabled by default
http://sources.gentoo.org/sys-apps/busybox/busybox-1.19.2-r1.ebuild?rev=1.1
http://sources.gentoo.org/sys-apps/busybox/files/busybox-1.19.2-tftp.patch?rev=1.1