Public bug reported:

An lxc stop of a centos-7 image hung:

sarnold@sec-xenial-amd64:~$ sudo strace -p 21775
[sudo] password for sarnold: 
strace: Process 21775 attached
futex(0xddb060, FUTEX_WAIT, 0, NULL^Cstrace: Process 21775 detached
 <detached ...>


Near as I can recall, the process went something like this:

sudo apt-get install lxd-client
sudo apt-get install lxd
lxc image
sudo lxd init (answer dir, no, yes)
newgrp lxd
lxc image list
lxc launch images:centos/7/amd64 my-centos
lxc exec my-centos -- /bin/bash
   # ps auxw
   # ls -l /proc/1/exe
lxc launch ubuntu:16.04 my-ubuntu
lxc exec my-ubuntu -- /bin/bash
    # ps auxw
    # ls -l /proc/1/exe
    # aa-status
    # cat /sys/kernel/security/apparmor/profiles
    # ls /sys/kernel/security/apparmor
lxc stop my-ubuntu
lxc stop my-centos
    *HANG*

thanks

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: lxd 2.0.0-0ubuntu4
ProcVersionSignature: User Name 4.4.0-16.32-generic 4.4.6
Uname: Linux 4.4.0-16-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Fri Apr 22 18:08:42 2016
InstallationDate: Installed on 2016-02-11 (72 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160210)
ProcEnviron:
 TERM=rxvt-unicode
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: lxd
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: lxd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573866

Title:
  lxc stop of centos-7 guest hangs

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to