[re]Bug in busybox base applet?

Rob Landley rob at landley.net
Thu Sep 1 09:24:03 UTC 2005


On Thursday 01 September 2005 03:30, Dirk Clemens wrote:
> I would to anser to the message
> http://www.busybox.net/lists/busybox/2005-August/015702.html
> of Rob. Because I have subscribed the list only a few minutes
> ago I'm only able to post a new thread.
> Sorry.
>
>
> I have thougth about Robs remarks and have 2 solutions:
>
> 1.)
> busybox knows allways all possible applets it may support.
> All calls with non implemented applet names generates an
> error message: "applet xxx is not compiled into busybox".

SVN changeset 11310.

What it actually says is "xxx: applet not found."

> 2.)
> A more restrictive solution:
>
> The main busybox applet is only called, when the name begins
> with 'busybox'.

Yup, that's what I did.

> Because of this, busybox names like 'busybox1' 
> or 'busybox-new' works well and we have not unwanted results
> if busybox called with something like 'ls rm -r /'.

You can call busybox whatever you like, you just have to point symlinks at it 
if you want useful behavior out of an executable called something other than 
"busybox".  (Normal users can do this.)

Rob



More information about the busybox mailing list