On Tue, Jul 16, 2013 at 07:41:08PM +0000, "Jóhann B. Guðmundsson" wrote: > On 07/16/2013 07:34 PM, Kay Sievers wrote: > >On Tue, Jul 16, 2013 at 9:28 PM, "Jóhann B. Guðmundsson" > ><johan...@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. > > We increase unit complexity with each option we add so I would > suggest unless it's absolutely necessary to just stick with just > tmpfiles to handle this.
I second Jóhann. As a packager, I never had problems with separate configuration of runtime dir. Additionally, runtime dirs hardly need customizations by admin. It's not worth exposing them in unit file. -- Tomasz Torcz Morality must always be based on practicality. xmpp: zdzich...@chrome.pl -- Baron Vladimir Harkonnen _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel