Bug 1765552 - duplicate ssh-agents running
Summary: duplicate ssh-agents running
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-session
Version: 30
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2019-10-25 11:54 UTC by Brian J. Murrell
Modified: 2020-05-26 17:39 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-05-26 17:39:25 UTC
Type: Bug

Attachments (Terms of Use)

Description Brian J. Murrell 2019-10-25 11:54:47 UTC
Description of problem:
I have two ssh-agents running:
$ ps -ef | grep ssh-agent
brian    23366 23128  0 07:25 ?        00:00:00 /usr/bin/ssh-agent /bin/sh -c exec -l /bin/bash -c "/usr/bin/gnome-session"
brian    24807 23067  0 07:25 ?        00:00:00 /usr/bin/ssh-agent -D -a /run/user/1001/keyring/.ssh

Version-Release number of selected component (if applicable):

One is started by gnome-session:

23128 tty2     Sl+    0:00          \_ /usr/libexec/gnome-session-binary
23366 ?        Ss     0:00              \_ /usr/bin/ssh-agent /bin/sh -c exec -l /bin/bash -c "/usr/bin/gnome-session"

and the other by gnome-keyring-daemon:

23067 ?        SLl    0:01 /usr/bin/gnome-keyring-daemon --daemonize --login
24807 ?        S      0:00  \_ /usr/bin/ssh-agent -D -a /run/user/1001/keyring/.ssh

The one that is actually being used is:
$ sudo fuser /run/user/1001/keyring/ssh
/run/user/1001/keyring/ssh: 23067

Which is the one from gnome-keyring-daemon.  So why is gnome-session starting one and how do I disable that?  It seems that the GNOME startup ought to figure that all out for me and only start one.

Comment 1 Ben Cotton 2020-04-30 20:52:41 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Ben Cotton 2020-05-26 17:39:25 UTC
Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

Note You need to log in before you can comment on or make changes to this bug.