Quoting Daniel Lezcano (daniel.lezc...@free.fr): > On 11/25/2010 06:05 PM, Alessandro Guido wrote: > > After further investigation, I noticed that the remount only happens > > when nothing keeps the host's mount point busy. > > > > So, launching the container with > > "lxc-start -l DEBUG -o /var/lib/lxc/php4/log -n php4" > > keeps the /var/lib/lxc mount point busy and the container > > fails to remount its / read-only during shutdown. > > > > While, starting the container with "lxc-start -n php4" allows the > > container to succeed and remount its / (and thus host's /var/lib/lxc) > > read-only. > > > > I am wondering if it is logical a private mount namespace is able to > remount one of the host. It is likely a missing functionality in the > kernel (I don't think it is a bug).
I suspect the host's fs is MNT_SHARED. Can you cat /proc/1/mountinfo? -serge ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users