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

Jan Synacek jsynacek at redhat.com
Thu Apr 2 02:31:38 PDT 2015


Lennart Poettering <lennart at poettering.net> writes:

> On Thu, 02.04.15 08:59, Jan Synacek (jsynacek at redhat.com) wrote:
>
>> >> think that systemd shouldn't create them where it doesn't make
>> >> sense. I don't think that that's achievable with the current logic. Am I
>> >> missing something?
>> >
>> > But why do you say "when it doesn't make sense"? Why do you think this
>> > doesn't make sense...
>> 
>> I think that in mock root it doesn't. But that's a special case.
>
> Why not? Subvolumes are fully recursive, hence it doesn't really
> matter whether they are created on the host or in a chroot environment
> or a container or whatever else.

Ok, I discussed this with the maintainer of mock and wrote a patch for
it to be able to deal with subvolumes.

Thanks for the pointers!
-- 
Jan Synacek
Software Engineer, Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150402/d4728089/attachment-0001.sig>


More information about the systemd-devel mailing list