[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Search $PATH failure?
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2011-12-20 5:11:58
Message-ID: 201112200611.58300.vda.linux () googlemail ! com
[Download RAW message or body]

On Monday 05 December 2011 05:22, Bart Kus wrote:
> On 12/4/2011 5:55 PM, Denys Vlasenko wrote:
> > On Friday 02 December 2011 05:45, Bart Kus wrote:
> >> jo tmp # PATH=/bin:/usr/bin /usr/bin/chroot ram bin/busybox ash
> >> / # echo $PATH
> >> /bin:/usr/bin
> >> / # uname
> >> ash: uname: not found
> >> / #
> >>
> >
> > I can't reproduce it with your .config - for me, uname runs just fine
> > in the setup similar to those shown above.
> >
> > Can you post the strace of the attempt to execute "uname" in ash?
> >
> 
> This was found to be the lack of a /proc mount (/proc/self/exe not 
> avail) and the CONFIG_FEATURE_PREFER_APPLETS was set.

Thanks! Here's the fix:

http://git.busybox.net/busybox/commit/?id=83f103b30e41ab038e45661df97625f655abe491


-- 
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic