[lxc-devel] link /dev/kmsg to /dev/console in the container

Serge Hallyn serge.hallyn at canonical.com
Mon Nov 26 17:28:12 UTC 2012


Quoting William Dauchy (wdauchy at gmail.com):
> Hello,
> 
> I tried to update from lxc-0.8-rc2 to lxc-0.8.
> 
> I don't understand this commit: 1bd051a
> link /dev/kmsg to /dev/console in the container
> 
> I don't see why lxc is doing this job. I'm using a read only rootfs
> with an additional rw disk (e.g for the console); so the start is now
> broken because it can't setup kmsg.
> 
> What solution do we have? I really dont' think it's lxc's job to do this.

No, it's the kernel's.  Patch for that is however not yet ready.

Failure to set up kmsg should not fail container startup.  Commit
f62b344996937459ae5f31b0358cb440ddde421f fixed that, but that is
apparenly not in 0.8.0.  You can fetch it from git://github.com/lxc/lxc.git
staging branch.

-serge




More information about the lxc-devel mailing list