Hi Serge,

>> Yes, I see what you mean, but this is definitely a change in the
>> behaviour of the kernel compared to previous versions. And that
>> also means that (see other thread) bind-mounting a rootfs onto
>> itself will not prevent a container from remounting the filesystem
>> readonly on shutdown.
>
> True, but (despite my having forgotten this in the earlier parts of
> this thread) that *should* always have been the case.  I distinctly
> remember being disappointed a few years ago about it.

No, previously, the kernel has behaved differently. As I said,
on my 3.2 and 2.6.32 a mount -o remount,ro /bindmount without
the bind option would only change the bind mount and not the
entire filesystem. That definitely changed somewhere in
between 3.2 and 3.8.

-- Christian


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to