Re: service causes ps errors in chroot

2012-04-25 Thread rank1seeker
- Original Message - From: Andrey Zonov 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

Re: service causes ps errors in chroot

2012-04-22 Thread Andrey Zonov
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

service causes ps errors in chroot

2012-04-22 Thread rank1seeker
When I use '/usr/sbin/service' in chroot, it outputs: ps: empty file: Invalid argument OR ps: cannot read IdlePTD But it does work. Domagoj Smolčić ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hacker