[lxc-devel] [ lxc-Bugs-2992198 ] ro flag not preserved for rootfs

SourceForge.net noreply at sourceforge.net
Mon Mar 7 01:01:07 UTC 2011


Bugs item #2992198, was opened at 2010-04-26 10:28
Message generated for change (Settings changed) made by dlezcano
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=826303&aid=2992198&group_id=163076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: liblxc
Group: None
Status: Open
>Resolution: Remind
Priority: 5
Private: No
Submitted By: Tefnet (ekatalog)
>Assigned to: Daniel Lezcano (dlezcano)
Summary: ro flag not preserved for rootfs

Initial Comment:
Setting root directory options to bind,ro in lxc.mount.entry results in a writable rootfs.

This is caused by https://bugzilla.kernel.org/show_bug.cgi?id=15739

Attached patch causes setup_rootfs() to check for readonly flag on the rootfs directory and apply it to mount options if needed.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=826303&aid=2992198&group_id=163076




More information about the lxc-devel mailing list