touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #68272
[Bug 1441068] [NEW] lxc-destroy fails on btrfs subvolumes
Public bug reported:
$ sudo lxc-destroy -n adt-vivid
[sudo] password for martin:
lxc_container: utils.c: _recursive_rmdir_onedev: 147 _recursive_rmdir_onedev: failed to delete /srv/lxc/adt-vivid/rootfs/var/lib
lxc_container: utils.c: _recursive_rmdir_onedev: 147 _recursive_rmdir_onedev: failed to delete /srv/lxc/adt-vivid/rootfs/var
lxc_container: utils.c: _recursive_rmdir_onedev: 147 _recursive_rmdir_onedev: failed to delete /srv/lxc/adt-vivid/rootfs
lxc_container: lxccontainer.c: container_destroy: 2050 Error destroying rootfs for adt-vivid
Destroying adt-vivid failed
This is because the container rootfs has a btrfs subvolume:
ID 557 gen 97073 top level 266 path @srv/lxc/adt-
vivid/rootfs/var/lib/machines
After "sudo btrfs subvolume delete /srv/lxc/adt-
vivid/rootfs/var/lib/machines" I can remove the container.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: lxc 1.1.1-0ubuntu4
ProcVersionSignature: Ubuntu 3.19.0-12.12-generic 3.19.3
Uname: Linux 3.19.0-12-generic x86_64
ApportVersion: 2.17-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Apr 7 11:51:51 2015
EcryptfsInUse: Yes
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)
defaults.conf:
lxc.network.type = veth
lxc.network.link = lxcbr0
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:xx:xx:xx
lxc.conf: lxc.lxcpath = /srv/lxc
** Affects: lxc (Ubuntu)
Importance: Medium
Status: New
** Tags: amd64 apparmor apport-bug vivid
** Changed in: lxc (Ubuntu)
Importance: Undecided => Medium
--
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/1441068
Title:
lxc-destroy fails on btrfs subvolumes
Status in lxc package in Ubuntu:
New
Bug description:
$ sudo lxc-destroy -n adt-vivid
[sudo] password for martin:
lxc_container: utils.c: _recursive_rmdir_onedev: 147 _recursive_rmdir_onedev: failed to delete /srv/lxc/adt-vivid/rootfs/var/lib
lxc_container: utils.c: _recursive_rmdir_onedev: 147 _recursive_rmdir_onedev: failed to delete /srv/lxc/adt-vivid/rootfs/var
lxc_container: utils.c: _recursive_rmdir_onedev: 147 _recursive_rmdir_onedev: failed to delete /srv/lxc/adt-vivid/rootfs
lxc_container: lxccontainer.c: container_destroy: 2050 Error destroying rootfs for adt-vivid
Destroying adt-vivid failed
This is because the container rootfs has a btrfs subvolume:
ID 557 gen 97073 top level 266 path @srv/lxc/adt-
vivid/rootfs/var/lib/machines
After "sudo btrfs subvolume delete /srv/lxc/adt-
vivid/rootfs/var/lib/machines" I can remove the container.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: lxc 1.1.1-0ubuntu4
ProcVersionSignature: Ubuntu 3.19.0-12.12-generic 3.19.3
Uname: Linux 3.19.0-12-generic x86_64
ApportVersion: 2.17-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Apr 7 11:51:51 2015
EcryptfsInUse: Yes
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)
defaults.conf:
lxc.network.type = veth
lxc.network.link = lxcbr0
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:xx:xx:xx
lxc.conf: lxc.lxcpath = /srv/lxc
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1441068/+subscriptions
Follow ups
-
[Bug 1441068] Update Released
From: Stéphane Graber, 2015-11-30
-
[Bug 1441068] Update Released
From: Stéphane Graber, 2015-11-30
-
[Bug 1441068] Re: lxc-destroy fails on btrfs subvolumes
From: Launchpad Bug Tracker, 2015-11-30
-
[Bug 1441068] Re: lxc-destroy fails on btrfs subvolumes
From: Launchpad Bug Tracker, 2015-11-30
-
[Bug 1441068] Re: lxc-destroy fails on btrfs subvolumes
From: Stéphane Graber, 2015-11-25
-
[Bug 1441068] Please test proposed package
From: Chris J Arges, 2015-11-18
-
[Bug 1441068] Please test proposed package
From: Chris J Arges, 2015-11-18
-
[Bug 1441068] Please test proposed package
From: Chris J Arges, 2015-11-13
-
[Bug 1441068] Re: lxc-destroy fails on btrfs subvolumes
From: Chris J Arges, 2015-11-13
-
[Bug 1441068] Re: lxc-destroy fails on btrfs subvolumes
From: Stéphane Graber, 2015-11-09
-
[Bug 1441068] Re: lxc-destroy fails on btrfs subvolumes
From: Chris West, 2015-05-07
-
[Bug 1441068] Re: lxc-destroy fails on btrfs subvolumes
From: Serge Hallyn, 2015-04-17
-
[Bug 1441068] [NEW] lxc-destroy fails on btrfs subvolumes
From: Martin Pitt, 2015-04-07
References