You are not logged in.

#1 2015-08-11 16:44:12

bendavis78
Member
Registered: 2014-06-21
Posts: 41

gnome-keyring-daemon started twice, causing keyring to hang

gnome-keyring-daemon appears to be started twice, and it's causing keyring functionality to hang.  Looking at process info, it appears to first be started by systemd, then again by dbus-daemon after I start Gnome. I grepped /etc/systemd for gnome-keyring and it doesn't turn anything up, so I'm not sure what's causing it to start in either situation.

The first instance is started as follows:

/usr/bin/gnome-keyring-daemon --start --components=ssh

And the second one is started like so:

/usr/bin/gnome-keyring-daemon --start --foreground --components=secrets

How can I find out how these are getting started? My guess is that I need to prevent the 2nd one from starting...

Offline

#2 2015-08-11 17:13:18

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: gnome-keyring-daemon started twice, causing keyring to hang

Check

/etc/xdg/autostart

Offline

#3 2015-08-13 16:40:26

bendavis78
Member
Registered: 2014-06-21
Posts: 41

Re: gnome-keyring-daemon started twice, causing keyring to hang

Thanks! Well, that's interesting. There's 4 desktop files in that folder that run it:

$ grep -r gnome-keyring-daemon /etc/xdg/autostart
/etc/xdg/autostart/gnome-keyring-secrets.desktop:Exec=/usr/bin/gnome-keyring-daemon --start --components=secrets
/etc/xdg/autostart/gnome-keyring-gpg.desktop:Exec=/usr/bin/gnome-keyring-daemon --start --components=gpg
/etc/xdg/autostart/gnome-keyring-pkcs11.desktop:Exec=/usr/bin/gnome-keyring-daemon --start --components=pkcs11
/etc/xdg/autostart/gnome-keyring-ssh.desktop:Exec=/usr/bin/gnome-keyring-daemon --start --components=ssh

I wonder why would they be separated out like that?

Also, something else appears to be respawning `gnome-keyring-daemon --start --foreground --components=secrets`, but its parent is pid 1, so not sure what's spawning it.

Offline

Board footer

Powered by FluxBB