Bug 471762 - Add possibility to not log missing optional module
Summary: Add possibility to not log missing optional module
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pam
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-15 23:55 UTC by Kieran Clancy
Modified: 2009-03-09 15:43 UTC (History)
1 user (show)

Fixed In Version: pam-1.0.90-1.fc11
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-09 15:43:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.