mate-desktop / mate-screensaver

MATE screen saver and locker
https://mate-desktop.org
GNU General Public License v2.0
48 stars 40 forks source link

Do not log errors for missing `pam_gnome_keyring.so` #254

Closed kimsin98 closed 8 months ago

kimsin98 commented 2 years ago

Expected behaviour

If pam_gnome_keyring.so does not exist, silently ignore it. This can be achieved by using -auth in PAM configuration like lightdm (see pam.conf man pages).

Actual behaviour

mate-screensaver logs an error every time it is used because it tries to look for pam_gnome_keyring.so.

Steps to reproduce the behaviour

Install mate-screensaver without gnome-keyring

MATE general version

1.26

Package version

1.26.0

Linux Distribution

Arch Linux

Link to bugreport of your Distribution (requirement)

https://bugs.archlinux.org/task/72223

zhuyaliang commented 2 years ago
# Fedora Core
auth       include  system-auth
-auth       optional     pam_gnome_keyring.so