For some time now, sys-auth/pambase installs a pam.d/system-auth file containing the line -session optional pam_libcap.so However, the pam file installed by sys-libs/libcap +pam is called pam_cap.so, not pam_libcap.so. Could you please check? Reproducible: Always
Commit 405452a4aa5a9ae06169b0aa1c394a4cae9c1c5c (https://gitweb.gentoo.org/proj/pambase.git/commit/?id=405452a4aa5a9ae06169b0aa1c394a4cae9c1c5c) present in >=sys-auth/pambase-20200804 introduced this regression: --- a/system-auth.in +++ /dev/null ... -#if HAVE_LIBCAP -auth optional pam_cap.so -#endif --- /dev/null +++ b/templates/system-auth.tpl ... +{% if libcap -%} +-session optional pam_libcap.so +{% endif -%}
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/pambase.git/commit/?id=47a7d6f7477ac279b271babd970d2b4b6839fdb5 commit 47a7d6f7477ac279b271babd970d2b4b6839fdb5 Author: Sam James <sam@gentoo.org> AuthorDate: 2020-10-26 21:15:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-10-26 22:48:39 +0000 templates/system-auth.tpl: fix libcap module name Bug: https://bugs.gentoo.org/750524 Signed-off-by: Sam James <sam@gentoo.org> templates/system-auth.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72038665ef97d89a5e96a7752e4d147b75f0a06c commit 72038665ef97d89a5e96a7752e4d147b75f0a06c Author: Sam James <sam@gentoo.org> AuthorDate: 2020-10-27 00:16:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-10-27 00:17:07 +0000 sys-auth/pambase: bump to 20201026 Sam James (3): templates/system-login.tpl: always need faillock templates/system-auth.tpl: skip pam_unix with krb5 templates/system-auth.tpl: fix libcap module name Bug: https://bugs.gentoo.org/750524 Bug: https://bugs.gentoo.org/748405 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org> sys-auth/pambase/Manifest | 1 + sys-auth/pambase/pambase-20201026.ebuild | 99 ++++++++++++++++++++++++++++++++ 2 files changed, 100 insertions(+)
Fix is in stable now.