Everytime I lock screen on Plasma, there is these logs in journalctl --user. mars 14 18:27:22 pasokon.maison kscreenlocker_greet[49376]: PAM unable to dlopen(/lib64/security/pam_pkcs11.so): /lib64/security/pam_pkcs11.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce nom mars 14 18:27:22 pasokon.maison kscreenlocker_greet[49376]: PAM adding faulty module: /lib64/security/pam_pkcs11.so mars 14 18:27:22 pasokon.maison kscreenlocker_greet[49376]: PAM unable to dlopen(/lib64/security/pam_fprintd.so): /lib64/security/pam_fprintd.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce nom mars 14 18:27:22 pasokon.maison kscreenlocker_greet[49376]: PAM adding faulty module: /lib64/security/pam_fprintd.so It seems that there are two missing dependencies. Reproducible: Always Steps to Reproduce: 1. Lock screen on Plasma 2. Unlock screen on Plasma 3. Check journalctl --user logs Actual Results: kscreenlocker_greet complains about missing PAM module. Expected Results: No complain because libs are installed as dependencies. Or, maybe, no complain because not selected by a USE flag or something?
Please replicate the changes to both installed pam files on your system and re-test: https://github.com/gentoo/gentoo/pull/35612/files#diff-98c7effda97a032adfd54d97784a321015ffbc03666e07915ef943b29a99a193 https://github.com/gentoo/gentoo/pull/35612/files#diff-9fd8daeb6775920e6c67b30244d1333e821da604fb0b09629006d19a7413cd1d Notice the prepended '-' there.
(In reply to Andreas Sturmlechner from comment #1) > Please replicate the changes to both installed pam files on your system and > re-test: > > https://github.com/gentoo/gentoo/pull/35612/files#diff- > 98c7effda97a032adfd54d97784a321015ffbc03666e07915ef943b29a99a193 > https://github.com/gentoo/gentoo/pull/35612/files#diff- > 9fd8daeb6775920e6c67b30244d1333e821da604fb0b09629006d19a7413cd1d > > Notice the prepended '-' there. I confirm that prepending '-' removes messages in journalctl --user. As far as I can see, there is no side effect.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffcf0678eb4119b6b58aa60fcaf25a22dd8489cd commit ffcf0678eb4119b6b58aa60fcaf25a22dd8489cd Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-03-28 21:17:39 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-03-30 21:03:01 +0000 kde-plasma/kscreenlocker: Silence optional pam modules warnings Also backport upstream commit 3105518ec3bc3ac88374e2c3b204f23feda91b5b to fix a race condition. See also: https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/150 Closes: https://bugs.gentoo.org/927032 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../{kde6-fingerprint.pam => kde-fingerprint.pam} | 2 +- .../kscreenlocker/files/{kde6.pam => kde-r1.pam} | 0 .../{kde6-smartcard.pam => kde-smartcard.pam} | 2 +- .../kscreenlocker-6.0.3-fix-lockscreen-race.patch | 47 ++++++++++++++++++++++ ...-6.0.3.ebuild => kscreenlocker-6.0.3-r1.ebuild} | 9 +++-- 5 files changed, 54 insertions(+), 6 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=53c0886f621f768c82b95cf1b1aa53ec0da40724 commit 53c0886f621f768c82b95cf1b1aa53ec0da40724 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-03-28 21:17:39 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-04-16 19:59:40 +0000 kde-plasma/kscreenlocker: Silence optional pam modules warnings Bug: https://bugs.gentoo.org/927032 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/{kde6-fingerprint.pam => kde-fingerprint.pam} | 2 +- kde-plasma/kscreenlocker/files/{kde6.pam => kde-r1.pam} | 0 .../kscreenlocker/files/{kde6-smartcard.pam => kde-smartcard.pam} | 2 +- kde-plasma/kscreenlocker/kscreenlocker-6.0.49.9999.ebuild | 7 +++---- kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild | 7 +++---- 5 files changed, 8 insertions(+), 10 deletions(-)