Bug 471762

Summary: Add possibility to not log missing optional module
Product: [Fedora] Fedora Reporter: Kieran Clancy <clancy.kieran+redhat>
Component: pamAssignee: Tomas Mraz <tmraz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: tmraz
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pam-1.0.90-1.fc11 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-09 15:43:25 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:

Description Kieran Clancy 2008-11-15 23:55:09 UTC
Description of problem:
If Fedora is installed without X11/gnome/etc, gnome-keyring-pam is not included in the install. This leads to messages like this being logged in /var/log/secure:
Nov  9 20:00:01 localhost passwd: PAM unable to dlopen(/lib64/security/pam_gnome_keyring.so): /lib64/security/pam_gnome_keyring.so: cannot open shared object file: No such file or directory
Nov  9 20:00:01 localhost passwd: PAM adding faulty module: /lib64/security/pam_gnome_keyring.so

This is due to the line in /etc/pam.d/passwd:
password   optional     pam_gnome_keyring.so

passwd should either depend on gnome-keyring-pam, or gnome-keyring-pam should add that extra line in /etc/pam.d/passwd as a postinstall.

Version-Release number of selected component (if applicable):
passwd-0.75-2.fc9.x86_64
pam-1.0.1-4.fc9.x86_64

Comment 1 Tomas Mraz 2008-11-18 09:09:25 UTC
We should rather enhance PAM to be able not to log missing optional modules.