upstart job race prevents gnome-keyring from being ssh agent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-keyring (Ubuntu) |
Fix Released
|
High
|
Dimitri John Ledkov | ||
Trusty |
Fix Released
|
High
|
Dimitri John Ledkov |
Bug Description
I expect gnome-keyring to be the ssh authentication agent when I am logged in to a graphical session.
Because of what I suspect is a race in upstart jobs, I believe SSH_AUTH_SOCK is being overwritten after gnome-keyring starts.
Perhaps the gnome-session job needs to make sure the ssh-agent job is finished?
[testcase]
1) Perform desktop login
2)
[ "$GNOME_
Expected output: Good
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gnome-session 3.9.90-0ubuntu5
ProcVersionSign
Uname: Linux 3.13.0-5-generic x86_64
ApportVersion: 2.13.1-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Jan 22 10:25:59 2014
InstallationDate: Installed on 2013-11-26 (56 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
PackageArchitec
SourcePackage: gnome-session
UpgradeStatus: Upgraded to trusty on 2014-01-17 (4 days ago)
tags: | added: ubuntu-desktop-trusty |
Changed in gnome-keyring (Ubuntu Trusty): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in gnome-keyring (Ubuntu): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in gnome-keyring (Ubuntu Trusty): | |
status: | Triaged → In Progress |
Changed in gnome-keyring (Ubuntu Trusty): | |
status: | In Progress → Triaged |
Changed in gnome-keyring (Ubuntu): | |
status: | Fix Released → In Progress |
Changed in gnome-keyring (Ubuntu Trusty): | |
assignee: | Dimitri John Ledkov (xnox) → James Hunt (jamesodhunt) |
Changed in gnome-keyring (Ubuntu): | |
assignee: | Dimitri John Ledkov (xnox) → James Hunt (jamesodhunt) |
Changed in gnome-keyring (Ubuntu): | |
assignee: | James Hunt (jamesodhunt) → Dimitri John Ledkov (xnox) |
status: | In Progress → Fix Released |
Changed in gnome-keyring (Ubuntu Trusty): | |
assignee: | James Hunt (jamesodhunt) → Dimitri John Ledkov (xnox) |
status: | Triaged → In Progress |
tags: | removed: ubuntu-desktop-trusty |
I was wondering, if that's just me or everyone. It appears that gnome-keyring does not ship user-session jobs & the default ssh-agent is used from openssh-client package, which does ship user-session job.
So gnome-keyring should provide user session jobs for all of it's agents & export the AGENT environment variables, similar to the ssh-agent job.