Re: [blfs-book] [BLFS Trac] #9790: Setting XDG_RUNTIME_DIR in /etc/profile breaks gnome-keyring autologin

2017-09-20 Thread BLFS Trac via blfs-book
#9790: Setting XDG_RUNTIME_DIR in /etc/profile breaks gnome-keyring autologin
---+--
 Reporter:  wblaszcz   |   Owner:  blfs-book@…
 Type:  defect |  Status:  new
 Priority:  normal |   Milestone:  8.2
Component:  BOOK   | Version:  SVN
 Severity:  normal |  Resolution:
 Keywords:  systemd pam gnome-keyring  |
---+--

Comment (by bdubbs@…):

 We can make that change, but it really does seem highly inappropriate for
 something to set bash environment variables BEFORE the first bash
 configuration file (/etc/profile).

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #9790: Setting XDG_RUNTIME_DIR in /etc/profile breaks gnome-keyring autologin

2017-09-20 Thread BLFS Trac via blfs-book
#9790: Setting XDG_RUNTIME_DIR in /etc/profile breaks gnome-keyring autologin
---+--
 Reporter:  wblaszcz   |   Owner:  blfs-book@…
 Type:  defect |  Status:  new
 Priority:  normal |   Milestone:  8.2
Component:  BOOK   | Version:  SVN
 Severity:  normal |  Resolution:
 Keywords:  systemd pam gnome-keyring  |
---+--

Comment (by wblaszcz):

 The above works fine for me.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #9790: Setting XDG_RUNTIME_DIR in /etc/profile breaks gnome-keyring autologin

2017-09-20 Thread BLFS Trac via blfs-book
#9790: Setting XDG_RUNTIME_DIR in /etc/profile breaks gnome-keyring autologin
---+--
 Reporter:  wblaszcz   |   Owner:  blfs-book@…
 Type:  defect |  Status:  new
 Priority:  normal |   Milestone:  8.2
Component:  BOOK   | Version:  SVN
 Severity:  normal |  Resolution:
 Keywords:  systemd pam gnome-keyring  |
---+--

Comment (by dj@…):

 I was going to cite portability, but it does work in dash and zsh, so it
 won't break anything in the book. No longer have AST stuff to test with.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #9790: Setting XDG_RUNTIME_DIR in /etc/profile breaks gnome-keyring autologin

2017-09-20 Thread BLFS Trac via blfs-book
#9790: Setting XDG_RUNTIME_DIR in /etc/profile breaks gnome-keyring autologin
---+--
 Reporter:  wblaszcz   |   Owner:  blfs-book@…
 Type:  defect |  Status:  new
 Priority:  normal |   Milestone:  8.2
Component:  BOOK   | Version:  SVN
 Severity:  normal |  Resolution:
 Keywords:  systemd pam gnome-keyring  |
---+--

Comment (by bdubbs@…):

 Another case where the systemd folks know better than the user.

 I suppose we can use:

 export ${XDG_DATA_DIRS:-/usr/share/}
 export ${XDG_CONFIG_DIRS:-/etc/xdg/}
 export ${XDG_RUNTIME_DIR:-/tmp/xdg-$USER}

 See if that works for you.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #9790: Setting XDG_RUNTIME_DIR in /etc/profile breaks gnome-keyring autologin

2017-09-20 Thread BLFS Trac via blfs-book
#9790: Setting XDG_RUNTIME_DIR in /etc/profile breaks gnome-keyring autologin
---+--
 Reporter:  wblaszcz   |   Owner:  blfs-book@…
 Type:  defect |  Status:  new
 Priority:  normal |   Milestone:  8.2
Component:  BOOK   | Version:  SVN
 Severity:  normal |  Resolution:
 Keywords:  systemd pam gnome-keyring  |
---+--

Comment (by wblaszcz):

 As a side note, by commenting out all 3 XDG variables from /etc/profile,
 all 3 variables are still set by other unknown means after a reboot.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

[blfs-book] [BLFS Trac] #9790: Setting XDG_RUNTIME_DIR in /etc/profile breaks gnome-keyring autologin

2017-09-20 Thread BLFS Trac via blfs-book
#9790: Setting XDG_RUNTIME_DIR in /etc/profile breaks gnome-keyring autologin
--+---
 Reporter:  wblaszcz  |  Owner:  blfs-book@…
 Type:  defect| Status:  new
 Priority:  normal|  Milestone:  8.2
Component:  BOOK  |Version:  SVN
 Severity:  normal|   Keywords:  systemd pam gnome-keyring
