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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



robert.rex@xxxxxxxxxx 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
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux