[Lxc-users] LXC Container Boot/Shutdown errors

Jäkel, Guido G.Jaekel at dnb.de
Thu Feb 24 12:29:55 UTC 2011


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?




More information about the lxc-users mailing list