[systemd-devel] runtime directories for services vs. tmpfiles

Kay Sievers kay at vrfy.org
Tue Jul 16 12:34:00 PDT 2013


On Tue, Jul 16, 2013 at 9:28 PM, "Jóhann B. Guðmundsson"
<johannbg at gmail.com> wrote:
> On 07/16/2013 06:26 PM, Lennart Poettering wrote:
>>
>> I discussed this a bit more with Kay on the phone. Here's what we'd
>> propose:
>>
>> I'd be very conservative regarding adding full tmpfiles support into
>> unit files directly. Instead, I'd suggest adding two very minimal, very
>> specific new unit file settings:
>>
>> RuntimeDirectory=
>> RuntimeDirectoyMode=
>
>
> What exactly are we trying to solve here which should not be fixed upstream
> in the daemons themselves?

Stuff that uses User= cannot be fixed in the daemon itself, at the
time it runs, systemd itself has already taken away the privileges to
create these directories.

Kay


More information about the systemd-devel mailing list