touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #116656
[Bug 1441068] Re: lxc-destroy fails on btrfs subvolumes
** Also affects: lxc (Ubuntu Wily)
Importance: Undecided
Status: New
** Also affects: lxc (Ubuntu Vivid)
Importance: Undecided
Status: New
** Changed in: lxc (Ubuntu Vivid)
Status: New => In Progress
** Changed in: lxc (Ubuntu Wily)
Status: New => In Progress
** Changed in: lxc (Ubuntu)
Status: Fix Committed => Fix Released
--
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:
Fix Released
Status in lxc source package in Vivid:
In Progress
Status in lxc source package in Wily:
In Progress
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
References