new created ubuntu machines result in: "init: Unable to listen for private connections: Failed to bind socket "/com/ubuntu/upstart": Address already in use
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Created new machine with:
lxc-create -n test -t ubuntu -- -r oneiric
The machine hangs on lxc-start with the message.
lars@wiesel:~$ ps -elf | grep lxc-star[t]
4 S root 28932 31912 0 80 0 - 596 ep_pol 22:10 pts/8 00:00:00 lxc-start -n test
lars@wiesel:~$ pstree -p 28932
lxc-start(
Old lxc containers still working.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lxc 0.7.5-0ubuntu8
ProcVersionSign
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Mon Oct 31 22:04:19 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: lxc
UpgradeStatus: Upgraded to oneiric on 2011-09-13 (48 days ago)
Changed in lxc (Ubuntu): | |
importance: | Undecided → High |
Changed in lxc (Ubuntu): | |
status: | New → Incomplete |
Thanks for taking the time to report this bug.
Is the command in the description exactly the command you used, or did you specify a config file with '-f'? If you specified a config file, can you paste it here?
If you did not specify a config file, then you shoudl have seen a warning like:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======
Warning:
-------
Usually the template option is called with a configuration
file option too, mostly to configure the network.
eg. lxc-create -n foo -f lxc.conf -t debian
The configuration file is often:
lxc.network. type=macvlan link=eth0 flags=up
lxc.network.
lxc.network.
or alternatively:
lxc.network. type=veth link=br0 flags=up
lxc.network.
lxc.network.
For more information look at lxc.conf (5)
At this point, I assume you know what you do. ======= ======= ======= ======= ======= ======= ======= ======= ======
Press <enter> to continue ...
=======
Such a container indeed will fail to start because it will not have
a network configuration, and therefore not create a new network
namespace, so that the container's upstart shares abstract unix sockets
with the host's. It's reasonable for certain containers, but not
supported with a full ubuntu container.