Gentoo Archives: gentoo-dev

From: Joakim Tjernlund <Joakim.Tjernlund@××××××××.com>
To: "gentoo-dev@l.g.o" <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in
Date: Wed, 05 Oct 2016 15:59:53
Message-Id: 1475683171.9674.31.camel@infinera.com
In Reply to: Re: [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in by Jason Zaman
1 On Wed, 2016-10-05 at 23:10 +0800, Jason Zaman wrote:
2 > On Wed, Oct 05, 2016 at 02:58:20PM +0000, Joakim Tjernlund wrote:
3 > >
4 > > I know this might be a bit off topic but I just want some clues
5 > >
6 > > Whenever root logs in(ssh or on text console) XDG_RUNTIME_DIR is set to "(null)". This
7 > > creates a /(null) dir. with various stuff in it.
8 > >
9 > > I am trying to find out what sets XDG_RUNTIME_DIR?
10 > its https://bugs.gentoo.org/585688
11 > fixed in sys-auth/consolekit-1.1.0-r1
12 >
13 > I'd forgotten to update the stablereq to that, will do it now.
14
15 Ah, I see that now.
16 Thou after installing sys-auth/consolekit-1.1.0-r1 I get XDG_RUNTIME_DIR
17 but no the directory is not created for root, seems to be fixed by:
18 https://github.com/ConsoleKit2/ConsoleKit2/commit/664d2fdbd966764836b1f4da2dbc5750c7f01f0f

Replies

Subject Author
Re: [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in Jason Zaman <jason@×××××××××.com>