Kelly Gibson <[email protected]> writes:

> Unless I misunderstand this, it seems to me that there should be a way to
> designate that some of the file systems listed in [guest].fstab should not
> be remounted in read-only mode during a shutdown.

I address this by denying mount privileges to the container
(i.e. lxc.cap.drop = sys_admin).  You might also do it by patching the
container's shutdown scripts, or by making mount(8) a symlink to true(1)
which would still allow you to call the real mount inside the container
as needed.


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to