[systemd-devel] [PATCH 1/3] core: Move user generator directories to XDG_RUNTIME_DIR

Kay Sievers kay at vrfy.org
Fri Mar 28 11:47:57 PDT 2014


On Fri, Mar 28, 2014 at 7:41 PM, Hristo Venev <hristo at venev.name> wrote:
> On Fri, 2014-03-28 at 19:00 +0100, Kay Sievers wrote:
>> On Fri, Mar 28, 2014 at 6:38 PM, Hristo Venev <hristo at venev.name> wrote:
>> > Predictable names and more consistent.
>> > ---
>> >  src/core/manager.c | 48 +++++++++++-------------------------------------
>> >  1 file changed, 11 insertions(+), 37 deletions(-)
>> >
>> > diff --git a/src/core/manager.c b/src/core/manager.c
>>
>> > -                p = strjoin(s, "/systemd/", name, NULL);
>> > +                p = strjoin("/tmp/systemd-", name, ".XXXXXX", NULL);
>>
>> /tmp is a shared namespace, and no place systemd should use for its
>> own data. That makes not much sense to me.
>>
>> Kay
>
> This line was added in b7def684 by Lennart Poettering in August 2012.
> Don't blame me that diff is being stupid.

Oops, sorry, did not realize that.

Kay


More information about the systemd-devel mailing list