[systemd-bugs] [Bug 90338] New: Can't delete container image
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed May 6 05:39:54 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90338
Bug ID: 90338
Summary: Can't delete container image
Product: systemd
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: systemd-bugs at lists.freedesktop.org
Reporter: i.s.reji at gmail.com
QA Contact: systemd-bugs at lists.freedesktop.org
After pulling image, machinectl can't delete that image:
core3 ~ # ls -la /var/lib/machines/
total 4
drwx------ 1 root root 326 May 6 12:13 .
drwxr-xr-x 21 root root 4096 May 5 22:02 ..
drwxr-xr-x 1 root root 152 May 6 12:07
.tar-https:\x2f\x2fcloud-images\x2eubuntu\x2ecom\x2ftrusty\x2fcurrent\x2ftrusty-server-cloudimg-amd64-root\x2etar\x2egz.\x221480903-b230d19-514f7409c0e40\x22
drwxr-xr-x 1 root root 152 May 6 12:07 ubuntu
core3 ~ # machinectl remove ubuntu
Could not remove image: Access denied
core3 ~ # btrfs sub li /var/lib/machines/
ID 257 gen 60 top level 5 path machines
ID 258 gen 17 top level 5 path mysql
ID 266 gen 57 top level 257 path
.tar-https:\x2f\x2fcloud-images\x2eubuntu\x2ecom\x2ftrusty\x2fcurrent\x2ftrusty-server-cloudimg-amd64-root\x2etar\x2egz.\x221480903-b230d19-514f7409c0e40\x22
ID 267 gen 59 top level 257 path ubuntu
core3 ~ # mount | egrep 'sda9|sda10'
/dev/sda9 on / type ext4 (rw,relatime,data=ordered)
/dev/sda10 on /var/lib/machines type btrfs (rw,relatime,space_cache)
/dev/sda10 on /var/lib/mysql type btrfs (rw,relatime,space_cache)
but btrfs can:
core3 ~ # btrfs sub del /var/lib/machines/ubuntu/
Transaction commit: none (default)
Delete subvolume '/var/lib/machines/ubuntu'
core3 ~ # ls -la /var/lib/machines/
total 4
drwx------ 1 root root 314 May 6 12:39 .
drwxr-xr-x 21 root root 4096 May 5 22:02 ..
drwxr-xr-x 1 root root 152 May 6 12:07
.tar-https:\x2f\x2fcloud-images\x2eubuntu\x2ecom\x2ftrusty\x2fcurrent\x2ftrusty-server-cloudimg-amd64-root\x2etar\x2egz.\x221480903-b230d19-514f7409c0e40\x22
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150506/b3c7ce96/attachment.html>
More information about the systemd-bugs
mailing list