Hi! When running mock on a btrfs filesystem, the systemd-219 package (in F22 and rawhide) creates a directory /var/lib/machines inside the buildroot as a btrfs subvolume, that is not removed by the usual mock cleanup code, when the build completes : ERROR: [Errno 1] Operation not permitted: '/var/lib/mock/fedora-rawhide-i386/root/var/lib/machines' Workaround : manually invoke btrfs subvol delete -c /var/lib/mock/fedora-*/root/var/lib/machines
This is happening, like Fabrice says, only on a machine that: a) Has /var/lib/mock under BTRFS b) Running a mock build for fedora-22 (and rawhide) The host machine does *not* have to be f22 or rawhide, this happens with a current f21 host running a mock build for f22. Also, this is *probably* a bug better suited for the systemd maintainers to look at, given that this is obviously due to systemd 219: https://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg28109.html
I *just* filed another bug and then realized that I spotted this bugzilla in the possible duplicates... I think this is a systemd bug because it creates the subvolumes... I'll close this bug as a duplicate of the one that I filed, as it contains some extra information. Sorry for the mess. *** This bug has been marked as a duplicate of bug 1205564 ***