Bug 596099
Summary: | gnome keyring password does not change when user password changes. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Huzaifa S. Sidhpurwala <huzaifas> | ||||
Component: | gdm | Assignee: | jmccann | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | desktop-bugs <desktop-bugs> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.0 | CC: | caillon, cmeadors, cschalle, ddumas, dwalsh, jrieden, lkocman, mclasen, notting, rstrode | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | gdm-2.30.2-8.el6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-11-10 20:27:43 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 508787, 589257 | ||||||
Attachments: |
|
Description
Huzaifa S. Sidhpurwala
2010-05-26 10:17:08 UTC
Can you attach your /etc/pam.d files? Created attachment 417524 [details]
tar of all files in pam.d
Hm, without really knowing much about the code, my guess this is because chage is writing as root to /etc/shadow. From http://live.gnome.org/GnomeKeyring/Pam # If root changes the password, or /etc/shadow is directly edited [...], the 'login' keyring cannot be updated. Which pam stack is used for changing the password at login in this situation ? It needs to have the pam-gnome-keyring module in it. It may be that we need to add -password optional‣‧‧‧pam_gnome_keyring.so use_authtok to password-auth (or maybe just to gdm-password) ? yup sounds right. My gut says we want this in password-auth and system-auth not gdm-password because we want to catch people who happen to log into a tty first, as well. Moving to authconfig. I'll trust Tomas's judgement on this one though. If he thinks this belongs in gdm I'll fix it there. Both choices have its pros and cons: Putting it into password-auth and system-auth means that it will be called for all pamified services that handle the expired password change. However I strongly suspect that for most of them it will not work due to the missing rules in the SELinux policy and it will just generate AVCs. So I am not sure this is appropriate change for RHEL-6. If the module is put just to the gdm configuration files it of course means that it will not be called if someone logs in on the text console. On the other hand as the gnome-keyring is supposed to be used especially in the Gnome GUI, I do not think this would be too serious defect. fair enough. changing in gdm seems like the conservative choice given the selinux implications. Its on Rays list. Verified on gdm-2.30.2-8.el6.i686, gdm-2.30.2-8.el6.x86_64 Seems ok to me Taking back previous verification gnome-keyring works with old password: gdm-2.30.4-2.el6.x86_64 If gnome-keyring works with the old password AND the new password, that's not a problem in this bug fix. That means there may be an additional bug in gnome-keyring which should be filed, investigated and tracked separately. Hi Ray, sounds reasonable to me. Moving back to verified. Verified on: gdm-2.30.4-2.el6 gdm-2.30.4-5.el6 Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |