On Wed, 22.04.15 15:42, Tobias Hunger ([email protected]) wrote:

> PS: Is there a way to stop the VMs to get a btrfs subvolume created in
> /var/lib/machines?

Not in nspawn, no.

This could be implemented via seccomp though.

> I have a couple of .#vmXXXX subvolumes in /var/lib/machines now and
> btrfs subvolume delete does not work on those since they have a
> subvolume in /var/lib/machine. Apparently systemd-nspawn also stumbled
> over this as the directories are still there but the machines are not
> running.

As mentioned in an earlier thread here, Chris intends to add recursive
subvolume deletion to btrfs-progs.

In systemd git "machinectl remove" recursively deletes subvolumes already.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to