[pkg-lxc-devel] Bug#904730: lxc-destroy can't destroy a container

Ben Hutchings ben at decadent.org.uk
Fri Jul 27 10:20:59 BST 2018


Package: lxc
Version: 1:2.0.9-6
Severity: important

~$ sudo autopkgtest-build-lxc debian unstable amd64 2>&1 | tee ~/tmp/autopkgtest-build-lxc.log
WARNING: ext3 signature detected on /dev/deadeye/autopkgtest-unstable-amd64.new at offset 1080. Wipe it? [y/n]: ^C
~$ sudo lvremove /dev/deadeye/autopkgtest-unstable-amd64.new
Do you really want to remove active logical volume deadeye/autopkgtest-unstable-amd64.new? [y/n]: y
  Logical volume "autopkgtest-unstable-amd64.new" successfully removed
~$ sudo autopkgtest-build-lxc debian unstable amd64 2>&1 | tee ~/tmp/autopkgtest-build-lxc.log
lxc-create: lxccontainer.c: lxc_container_new: 4337 Error: autopkgtest-unstable-amd64.new creation was not completed
lxc-create: lxccontainer.c: create_partial: 184 File exists - Error creating partial file
lxc-create: tools/lxc_create.c: main: 326 Error creating container autopkgtest-unstable-amd64.new
~$ sudo lxc-destroy --name autopkgtest-unstable-amd64.new
lxc-destroy: lxccontainer.c: lxc_container_new: 4337 Error: autopkgtest-unstable-amd64.new creation was not completed
Container is not defined

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lxc depends on:
ii  libapparmor1  2.12-5
ii  libc6         2.27-5
ii  libcap2       1:2.25-1.2
ii  libgnutls30   3.5.19-1
ii  liblxc1       1:2.0.9-6
ii  libseccomp2   2.3.3-3
ii  libselinux1   2.8-1+b1
ii  lsb-base      9.20170808
ii  python3       3.6.6-1
ii  python3-lxc   1:2.0.9-6

Versions of packages lxc recommends:
ii  bridge-utils                 1.5-16
ii  debootstrap                  1.0.106
ii  dirmngr                      2.2.8-3
ii  dnsmasq-base [dnsmasq-base]  2.79-1
ii  gnupg                        2.2.8-3
ii  iptables                     1.6.2-1
ii  libpam-cgfs                  2.0.8-1
ii  lxcfs                        2.0.8-1
ii  openssl                      1.1.0h-4
ii  rsync                        3.1.2-2.1
ii  uidmap                       1:4.5-1

Versions of packages lxc suggests:
ii  apparmor     2.12-5
ii  btrfs-progs  4.16.1-2
ii  lvm2         2.02.176-4.1

-- Configuration Files:
/etc/lxc/default.conf changed:
lxc.network.type = veth


-- no debconf information



More information about the Pkg-lxc-devel mailing list