← Back to team overview

desktop-packages team mailing list archive

[Bug 1271591] Re: upstart job race prevents gnome-keyring from being ssh agent

 

For those of us that don't want to use gnome-keyring-ssh and use ssh-
agent instead, this breaks our setup.

Previously, we were able to disable gnome-keyring-ssh by ediing
/etc/xdg/autostart/gnome-keyring-ssh.desktop and setting
NoDisplay=false. Then it would be visible in Startup Applications
Preferences and you could turn it off. (For mre details and screenshots,
see https://github.com/dlech/KeeAgent/issues/89#issuecomment-63449092)

However, now even though gnome-keyring-ssh is disabled at startup, these
new changes cause it to run anyway. What is the new way to disable
gnome-keyring-ssh?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-keyring in Ubuntu.
https://bugs.launchpad.net/bugs/1271591

Title:
  upstart job race prevents gnome-keyring from being ssh agent

Status in “gnome-keyring” package in Ubuntu:
  Fix Released
Status in “gnome-keyring” source package in Trusty:
  Fix Released

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_KEYRING_CONTROL/ssh" = "$SSH_AUTH_SOCK" ] && echo Good || Fail

  Expected output: Good

  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: gnome-session 3.9.90-0ubuntu5
  ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
  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)
  PackageArchitecture: all
  SourcePackage: gnome-session
  UpgradeStatus: Upgraded to trusty on 2014-01-17 (4 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/1271591/+subscriptions