[lxc-devel] Ubuntu Karmic container

Elias Olivares eolivares at 1g6.biz
Thu Mar 4 17:02:50 UTC 2010


Hi ! 

Here a new bug installing ubuntu karmic into a container : 

I've installed karmic with debootstrap and when i try to run the container , it don't and this error message appears on the screen : 

mountall:/dev/ppp: Operation not permitted 
mountall:/dev/net/tun: Operation not permitted 
mountall:/dev/loop0: Operation not permitted 

But the container seems to run : 

host# lxc-info -n karmic 
'karmictest.1g6.biz' is RUNNING 

The command lxc-ls seems to be broken : (it show 2 times the container) 

vms:/mnt/vz# lxc-ls 
karmictest 
karmictest 

My container configuration file : 

lxc.utsname = karmictest 
lxc.tty = 4 
lxc.pts = 1024 
lxc.network.type = veth 
lxc.network.flags = up 
lxc.network.link = br0 
lxc.network.name = eth0 
lxc.network.mtu = 1500 
#lxc.mount = 
lxc.rootfs = /mnt/vz/karmictest 
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 
lxc.cgroup.devices.allow = c 136:* rwm 
lxc.cgroup.devices.allow = c 5:2 rwm 
# rtc 
lxc.cgroup.devices.allow = c 254:0 rwm 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20100304/4f824562/attachment.html>


More information about the lxc-devel mailing list