GNOME Bugzilla – Bug 632352
Crash when changing password
Last modified: 2010-10-19 20:35:59 UTC
gnome-keyring-daemon aborts when I change the password of the currently logged in account. I could reproduce this several times with two different user accounts. Please ask if you need further debugging. gnome-keyring version 2.92.92.is.2.31.91-0ubuntu4 (don't laugh! ;-) (Ubuntu 10.10) https://bugs.launchpad.net/bugs/662046
+ Trace 224183
Interesting. Could you post any relevant output from /var/log/auth.log?
Oct 18 19:14:12 milan passwd[2703]: pam_unix(passwd:chauthtok): password changed for milan Oct 18 19:14:12 milan gnome-keyring-daemon[2707]: gp11_module_new: assertion `funcs' failed Oct 18 19:14:12 milan gnome-keyring-daemon[2707]: **#012ERROR:gp11-module.c:191:lock_private: assertion failed: (GP11_IS_MODULE (obj)) Oct 18 19:14:12 milan passwd[2708]: couldn't read data from gnome-keyring-daemon: unexpected end of data Oct 18 19:14:12 milan passwd[2703]: gkr-pam: couldn't change password for the login keyring. Oct 18 19:14:12 milan passwd[2703]: Passphrase file wrapped But I just noticed something weird: the crash only happens when changing password using users-admin. When using passwd directly or gnome-about-me, it works fine. Though, users-admin shares most of the code with the latter, and they both run passwd in the background. The only explanation I can see is that users-admin runs passwd to check that the password you entered is valid, and then runs another passwd instance in parallel to do the actual change. So that means two authentications, and one change; this can be confusing for g-k-d...
Thanks for the clear bug report. This should fix the problem. commit 9ed868758a071cd478ba2431949abf225f4f9426 Author: Stef Walter <stef@memberwebs.com> Date: Tue Oct 19 02:34:01 2010 +0000 [daemon] Check that daemon is initialized before changing password. Before changing login keyring password or unlocking, check that daemon is initialized. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=632352
Cool, thanks! I'm not really motivated to try it now, but I'll report if I still get the crash with the bugfix release.