GNU bug report logs - #52649
[PATCH] Fix pam-mount when using sddm login manager.

Previous Next

Package: guix-patches;

Reported by: Nick Zalutskiy <nick <at> const.fun>

Date: Sat, 18 Dec 2021 22:42:02 UTC

Severity: normal

Tags: patch

Done: Guillaume Le Vaillant <glv <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nick Zalutskiy <nick <at> const.fun>
To: 52649 <at> debbugs.gnu.org
Cc: Nick Zalutskiy <nick <at> const.fun>
Subject: [bug#52649] [PATCH] Fix pam-mount when using sddm login manager.
Date: Sat, 18 Dec 2021 14:57:08 -0500
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(-)

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)
-- 
2.34.0





This bug report was last modified 3 years and 127 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.