Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387555 - sys-apps/busybox: Default config should add/build "command"
Summary: sys-apps/busybox: Default config should add/build "command"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 15:39 UTC by Ortwin Glueck
Modified: 2011-10-18 20:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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