gnome-keyring-daemon fails to start with autologin enabled

Bug #344014 reported by Florent
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Jaunty by Florent
gnome-keyring (Ubuntu)
Invalid
Low
Unassigned
Nominated for Jaunty by Florent

Bug Description

Binary package hint: gnome-keyring

With last Jaunty update, the gnome-keyring-daemon fails to start if you enable the GDM autologin feature.

gnome-keyring 2.26.0-0ubuntu2
gdm 2.20.9-0ubuntu1

florent@jaunty:~$ grep keyring .xsession_errors
Failed to run gnome-keyring-daemon: Failed to start child process « gnome-keyring-daemon » (No such file or directory)
** (nm-applet:3970): WARNING **: couldn't communicate with gnome keyring daemon via dbus: Failed to execute program gnome-keyring-daemon: Success
** (nm-applet:3970): WARNING **: couldn't communicate with gnome keyring daemon via dbus: Failed to execute program gnome-keyring-daemon: Success

Revision history for this message
Florent (florent.x) wrote :

Wrong assumption. Need further review.

Changed in gnome-keyring:
assignee: nobody → florent.x
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, I'm not confirming the issue

Changed in gnome-keyring (Ubuntu):
importance: Undecided → Low
Revision history for this message
Florent (florent.x) wrote :

The problem occurs when GDM autologin is enabled.
I changed the description.

Few hours before, it was working smoothly (with previous version).

description: updated
Changed in gnome-keyring:
assignee: florent.x → nobody
status: Incomplete → New
Revision history for this message
Lucazade (lucazade) wrote :

I can confirm this bug on my Jaunty system.
If I use gdm autologin gnome-keyring-daemon doesn't work and i get the same warnings.

Revision history for this message
Florent (florent.x) wrote :

Now it is confirmed.

Maybe reassess the bug importance to "Medium": this is annoying since the NetworkManager requires the keyring to unlock the wireless key.

Changed in gnome-keyring:
status: New → Confirmed
Revision history for this message
Lucazade (lucazade) wrote :

there is also a post on jaunty forum about this issue:
http://ubuntuforums.org/showthread.php?t=1103184

Revision history for this message
Jeremy Nickurak (nickurak) wrote :

This is a pretty major one for me.

Since gnome-keyring-daemon is started automatically, and appears to not like to be started manually, what's the best way to help produce more debugging information to help this get fixed?

Revision history for this message
Jeremy Nickurak (nickurak) wrote :

And I should point out, i seem to be having this issue regardless of whether autologin is enabled. Is this bug description correct, or is this a much broader-hitting bug than described?

Revision history for this message
Florent (florent.x) wrote :

@Jeremy

I have autologin enabled. I confirm that the keyring does not start.

But if I logout, then logon again to the session, the gnome keyring is correctly started.

However, if you need to start it manually, the command is :
  gnome-keyring-daemon --start

It will complain, but it starts the process.

user@jaunty$ gnome-keyring-daemon --start
** Message: couldn't set environment variable in session: The name org.gnome.SessionManager was not provided by any .service files
GNOME_KEYRING_SOCKET=/tmp/keyring-GEkpjk/socket
SSH_AUTH_SOCK=/tmp/keyring-GEkpjk/socket.ssh
GNOME_KEYRING_PID=7979

user@jaunty$ ps 7979
  PID TTY STAT TIME COMMAND
 7979 pts/2 SL 0:00 gnome-keyring-daemon --start

Revision history for this message
Jeremy Nickurak (nickurak) wrote :

Okay, thanks. I'm looking at a different issue then. I'll look elsewhere.

Revision history for this message
Rocko (rockorequin) wrote :

I also get this problem with autologin NOT enabled - I opened bug #356703 earlier before I saw this one. But if this bug is only for when autologin is enabled, mine is not a duplicate.

I also found a reference to the daemon not working at http://<email address hidden>/msg632785.html.

Revision history for this message
Florent (florent.x) wrote :

Actually, PAM is in charge of spawning gnome-keyring-daemon.

I applied the instructions here, and it works nicely:
/usr/share/doc/libpam-gnome-keyring/README.Debian

Changed in gnome-keyring (Ubuntu):
status: Confirmed → Invalid
Changed in gdm (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

not sure that your change is correct, the pam integration is just useful to unlock the keyring when a password is entered, it's not required to get it started

Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue rather seems to be bug #344444

Revision history for this message
Florent (florent.x) wrote :

thank you for the details. I understand that gnome-keyring-daemon should be started "on-demand" using the DBus interface.

Incidentally I opened a bug because xfce4-session try (and fails) to run gnome-keyring-daemon. bug #357346

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.