[BusyBox] trouble running applets in /sbin

Matthew Cline matthew.cline at gmail.com
Mon Jun 27 01:47:50 UTC 2005


I've tried running the commands from all over the filesystem, no luck.

I had just a quick thought... I'm running this busybox-based system
from tmpfs. Is there any reason why tmpfs would mess up the symlinks?


Matt

On 6/25/05, Jason Schoon <floydpink at gmail.com> wrote:
> You're not running as root, and trying to run them while in the sbin
> directory are you?  You would of course have to do a ./lsmod in that case.
>  
>  Just a thought...
> 
> 
> On 6/25/05, Matthew Cline <matthew.cline at gmail.com> wrote:
> > 
> > I just recently joined this list, so I apologize if this question has
> > been asked before. I did try a search of the list archives but could
> > not find an answer to my question.
> > 
> > For some reason, I am having difficulty accessing the applets that are 
> > placed in /sbin. If I run them directly from busybox, ie:
> > 
> > # /bin/busybox lsmod
> > 
> > then they work. However, if I try to run the command itself, ie:
> > 
> > # lsmod
> > 
> > then it does not work.  In fact, the shell doesn't see the command at 
> > all, as tab-completion does not work to find the commands. I've
> > checked my $PATH is correct, I've checked that the permissions on
> > /sbin are correct, I've check that the /sbin/lsmod symlink points to
> > /bin/busybox. I can run other programs in /sbin just fine. 
> > 
> > I don't even know if this is an issue with busybox or something else
> entirely.
> > 
> > Thank you in advance,
> > 
> > Matt
> > _______________________________________________
> > busybox mailing list
> > busybox at mail.busybox.net
> > http://busybox.net/mailman/listinfo/busybox
> > 
> 
>



More information about the busybox mailing list