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