After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 607085 - Multiple instances of gnome-keyring-daemon since upgrading gnome from 2.28.0 to 2.29.5
Multiple instances of gnome-keyring-daemon since upgrading gnome from 2.28.0 ...
Status: RESOLVED FIXED
Product: gnome-keyring
Classification: Core
Component: general
2.29.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-01-15 16:19 UTC by David Ronis
Modified: 2010-02-17 15:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30



Description David Ronis 2010-01-15 16:19:35 UTC
The summary says it all.  I just finished rebuilding gnome using this week's 2.29.5 releases.  I notice 3 instances of gnome-keyring-daemon running instead of the single instance I had in 2.28.   Don't know if this is a bug, but as several other apps have developed problems (hangs), I though I would report it in case  this was some sort of keyring deadlock.
Comment 1 Stef Walter 2010-02-07 18:25:02 UTC
Is this still an issue? This sounds like an issue that may have been fixed recently, but I'm not sure.

If so could you give the complete ps output for those processes? I'm interested in the arguments to each process.

Thanks!
Comment 2 David Ronis 2010-02-07 18:48:57 UTC
Here they are:

ronis     2967  0.0  0.1  32000  2220 tty1     Sl   12:30   0:00 gnome-keyring-daemon --start --components=ssh
ronis     2970  0.0  0.1  23808  2328 tty1     Sl   12:30   0:00 gnome-keyring-daemon --start --components=secrets
ronis     2973  0.0  0.1  23808  2304 tty1     Sl   12:30   0:00 gnome-keyring-daemon --start --components=pkcs11
Comment 3 David Ronis 2010-02-09 19:01:21 UTC
I just upgraded to 2.29.90; the problem remains.
Comment 4 Stef Walter 2010-02-09 20:18:36 UTC
Yes, I figured out what the problem is. It's a scenario where the user is running without the PAM module. I'll work on fixing it, but didn't get a chance to do so before 2.29.90
Comment 5 Stef Walter 2010-02-14 05:25:49 UTC
Fixed in git master. If you can, could you try rebuilding from git, and see if this fixes your problem?

commit 43590189620c9dc5cda9854fef899fe89b24d308
Author: Stef Walter <stef@memberwebs.com>
Date:   Sun Feb 14 05:15:10 2010 +0000

    [daemon] Rework the startup again, singleton crontrolled via dbus.
    
    Account for starting dbus via the autostart files (ie: various
    components individually), but without a gnome-keyring-daemon running
    from pam. This previously caused multiple processes. We use a dbus
    singleton in this case.
Comment 6 David Ronis 2010-02-15 18:28:07 UTC
I just tried building the git-master.  Configure dies with:

configure.in:336: warning: macro `AM_PATH_LIBGCRYPT' not found in library
Running autoconf...
configure.in:336: error: possibly undefined macro: AM_PATH_LIBGCRYPT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
make: *** [pre-configure] Error 1

I had libgcrypt-1.4.0 installed, and just upgraded to 1.4.5 (the current release).  The problem remains.
Comment 7 Stef Walter 2010-02-16 02:02:17 UTC
Have you installefd the -dev or -devel package of libgcrypt in order to compile software that depends on it?

Let's leave this marked as fixed, unless you actually find a real problem with the fix.
Comment 8 David Ronis 2010-02-16 02:40:56 UTC
OK

I think that slackware and/or the manual build of libgcrypt installs the devel packages, at least

/usr/share/aclocal/libgcrypt.m4
/usr/include/gcrypt.h
/usr/include/gcript-module.h
/usr/lib/libgcrypt.so

are all present.

In any event, I was able to build gnome-keyring-2.29.5 with no problems.  On thing different with the git build is that autogen.sh is run first, whereas I used the included configure that came with the released tarballs.
Comment 9 David Ronis 2010-02-16 03:22:00 UTC
OK, the problem seems to be my aclocal not looking in the right places.  I fixed this by setting up some links.   gnome-keyring now builds and only one main instance is run when I start (here are two children threads though).

Thanks for your help.
Comment 10 Stef Walter 2010-02-17 15:22:41 UTC
Great! Thanks for catching this problem.