[lxc-devel] mount ro in guest change host filesystem to ro

Nico parpandet at gmail.com
Fri Sep 2 07:52:07 UTC 2011


>>
>> Argh ! I still don't understand how that can happen with a CLONE_NEWNS
>> and a pivot_root.
>> Do you have particular mount options on your host's rootfs ?
>
> In order for guest remount to NOT influence host mount, you have to
> give -o bind option to mount inside guest.  If you don't specify
> MS_BIND with MS_REMOUNT, the remount applies to _host_ mountpoint,
> not guest.
>
> This has been discussed several times on irc.

This depends on an option _inside_ the guest !!!,
I cannot believe it !, is it planned to be modified soon ? there will
be never vps on lxc if not
corrected.

>
> /mjt
>




More information about the lxc-devel mailing list