[systemd-devel] [PATCH] tmpfiles: don't create subvolumes in chroot

"J├│hann B. Gu├░mundsson" johannbg at gmail.com
Thu May 21 08:54:06 PDT 2015



On 05/21/2015 03:19 PM, Colin Walters wrote:
> On Wed, Apr 1, 2015, at 10:02 AM, Martin Pitt wrote:
>> IMHO subvolumes, like hard disk partitions, are something that the
>> administrator of a host should create deliberately only. Automatically
>> created ones just create confusion about "why the heck can't I remove
>> that directory".. It's roughly equivalent of some random package
>> messing with your partitions and/or fstab.
>>
>> So if we could somehow make this conditional on "running on real
>> iron", that would be a good compromise IMHO.
> I also agree with this.

Real or not makes no difference

systemd should not be creating subvolumes et all or atleast there should 
be a system wide option to disable it altogether and that option should 
be disabled by default upstream.

This breaks btrfs setup/administrations on host, breaks tools etc. so 
perhaps just best to get a second opinion with upstream btrfs community 
and get their opinion of having core/base component creating subvolumes 
on their own is the *smart* thing to do and see if their words are 
enough to change Lennart's mind about this.

JBG





More information about the systemd-devel mailing list