diff mbox series

[bug#52649] Fix pam-mount when using sddm login manager.

Message ID 20211218195708.82434-1-nick@const.fun
State Accepted
Headers show
Series [bug#52649] Fix pam-mount when using sddm login manager. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Nick Zalutskiy Dec. 18, 2021, 7:57 p.m. UTC
I noticed that pam_mount mounts work fine when loging into a textual
session, but not when using sddm. This patch fixes this problem by
ensuring that pam_mount.so is included in /etc/pam.d/sddm config file.


---
 gnu/services/pam-mount.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Guillaume Le Vaillant Jan. 16, 2022, 11:18 p.m. UTC | #1
Patch pushed as 757be0e8af0805ea354a7003a1e2b71475caf9ae with a modified
commit message.
Thanks.
diff mbox series

Patch

diff --git a/gnu/services/pam-mount.scm b/gnu/services/pam-mount.scm
index 98611462c2..33649b0f7c 100644
--- a/gnu/services/pam-mount.scm
+++ b/gnu/services/pam-mount.scm
@@ -90,7 +90,7 @@  (define optional-pam-mount
      (module #~(string-append #$pam-mount "/lib/security/pam_mount.so"))))
   (list (lambda (pam)
           (if (member (pam-service-name pam)
-                      '("login" "su" "slim" "gdm-password"))
+                      '("login" "su" "slim" "gdm-password" "sddm"))
               (pam-service
                (inherit pam)
                (auth (append (pam-service-auth pam)