I agree with you that this is a gnome-keyring bug (didn't know how dbus works when I reported this)
$ cat /usr/share/dbus-1/services/org.freedesktop.secrets.service [D-BUS Service] Name=org.freedesktop.secrets Exec=/usr/bin/gnome-keyring-daemon --start --foreground --components=secrets This file is the same on all systems I tested. If I run the Exec command with sudo the faulty systems report this: $ sudo /usr/bin/gnome-keyring-daemon --start --foreground --components=secrets ** (gnome-keyring-daemon:30328): WARNING **: couldn't create socket directory: No such file or directory ** (gnome-keyring-daemon:30328): WARNING **: couldn't bind to control socket: /root/.cache/keyring-9D34R9/control: No such file or directory I created 'sudo mkdir /root/.cache' and voila no more timeout and no more dbus exceptions :D So the fix would be in gnome-keyring-daemon to create '$HOME/.cache' if it isn't available. ** Changed in: gnome-keyring (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1181344 Title: python-keyring timeout on import if started with sudo To manage notifications about this bug go to: https://bugs.launchpad.net/python-secretstorage/+bug/1181344/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs