I tried the fix and I got the same symptom.

For clarity:

- I wiped out /var/lxc/cache before I started because lxc-create wasn't
working.  That got lxc-create working.  I used the same commands I
listed in the bug description.

- I changed the container's console.conf as described:

$ cat /var/lib/lxc/lp/rootfs/etc/init/console.conf 
# /dev/console - getty
#
# This service maintains a getty on /dev/console from the point the
# system is started until it is shut down again.
# It only runs in lxc containers.
# Libvirt links /dev/tty1 to /dev/pts/0.

## start on stopped rc RUNLEVEL=[2345]

start on mounted MOUNTPOINT=/run
stop on runlevel [!2345]

env container
env LIBVIRT_LXC_UUID
pre-start script
        [ "x$container" = "xlxc" ] && exit 0;
        stop;
        exit 0;
end script

respawn

exec /sbin/getty -8 38400 /dev/console


- sudo lxc-start -n lp then hangs with the exact same symptoms described
initially.

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to