[Lxc-users] Container remounts ro an host's mount

Alessandro Guido ag at alessandroguido.name
Thu Nov 25 17:05:10 UTC 2010


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.





More information about the lxc-users mailing list