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
We should rather enhance PAM to be able not to log missing optional modules.