Bug 743044

Summary: [Patch] Dont Nag me because I dont use gnome-keyring
Product: [Fedora] Fedora Reporter: dex <dex.mbox>
Component: kde-settingsAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jreznik, kevin, ltinkl, rdieter, rnovacek, smparrish, than
Target Milestone: ---Keywords: Patch, Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kde-settings-4.7-12.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-20 05:31:53 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:
Attachments:
Description Flags
patch none

Description dex 2011-10-03 16:55:12 UTC
Created attachment 526102 [details]
patch

Description of problem:

Every time I login /var/log/secure contains:

Oct  3 16:18:24 FedoraLive kdm: :0[10480]: PAM unable to dlopen(/lib/security/pam_gnome_keyring.so): /lib/security/pam_gnome_keyring.so: cannot open shared object file: No such file or directory
Oct  3 16:18:24 FedoraLive kdm: :0[10480]: PAM adding faulty module: /lib/security/pam_gnome_keyring.so

How reproducible:
login

Expected results:
silence

Additional info:
this is a kde box!

Comment 1 Rex Dieter 2011-10-03 17:05:19 UTC
We won't remove support for pam_gnome_keyring, doing so will break gnome-keyring-using apps from desktop sessions started by kdm.

Now, if there's some way to suppress pam complaining about *optional* pam modules, or some other way to dynamically add support for additional pam modules, then let's talk. (and feel free to re-open).

Comment 2 dex 2011-10-03 17:46:23 UTC
the patch only silences the nag, from pam docs:
4.1. Configuration file syntax
...
"If the type value from the list above is prepended with a - character the PAM library will not log to the system log if it is not possible to load the module because it is missing in the system. This can be useful especially for modules which are not always installed on the system and are not required for correct authentication and authorization of the login session."

Comment 3 Rex Dieter 2011-10-03 18:08:00 UTC
oh! I misread the patch.  Very nice, thanks!

Comment 4 Rex Dieter 2011-10-05 17:08:37 UTC
%changelog
* Wed Oct 05 2011 Rex Dieter <rdieter> 4.7-10
- don't spam syslog if pam-gnome-keyring is not present (#743044)

for rawhide, will do f16 update here shortly.

Comment 5 Fedora Update System 2011-10-13 02:11:43 UTC
kde-settings-4.7-11.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/kde-settings-4.7-11.fc16

Comment 6 Fedora Update System 2011-10-13 18:09:34 UTC
Package kde-settings-4.7-11.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kde-settings-4.7-11.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14234
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2011-10-16 00:37:40 UTC
Package kde-settings-4.7-12.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kde-settings-4.7-12.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14234
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2011-10-19 04:38:24 UTC
kde-settings-4.7-12.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Rex Dieter 2011-10-27 17:25:17 UTC
Boo, testing my f16 box now, I see adding - as suggested here doesn't seem to work as advertised (gnome-keyring doesn't work).

re-opening for now

Comment 10 Rex Dieter 2011-11-20 05:31:53 UTC
closing, seems it sometimes doesn't work even with this patch reversed, something else is going on.