[Lxc-users] console
Papp Tamás
tompos at martos.bme.hu
Thu Aug 19 09:40:10 UTC 2010
hi!
I'm sure some weeks ago it was working, but right now, I can't make it.
This is an Ubuntu 10.04.
/etc/init/console.conf:
# console - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
exec /sbin/getty -8 38400 console
This is the lxc.conf:
lxc.utsname = flea
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 = 80.249.171.199/24
lxc.network.hwaddr = AC:DE:48:00:12:35
lxc.network.veth.pair = veth46
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br1
lxc.network.name = eth1
lxc.network.mtu = 1500
lxc.network.ipv4 = 10.1.1.199/16
lxc.network.hwaddr = AC:DD:58:63:13:35
lxc.network.veth.pair = veth48
lxc.rootfs = /data/lxc/flea/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 rm
When I try lxc-console, I don't get a login prompt.
Any idea?
Tahnk you,
tamas
More information about the lxc-users
mailing list