--+---
 This is the error I get in the system journal (B/LFS 8.1 + GNOME 3.26.0)"
 {{{
 Sep 20 19:10:21 jupiter gnome-keyring-daemon[717]: couldn't access control
 socket: /tmp/xdg-wblaszcz/keyring/control: No such file or directory
 Sep 20 19:10:21 jupiter gnome-keyring-daemon[719]: couldn't access control
 socket: /tmp/xdg-wblaszcz/keyring/control: No such file or directory
 Sep 20 19:10:21 jupiter gnome-keyring-d[717]: couldn't access control
 socket: /tmp/xdg-wblaszcz/keyring/control: No such file or directory
 Sep 20 19:10:21 jupiter gnome-keyring-d[719]: couldn't access control
 socket: /tmp/xdg-wblaszcz/keyring/control: No such file or directory
 Sep 20 19:10:21 jupiter gnome-keyring-ssh.desktop[714]: SSH_AUTH_SOCK=/tmp
 /xdg-wblaszcz/keyring/ssh
 }}}
 The is the equivalent entry on a working build (B/LFS 8.0 + GNOME 3.24.x)
 :
 {{{
 Sep 20 17:20:22 jupiter gnome-keyring-ssh.desktop[705]:
 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
 Sep 20 17:20:22 jupiter gnome-keyring-secrets.desktop[707]:
 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
 }}}

 Turns out that SSH_AUTH_SOCK is derived from XDG_RUNTIME_DIR.
 Turns out that XDG_RUNTIME_DIR is set by default through pam_systemd.
 Looks like /etc/profile is overwriting this variable.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #9790: Setting XDG_RUNTIME_DIR in /etc/profile breaks gnome-keyring autologin

2017-09-20 Thread BLFS Trac via blfs-book
#9790: Setting XDG_RUNTIME_DIR in /etc/profile breaks gnome-keyring autologin
---+--
 Reporter:  wblaszcz   |   Owner:  blfs-book@…
 Type:  defect |  Status:  new
 Priority:  normal |   Milestone:  8.2
Component:  BOOK   | Version:  SVN
 Severity:  normal |  Resolution:
 Keywords:  systemd pam gnome-keyring  |
---+--
Description changed by wblaszcz:

Old description:

> This is the error I get in the system journal (B/LFS 8.1 + GNOME 3.26.0)"
> {{{
> Sep 20 19:10:21 jupiter gnome-keyring-daemon[717]: couldn't access
> control socket: /tmp/xdg-wblaszcz/keyring/control: No such file or
> directory
> Sep 20 19:10:21 jupiter gnome-keyring-daemon[719]: couldn't access
> control socket: /tmp/xdg-wblaszcz/keyring/control: No such file or
> directory
> Sep 20 19:10:21 jupiter gnome-keyring-d[717]: couldn't access control
> socket: /tmp/xdg-wblaszcz/keyring/control: No such file or directory
> Sep 20 19:10:21 jupiter gnome-keyring-d[719]: couldn't access control
> socket: /tmp/xdg-wblaszcz/keyring/control: No such file or directory
> Sep 20 19:10:21 jupiter gnome-keyring-ssh.desktop[714]:
> SSH_AUTH_SOCK=/tmp/xdg-wblaszcz/keyring/ssh
> }}}
> The is the equivalent entry on a working build (B/LFS 8.0 + GNOME 3.24.x)
> :
> {{{
> Sep 20 17:20:22 jupiter gnome-keyring-ssh.desktop[705]:
> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> Sep 20 17:20:22 jupiter gnome-keyring-secrets.desktop[707]:
> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> }}}
>
> Turns out that SSH_AUTH_SOCK is derived from XDG_RUNTIME_DIR.
> Turns out that XDG_RUNTIME_DIR is set by default through pam_systemd.
> Looks like /etc/profile is overwriting this variable.

New description:

 This is the error I get in the system journal (B/LFS 8.1 systemd + GNOME
 3.26.0)"
 {{{
 Sep 20 19:10:21 jupiter gnome-keyring-daemon[717]: couldn't access control
 socket: /tmp/xdg-wblaszcz/keyring/control: No such file or directory
 Sep 20 19:10:21 jupiter gnome-keyring-daemon[719]: couldn't access control
 socket: /tmp/xdg-wblaszcz/keyring/control: No such file or directory
 Sep 20 19:10:21 jupiter gnome-keyring-d[717]: couldn't access control
 socket: /tmp/xdg-wblaszcz/keyring/control: No such file or directory
 Sep 20 19:10:21 jupiter gnome-keyring-d[719]: couldn't access control
 socket: /tmp/xdg-wblaszcz/keyring/control: No such file or directory
 Sep 20 19:10:21 jupiter gnome-keyring-ssh.desktop[714]: SSH_AUTH_SOCK=/tmp
 /xdg-wblaszcz/keyring/ssh
 }}}
 The is the equivalent entry on a working build (B/LFS 8.0 systemd + GNOME
 3.24.x) :
 {{{
 Sep 20 17:20:22 jupiter gnome-keyring-ssh.desktop[705]:
 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
 Sep 20 17:20:22 jupiter gnome-keyring-secrets.desktop[707]:
 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
 }}}

 Turns out that SSH_AUTH_SOCK is derived from XDG_RUNTIME_DIR.
 Turns out that XDG_RUNTIME_DIR is set by default through pam_systemd.
 Looks like /etc/profile is overwriting this variable.

--

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page