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

List:       busybox
Subject:    Re: ash applet and other applets
From:       William Thompson <wt () electro-mechanical ! com>
Date:       2007-05-23 11:27:16
Message-ID: 20070523112716.GA22197 () electro-mechanical ! com
[Download RAW message or body]

On Tue, May 22, 2007 at 10:44:12PM +0200, Denis Vlasenko wrote:
> On Tuesday 22 May 2007 13:43, William Thompson wrote:
> > On Mon, May 21, 2007 at 04:26:52PM -0400, Mike Frysinger wrote:
> > > On 5/21/07, William Thompson <wt@electro-mechanical.com> wrote:
> > > >CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
> > > 
> > > did you forget to mount /proc ?
> > 
> > Actually, since mount was one of those programs, /proc was unmountable.  I
> > suppose I could have called busybox mount instead of just mount but I wanted
> > this to work.
> 
> I think the idea is to mount /proc BEFORE chrooting in.

The chroot was just the test, the actual system uses an init script ran by
busybox's ash.  Therefor /proc was not mounted.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

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