On Wed, 2016-10-05 at 23:10 +0800, Jason Zaman wrote: > On Wed, Oct 05, 2016 at 02:58:20PM +0000, Joakim Tjernlund wrote: > > > > I know this might be a bit off topic but I just want some clues > > > > Whenever root logs in(ssh or on text console) XDG_RUNTIME_DIR is set to > > "(null)". This > > creates a /(null) dir. with various stuff in it. > > > > I am trying to find out what sets XDG_RUNTIME_DIR? > its https://bugs.gentoo.org/585688 > fixed in sys-auth/consolekit-1.1.0-r1 > > I'd forgotten to update the stablereq to that, will do it now.
Ah, I see that now. Thou after installing sys-auth/consolekit-1.1.0-r1 I get XDG_RUNTIME_DIR but no the directory is not created for root, seems to be fixed by: https://github.com/ConsoleKit2/ConsoleKit2/commit/664d2fdbd966764836b1f4da2dbc5750c7f01f0f