nm-applet does not start on login after gnome-keyring was configurated with a empty password

Bug #549332 reported by i30817
58
This bug affects 11 people
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
New
Undecided
Unassigned

Bug Description

i30817@ubuntu:~$ lsb_release -rd
Description: Ubuntu lucid (development branch)
Release: 10.04
i30817@ubuntu:~$ apt-cache policy network-manager
network-manager:
  Installed: 0.8-0ubuntu2
  Candidate: 0.8-0ubuntu2
  Version table:
 *** 0.8-0ubuntu2 0
        500 http://archive.ubuntumirror.dei.uc.pt/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
i30817@ubuntu:~$ apt-cache policy gnome-keyring
gnome-keyring:
  Installed: 2.92.92git20100322-0ubuntu2
  Candidate: 2.92.92git20100322-0ubuntu2
  Version table:
 *** 2.92.92git20100322-0ubuntu2 0
        500 http://archive.ubuntumirror.dei.uc.pt/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

After update gnome keyring must have reset the config files because it requested a new master password.
I decided to put a empty string so it wouldn't bore me on every login. However after reboot the nm-applet no longer started automatically (it is in the start programs with "nm-applet --sm-disable"). So i waited a day and updated again (there was a network manager update). No change. So i deleted all home hidden files, rebooted and still no change (the keyring still didn't ask me for a new master key, so that configuration should be elsewhere i guess).
Only been able to start the nm-applet from the command line, where it spams:
i30817@ubuntu:~$ nm-applet
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: <info> No keyring secrets found for Auto ThomsonDB5FDA/802-11-wireless-security; asking user.

** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** (nm-applet:1630): DEBUG: old state indicates that this was not a disconnect 0
** (nm-applet:1630): DEBUG: foo_client_state_changed_cb
 ^@** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** (nm-applet:1630): DEBUG: foo_client_state_changed_cb

Revision history for this message
i30817 (i30817) wrote :

Forgot to mention, currently i'm configurated to autologin.

Revision history for this message
i30817 (i30817) wrote :

Here is the syslog

Revision history for this message
Hannibal (pawel-sasin) wrote :

The same situation here.

I have a configured GSM connection with all the credentials saved in connection options (authentication and PIN). nm-applet refuses to autostart on login and if I run it by hand I get the same messages as in post #1 (nm-applet appears in taskbar). Then I cannot use my GSM connection (np-applet asks me for credentials notoriously, as if it could not see the saved options).

I've noticed also that if I run the keyring daemon by hand:

$ gnome-keyring-daemon -f
GNOME_KEYRING_CONTROL=/tmp/keyring-PTN1MI
SSH_AUTH_SOCK=/tmp/keyring-PTN1MI/ssh
GNOME_KEYRING_PID=7595

[...]

and try to use my GSM connection, then I get an authentication request from the keyring daemon ('Enter password to unlock your login keyring') and everything is OK.

I guess that this is rather a problem with keyring than with NetworkManager.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu lucid (development branch)
Release: 10.04
Codename: lucid

Revision history for this message
i30817 (i30817) wrote : Re: [Bug 549332] Re: nm-applet does not start on login after gnome-keyring was configurated with a empty password

I reinstalled and it works now. Hope it continues.
Then again i don't recall the new install asking for a master password yet.

Revision history for this message
Jim Utter (jutter) wrote :

I'm affected by this as well but i don't have an empty password. If I run the same procedure above of:

   gnome-keyring-daemon -f
     then
   nm-applet
     (enter same password as login password)

it then works. I'm just a general user and not really sure what the purpose of the keyring is but rather simply looking for a fix so the nm-applet will auto-start on login. Is there one as reinstalling is not an option?

Revision history for this message
acidrums4 (acidrums4) wrote :

I have the same issue but with mail-notification-applet, under Gentoo: mail-notification doesn't read (and write) passwords from gnome-keyring (Each 5 minutes mail-notifications asks for the password of my mailboxes). When I log out and log in again (without restarting), mail-notification works normally and can read and save passwords. It is a problem of gnome-keyring, not a problem of nm-applet.

Revision history for this message
NeTgUeSh (netguesh) wrote :

I have the same issue but with bzr (using ssh) under Ubuntu Lucid.

** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
bzr: ERROR: gnomekeyring.IOError:

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    attaching the crash file
        /home/LOGIWAYS/mfigueiredo/.cache/crash/bzr-20100603122523-2330.crash
    and including a description of the problem.

    The crash file is plain text and you can inspect or edit it to remove
    private information.

$PROMPT > gnome-keyring-daemon -f # on a terminal, and then
$PROMPT > bzr push # on a another terminal works fine.

This bug is already tracked : https://bugzilla.gnome.org/show_bug.cgi?id=611002

After testing several solution (google is my friend), this workaround works on my Ubuntu.

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

Other bug subscribers

Bug attachments

Remote bug watches

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