[Lxc-users] Upgrading udev and plymouth in a lucid container

Serge Hallyn serge.hallyn at canonical.com
Wed Jul 27 13:43:29 UTC 2011


Quoting Elliot Pahl (elliot.pahl at gmail.com):
> Upgrading udev and plymouth in a lucid container seems to require access to
> udev devices with the following lines in <container>/config
> lxc.cgroup.devices.allow = c 108:0 rwm
> lxc.cgroup.devices.allow = b 7:0 rwm
> lxc.cgroup.devices.allow = c 10:200 rwm
> 
> Otherwise you get something along the lines of:
> Setting up udev (151-12.3) ...
> mknod: `/lib/udev/devices/ppp': Operation not permitted
> dpkg: error processing udev (--configure):
>  subprocess installed post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of plymouth:
>  plymouth depends on udev (>= 149-2); however:
>   Package udev is not configured yet.
> dpkg: error processing plymouth (--configure):
>  dependency problems - leaving unconfigured
> No apport report written because the error message indicates its a followup
> error from a previous failure.
> Errors were encountered while processing:
>  udev
>  plymouth
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Can this be added to the ubuntu creation template? (I'm running lxc daily
> from https://launchpad.net/~ubuntu-lxc/+archive/daily).

I think we might want to open a bug against udev and see if we
can get it to not fail bc it can't create/open a specific device.
Bug might be rejected, but I think it's the right place to handle
this.




More information about the lxc-users mailing list