[Lxc-users] (no subject)
Serge E. Hallyn
serge.hallyn at canonical.com
Wed Sep 15 23:25:36 UTC 2010
Quoting Daniel Lezcano (daniel.lezcano at free.fr):
> However, I am curious to understand why a remount as read-only is
> propagated in all the system as we are running in our own mount
> namespace. I will ask to the kernel mailing list ...
I haven't closely followed this thread, but I'd guess that his
root is mnt_shared. Can confirm by doing 'grep shared /proc/self/mountinfo'
Private mount namespace doesn't stop that. So if it doesn't already, lxc
should probably (optionally?) do a
mount --make-rslave $lxc_root
after creating it's tmpfs rootfs or pivot_rooting.
(Or, I could be completely wrong :)
-serge
More information about the lxc-users
mailing list