Hi all,

I found, that the *hosts*  devpts-filesystem is allowed to remounted read-only 
by the shutdown scripts of the client in a container

Before shutdown of the client:

        host # grep devpts /proc/mounts
        devpts /dev/pts devpts 
rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0


After shutdown of the client:

        host # grep devpts /proc/mounts
        devpts /dev/pts devpts 
ro,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0


The next start of a container will fail with something like

        lxc_conf - Read-only file system - failed to set mode '020600' to 
'/dev/pts/5'


After applying an

        host # mount -o remount,rw /dev/pts

the container will be able to startup again.


@Daniel: Is this a issue in lxc using no the appropriate mount options o is it 
a bug in the kernel?

------------------------------------------------------------------------------
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