touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #75927
[Bug 1377973] Re: lxc-destroy/lxc-stop gets stuck
The container has since been restarted (by issuing a 'reboot' inside the
container), which "unstuck" lxc-ls, it's now behaving normally. If it
happens again I'll see what I can see. It's not the first time I've seen
this happen.
LXC has not been upgraded since the container was started, no.
The container was created via 'sudo lxc-create -t download -n <name>' -
nothing terribly unusual that separates it from a couple other
containers running on the same hardware. It runs a desktop (xfce) which
is unique but not a particularly "wacky" use case. The only "special"
config is autostart, an lxc.cgroup.devices.allow statement, and an
lxc.mount.entry.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1377973
Title:
lxc-destroy/lxc-stop gets stuck
Status in lxc package in Ubuntu:
Incomplete
Bug description:
On ubuntu 14.04 I ran lxc-start with a custom built container and
interrupted the setup before it could finish. Now lxc-ls --fancy, lxc-
destroy -n container or lxc-stop -n container are getting stuck. LXC
package version is 1.0.5-0ubuntu0.1
Output from strace:
# strace lxc-destroy -n myvm
<....>
mkdir("/", 0755) = -1 EEXIST (File exists)
mkdir("/run/", 0755) = -1 EEXIST (File exists)
mkdir("/run/lock/", 0755) = -1 EEXIST (File exists)
mkdir("/run/lock/lxc//", 0755) = -1 EEXIST (File exists)
mkdir("/run/lock/lxc//var/", 0755) = -1 EEXIST (File exists)
mkdir("/run/lock/lxc//var/lib/", 0755) = -1 EEXIST (File exists)
mkdir("/run/lock/lxc//var/lib/lxc", 0755) = -1 EEXIST (File exists)
stat("/var/lib/lxc/myvm/config", 0x7fff06d64f50) = -1 ENOENT (No such file or directory)
stat("/var/lib/lxc/myvm/partial", 0x7fff06d64e80) = -1 ENOENT (No such file or directory)
socket(PF_LOCAL, SOCK_STREAM, 0) = 3
connect(3, {sa_family=AF_LOCAL, sun_path=@"/var/lib/lxc/myvm/command"}, 28) = 0
getuid() = 0
getgid() = 0
sendmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16}], msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS{pid=2028, uid=0, gid=0}}, msg_flags=0}, MSG_NOSIGNAL) = 16
recvmsg(3,
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1377973/+subscriptions
References