----- Original Message ----- From: Andrey Zonov <and...@zonov.org> To: rank1see...@gmail.com Cc: hack...@freebsd.org Date: Mon, 23 Apr 2012 10:36:23 +0400 Subject: Re: service causes ps errors in chroot
> On 4/22/12 4:07 PM, rank1see...@gmail.com wrote: > > When I use '/usr/sbin/service' in chroot, it outputs: > > ps: empty file: Invalid argument > > OR > > ps: cannot read IdlePTD > > > > But it does work. > > > > I think you need devfs in your chroot. Try this: > > mount -t devfs devfs /path/to/chroot/dev > > > -- > Andrey Zonov > Today I tried to recreate/reproduce this, but nada. Without devfs mounted inside of DESTDIR. I don't know what happened? 'service' was supposed to be completely shell bassed, so I've was puzzled with 'ps' output. _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"