[Lxc-users] udev

Osvaldo Filho arquivostcf at gmail.com
Fri Jul 30 23:50:25 UTC 2010


Environment:
===========

Host:
Ubuntu 10.04 x64
Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
lxc 0.7.1-1

root at srvltsp01:/home/lxc/lucid64# cat config.lucid-64
lxc.utsname = lucid64
lxc.tty = 4
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br0
lxc.network.name = eth0
lxc.network.mtu = 1500
lxc.network.ipv4 = 192.168.10.0/24
lxc.rootfs = ./rootfs
lxc.cgroup.devices.deny = a
# /dev/null and zero
lxc.cgroup.devices.allow = c 1:3 rwm
lxc.cgroup.devices.allow = c 1:5 rwm
# consoles
lxc.cgroup.devices.allow = c 5:1 rwm
lxc.cgroup.devices.allow = c 5:0 rwm
lxc.cgroup.devices.allow = c 4:0 rwm
lxc.cgroup.devices.allow = c 4:1 rwm
# /dev/{,u}random
lxc.cgroup.devices.allow = c 1:9 rwm
lxc.cgroup.devices.allow = c 1:8 rwm
# /dev/pts/* - pts namespaces are "coming soon"
lxc.cgroup.devices.allow = c 136:* rwm
lxc.cgroup.devices.allow = c 5:2 rwm
# rtc
lxc.cgroup.devices.allow = c 254:0 rwm

--------------------------------

Guest:
Ubuntu 10.04 x64
Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2

# df:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3            134574116  19345080 108392980  16% /
varrun                 3056840        20   3056820   1% /var/run
varlock                3056840         0   3056840   0% /var/lock
none                   3056840         0   3056840   0% /dev/shm
none                   3056840         0   3056840   0% /lib/init/rw

===========

When i do a system upgrade on container i have problems:

--------------- Problems ------------------

root at localhost:/# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up udev (151-12) ...
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)

----------------------------




More information about the lxc-users mailing list