Red Hat Bugzilla – Bug 471762
Add possibility to not log missing optional module
Last modified: 2009-03-09 11:43:25 EDT
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):
We should rather enhance PAM to be able not to log missing optional modules.