[lxc-devel] lxc 0.7.3 console problem
Daniel Lezcano
daniel.lezcano at free.fr
Thu Dec 23 15:07:16 UTC 2010
On 12/21/2010 12:28 PM, Erdem Bayer wrote:
> Hi
>
> After an upgrade from lxc-0.7.2 to 0.7.3, I can not login to my
> containers anymore. Containers boot fine, but denying and console
> access:
>
> ---------------------------------------------------
> # lxc-start -n test1
> INIT: version 2.86 booting
>
> Pardus Corporate 2 Beta http://www.pardus.org.tr
>
> * Setting up hostname as 'test1'
> * Setting up localhost
> * Cleaning up /var
> * Cleaning up /tmp
> * Starting DBus
> INIT: 3
> * Starting services
>
> Pardus GNU/Linux x86_64 2.6.32.26-149 2010-12-21 ( console )
>
> test1 login: root
> Unable to determine your tty name.
>
> Pardus GNU/Linux x86_64 2.6.32.26-149 2010-12-21 ( console )
> -------------------------------------------------------
>
> Here are the relevant information:
>
> # cat /var/lib/lxc/test1/fstab
> none /lxc/test1/dev/pts devpts defaults 0 0
> none /lxc/test1/proc proc defaults 0 0
> none /lxc/test1/sys sysfs defaults 0 0
> none /lxc/test1/dev/shm tmpfs defaults 0 0
>
> # cat /var/lib/lxc/test1/config
> lxc.utsname = test1
> lxc.network.type = veth
> lxc.network.flags = up
> lxc.network.link = br0
> lxc.network.hwaddr = DE:AD:BE:EF
> lxc.network.ipv4 = 192.168.133.2/24
> lxc.mount = /var/lib/lxc/test1/fstab
> lxc.rootfs = /lxc/test1
> lxc.tty = 1
>
> # cat /lxc/test1/etc/inittab
> # Default runlevel.
> id:3:initdefault:
>
> # System initialization, mount local filesystems, etc.
> si::sysinit:/sbin/mudur.py sysinit
>
> # Further system initialization, brings up the boot runlevel.
> rc::bootwait:/sbin/mudur.py boot
>
> l0:0:wait:/sbin/mudur.py shutdown
> l1:S1:wait:/sbin/mudur.py single
> l2:2:wait:/sbin/mudur.py nonetwork
> l3:3:wait:/sbin/mudur.py default
> l4:4:wait:/sbin/mudur.py default
> l5:5:wait:/sbin/mudur.py default
> l6:6:wait:/sbin/mudur.py reboot
>
> cons:2345:respawn:/sbin/mingetty --noclear console
>
> For that matter, are there any documentation about what changed with
> 0.7.3, both behavioral and config related?
>
Hi,
some changes to 0.7.3 broke the mount points. We try to keep backward
compatibility but sometimes that does not happen :S
I will try to fix this and release a 0.7.4 version.
"none /lxc/test1/dev/pts devpts defaults 0 0"
becomes:
"none dev/pts devpts defaults 0 0"
Thanks for reporting
-- Daniel
More information about the lxc-devel
mailing list