[lxc-devel] LXC_DIRECTORY remounted read-only

Serge Hallyn serge.hallyn at ubuntu.com
Mon Aug 26 11:41:18 UTC 2013


Quoting Harald Dunkel (harri at afaics.de):
> Hi folks,
> 
> seems that on the exit of the last container the
> partition providing the ${LXC_DIRECTORY} is remounted
> read-only, ignoring /etc/fstab or other users working
> on /export. (/var/lib/lxc is a symlink pointing to
> /export/lxc.)
> 
> It would be very nice to have a config option in
> /etc/default/lxc to turn this off.
> 
> lxc is version cb0c6c020314ee0fea0ce30d209711f7e9c29aaa
> on the staging branch.

Lxc should be creating a $lxcpath/$lxcname/rootfs.hold and
keeping that open for write, which should prevent the
remount -o ro.  Does that file exist in your case?  Which
filesystem is mounted on /export/lxc?

-serge




More information about the lxc-devel mailing list