Gentoo Archives: gentoo-dev

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

Replies

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