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 16:23:57
Message-Id: 1475684618.9674.32.camel@infinera.com
In Reply to: Re: [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in by Jason Zaman
1 On Thu, 2016-10-06 at 00:04 +0800, Jason Zaman wrote:
2 > On Wed, Oct 05, 2016 at 03:58:44PM +0000, Joakim Tjernlund wrote:
3 > >
4 > > On Wed, 2016-10-05 at 23:10 +0800, Jason Zaman wrote:
5 > > >
6 > > > On Wed, Oct 05, 2016 at 02:58:20PM +0000, Joakim Tjernlund wrote:
7 > > > >
8 > > > >
9 > > > > I know this might be a bit off topic but I just want some clues
10 > > > >
11 > > > > Whenever root logs in(ssh or on text console) XDG_RUNTIME_DIR is set to "(null)". This
12 > > > > creates a /(null) dir. with various stuff in it.
13 > > > >
14 > > > > I am trying to find out what sets XDG_RUNTIME_DIR?
15 > > > its https://bugs.gentoo.org/585688
16 > > > fixed in sys-auth/consolekit-1.1.0-r1
17 > > >
18 > > > I'd forgotten to update the stablereq to that, will do it now.
19 > >
20 > > Ah, I see that now.
21 > > Thou after installing sys-auth/consolekit-1.1.0-r1 I get XDG_RUNTIME_DIR
22 > > but no the directory is not created for root, seems to be fixed by:
23 > > https://github.com/ConsoleKit2/ConsoleKit2/commit/664d2fdbd966764836b1f4da2dbc5750c7f01f0f
24 >
25 > Yep, that patch is what the -r1 bump was for. Did you remember to
26 > restart consolekit after updating?
27 >
28 ehh, no. It worked after a restart(but I had to manually kill the daemon first)