Subject: bug#52649: closed (Re: [bug#52649] [PATCH] Fix pam-mount when using sddm login manager.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 16 Jan 2022 23:20:01 +0000

Your bug report

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

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
52649: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52649
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#52649] [PATCH] Fix pam-mount when using sddm login manager.
From: Guillaume Le Vaillant <[email-masked]>
To: Nick Zalutskiy <[email-masked]>
Cc: [email-masked]
Date: Sun, 16 Jan 2022 23:18:20 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Patch pushed as 757be0e8af0805ea354a7003a1e2b71475caf9ae with a modified
commit message.
Thanks.

Subject: [PATCH] Fix pam-mount when using sddm login manager.
From: Nick Zalutskiy <[email-masked]>
To: [email-masked]
Cc: Nick Zalutskiy <[email-masked]>
Date: Sat, 18 Dec 2021 14:57:08 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

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