Lxc-start should warn if a container is already running

Bug #938765 reported by Martin Albisetti on 2012-02-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
High
Serge Hallyn

Bug Description

beuno@beuno-laptop:~/canonical/ubunet/trunk$ sudo lxc-start -n u1-server-lp
lxc-start: failed to create the command service point
lxc-start: failed to add command handler to mainloop
lxc-start: mainloop exited with an error

Debug log: http://paste.ubuntu.com/852806/

/var/lib/lxc/u1-server-lp/config: http://paste.ubuntu.com/852821/
/var/lib/lxc/u1-server-lp/fstab: http://paste.ubuntu.com/852822/

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lxc 0.7.5-3ubuntu29
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic-pae 3.2.6
Uname: Linux 3.2.0-17-generic-pae i686
ApportVersion: 1.92-0ubuntu1
Architecture: i386
Date: Wed Feb 22 12:42:04 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: lxc
UpgradeStatus: Upgraded to precise on 2011-12-02 (82 days ago)

Related branches

Martin Albisetti (beuno) wrote :
Changed in lxc (Ubuntu):
importance: Undecided → High
assignee: nobody → Serge Hallyn (serge-hallyn)
Changed in lxc (Ubuntu):
status: New → Triaged
summary: - Container will no longer start under 12.04
+ Lxc-start should warn if a container is already running
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxc - 0.7.5-3ubuntu30

---------------
lxc (0.7.5-3ubuntu30) precise; urgency=low

  [ Serge Hallyn ]
  * 0048-warn-if-container-started: If container startup fails because the
    container is already running, give an error message to that effect.
    (LP: #938765)

  [ Stéphane Graber ]
  * 0049-ubuntu-template-sudo-and-cleanup: Always make the user part of the
    sudo group. This group has been around since at least 10.04 and is more
    reliable than the admin group. Still add the user to the admin group
    until 12.04 as some tool expect that. (LP: #938752)
    Also fix a minor layout issue in the generate LXC config.
 -- Stephane Graber <email address hidden> Wed, 22 Feb 2012 12:33:32 -0500

Changed in lxc (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers