[lxc-devel] [PATCH 1/1] Description: run MAKEDEV console when doing lxc.autodev

Serge Hallyn serge.hallyn at canonical.com
Thu Nov 29 17:13:49 UTC 2012


Quoting Stéphane Graber (stgraber at ubuntu.com):
> On 11/29/2012 11:50 AM, Serge Hallyn wrote:
> > mounted-dev.conf won't be running that in container's userspace as it
> > previously would have, so make sure that all the devices it would have
> > created (other than ones which lxc later finagles) get created.
> > To achieve this, we have to first mount /dev, then run MAKEDEV, then
> > run setup_autodev to populate the rest of /dev.
> > 
> > Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1075717
> > 
> > Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
> 
> Seems reasonable to me as it's limited to autodev and won't fail the
> startup process if MAKEDEV doesn't exist.
> 
> I'm not sure whether this code will work with all distros but that's
> better than nothing and can always be updated later.
> 
> I guess the ERROR may surprise some people as it won't be preventing the
> boot, so maybe we should consider making it a warning instead?
> (/me can't remember exactly what log entry type we have ;))
> 
> Anyway.
> 
> Acked-by: Stéphane Graber <stgraber at ubuntu.com>

Thanks, changed it to INFO and pushed.




More information about the lxc-devel mailing list