[Bug 12199] /proc/1/exe entry of PID namespace init process links to wrong executable

Eric W. Biederman ebiederm at xmission.com
Sun Dec 14 23:44:59 PST 2008


robert.rex at exasol.com writes:

> Thanks for your analysis! That sounds reasonable (I didn't recognize the use of
> CLONE_NEWNS - just pasting from the examples ;-) - but I needed it to mount a
> proc filesystem in the new PID namespace while using the other one
> "outside"). So, I may not count on the /proc/{PID}/exe link anymore in such
> cases as far as I see.

Just setup the mount namespace instead of setting up a chroot and all will be well.

Eric


More information about the Containers mailing list