Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2012 10:36:23 +0400
From:      Andrey Zonov <andrey@zonov.org>
To:        rank1seeker@gmail.com
Cc:        hackers@freebsd.org
Subject:   Re: service causes ps errors in chroot
Message-ID:  <4F94F867.50703@zonov.org>
In-Reply-To: <20120422.120742.857.2@DOMY-PC>
References:  <20120422.120742.857.2@DOMY-PC>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/22/12 4:07 PM, rank1seeker@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F94F867.50703>