From 77c37392a4c37589312967e7a13605bccc2d8f53c43c453dfb8480210b5a309d Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Fri, 31 Mar 2023 13:08:07 +0000 Subject: [PATCH] - Include pam_keyinit.so in our systemd-user PAM service (bsc#1209741) That way "systemd --user" instances get their own session keyring instead of the user default session keyring. For some reasons cifscreds refuses to work with the latter. That's what is expected for every PAM session anyway. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1365 --- systemd-user | 1 + systemd.changes | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/systemd-user b/systemd-user index 2e1fb802..6a91d1e5 100644 --- a/systemd-user +++ b/systemd-user @@ -21,4 +21,5 @@ account include common-account session required pam_selinux.so close session required pam_selinux.so nottys open session required pam_loginuid.so +session optional pam_keyinit.so force revoke session include common-session diff --git a/systemd.changes b/systemd.changes index 6c641cd6..27b768ca 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Mar 31 12:55:21 UTC 2023 - Franck Bui + +- Include pam_keyinit.so in our systemd-user PAM service (bsc#1209741) + + That way "systemd --user" instances get their own session keyring instead of + the user default session keyring. For some reasons cifscreds refuses to work + with the latter. That's what is expected for every PAM session anyway. + ------------------------------------------------------------------- Tue Mar 28 16:01:58 UTC 2023 - Franck Bui