public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in
@ 2016-10-05 14:58 Joakim Tjernlund
  2016-10-05 15:10 ` Jason Zaman
  2016-10-05 16:18 ` konsolebox
  0 siblings, 2 replies; 7+ messages in thread
From: Joakim Tjernlund @ 2016-10-05 14:58 UTC (permalink / raw
  To: gentoo-dev@lists.gentoo.org

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?

We auth. against Windows AD using sssd, but root is a local UNIX user only(not in AD)

Any clues?

  Jocke 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in
  2016-10-05 14:58 [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in Joakim Tjernlund
@ 2016-10-05 15:10 ` Jason Zaman
  2016-10-05 15:58   ` Joakim Tjernlund
  2016-10-05 16:18 ` konsolebox
  1 sibling, 1 reply; 7+ messages in thread
From: Jason Zaman @ 2016-10-05 15:10 UTC (permalink / raw
  To: gentoo-dev

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.

-- Jason

> 
> We auth. against Windows AD using sssd, but root is a local UNIX user only(not in AD)
> 
> Any clues?
> 
>   Jocke 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in
  2016-10-05 15:10 ` Jason Zaman
@ 2016-10-05 15:58   ` Joakim Tjernlund
  2016-10-05 16:04     ` Jason Zaman
  0 siblings, 1 reply; 7+ messages in thread
From: Joakim Tjernlund @ 2016-10-05 15:58 UTC (permalink / raw
  To: gentoo-dev@lists.gentoo.org

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in
  2016-10-05 15:58   ` Joakim Tjernlund
@ 2016-10-05 16:04     ` Jason Zaman
  2016-10-05 16:22       ` Joakim Tjernlund
  0 siblings, 1 reply; 7+ messages in thread
From: Jason Zaman @ 2016-10-05 16:04 UTC (permalink / raw
  To: gentoo-dev

On Wed, Oct 05, 2016 at 03:58:44PM +0000, Joakim Tjernlund wrote:
> 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

Yep, that patch is what the -r1 bump was for. Did you remember to
restart consolekit after updating?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in
  2016-10-05 14:58 [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in Joakim Tjernlund
  2016-10-05 15:10 ` Jason Zaman
@ 2016-10-05 16:18 ` konsolebox
  2016-10-05 16:28   ` Joakim Tjernlund
  1 sibling, 1 reply; 7+ messages in thread
From: konsolebox @ 2016-10-05 16:18 UTC (permalink / raw
  To: gentoo-dev

On Wed, Oct 5, 2016 at 10:58 PM, Joakim Tjernlund
<Joakim.Tjernlund@infinera.com> wrote:
> 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?

It's pam_ck_connector.so.  Also see
https://bugs.gentoo.org/show_bug.cgi?id=588840 for details.

-- 
konsolebox


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in
  2016-10-05 16:04     ` Jason Zaman
@ 2016-10-05 16:22       ` Joakim Tjernlund
  0 siblings, 0 replies; 7+ messages in thread
From: Joakim Tjernlund @ 2016-10-05 16:22 UTC (permalink / raw
  To: gentoo-dev@lists.gentoo.org

On Thu, 2016-10-06 at 00:04 +0800, Jason Zaman wrote:
> On Wed, Oct 05, 2016 at 03:58:44PM +0000, Joakim Tjernlund wrote:
> > 
> > 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
> 
> Yep, that patch is what the -r1 bump was for. Did you remember to
> restart consolekit after updating?
> 
ehh, no. It worked after a restart(but I had to manually kill the daemon first)


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in
  2016-10-05 16:18 ` konsolebox
@ 2016-10-05 16:28   ` Joakim Tjernlund
  0 siblings, 0 replies; 7+ messages in thread
From: Joakim Tjernlund @ 2016-10-05 16:28 UTC (permalink / raw
  To: gentoo-dev@lists.gentoo.org

On Thu, 2016-10-06 at 00:18 +0800, konsolebox wrote:
> On Wed, Oct 5, 2016 at 10:58 PM, Joakim Tjernlund
> <Joakim.Tjernlund@infinera.com> wrote:
> > 
> > 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?
> 
> It's pam_ck_connector.so.  Also see
> https://bugs.gentoo.org/show_bug.cgi?id=588840 for details.
> 

 Got it and consolekit-1.1.0-r1 works around the issue.

 Thanks

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-10-05 16:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-05 14:58 [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in Joakim Tjernlund
2016-10-05 15:10 ` Jason Zaman
2016-10-05 15:58   ` Joakim Tjernlund
2016-10-05 16:04     ` Jason Zaman
2016-10-05 16:22       ` Joakim Tjernlund
2016-10-05 16:18 ` konsolebox
2016-10-05 16:28   ` Joakim Tjernlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox