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

Hristo Venev hristo at venev.name
Fri Mar 28 11:41:00 PDT 2014


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140328/e71a8f82/attachment-0001.sig>


More information about the systemd-devel mailing list