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

Kay Sievers kay at vrfy.org
Fri Mar 28 11:00:07 PDT 2014


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


More information about the systemd-devel mailing list