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

Daniel Lezcano daniel.lezcano at free.fr
Fri Nov 26 09:07:01 UTC 2010


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).




More information about the lxc-users mailing list