[Bug 1200318] [NEW] lxc-create does not clean up lock file on failure
Robie Basak
1200318 at bugs.launchpad.net
Thu Jul 11 17:41:50 UTC 2013
Public bug reported:
When lxc-create fails (eg. due to bug 1166841), then it leaves
/run/lock/subsys/lxc-ubuntu lying around. A subsequent attempt to run
lxc-create again causes it to hang while it waits on this lockfile.
Workaround: remove the lockfile by hand.
Steps to reproduce:
1. sudo LANG=C lxc-create -n saucy -t ubuntu -- -r saucy -d
2. (fails)
3. sudo LANG=C lxc-create -n saucy -t ubuntu -- -r saucy -d
4. (hangs)
I've only tested Raring; I assume that the bug is still around since I
don't see any mention in Saucy's changelog.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: lxc 0.9.0-0ubuntu3.3
ProcVersionSignature: User Name 3.8.0-23.34-generic 3.8.11
Uname: Linux 3.8.0-23-generic armv7l
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: armhf
Date: Thu Jul 11 13:33:15 2013
MarkForUpload: True
ProcEnviron:
TERM=screen
LC_COLLATE=C
PATH=(custom, no user)
LANG=C
SHELL=/bin/bash
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: lxc (Ubuntu)
Importance: Undecided
Status: New
** Tags: apparmor apport-bug armhf raring
--
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/1200318
Title:
lxc-create does not clean up lock file on failure
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1200318/+subscriptions
More information about the Ubuntu-server-bugs
mailing list