On Tue, Feb 07, 2017 at 03:34:46PM -0500, Mike Gilbert wrote
> On Tue, Feb 7, 2017 at 3:08 PM, Rich Freeman <ri...@gentoo.org> wrote:
> > I suspect sticking something like this before the chroot command might
> > do the trick:
> > unshare -p -f --mount-proc -m -i -u
> >
> > That will create a new PID, mount, IPC, and UTS namespace for the
> > chroot.
> 
> Using unshare may require another kernel config change. The following
> options must be enabled for that unshare command to work:
> 
> CONFIG_NAMESPACES
> CONFIG_UTS_NS
> CONFIG_IPC_NS
> CONFIG_PID_NS

  Thanks Mike and Rich.  It looks like my kernel is already properly set
up.  "Namespaces support" is forced on in "make menuconfig"

-*- Namespaces support  --->
    --- Namespaces support
    [*]   UTS namespace
    -*-   IPC namespace
    [ ]   User namespace
    [*]   PID Namespaces
    -*-   Network namespace

-- 
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to