Subject: bug#62699: closed (Re: bug#62699: [PATCH v2] services: add pam-mount-volume-service-type)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 09 Aug 2023 10:31:02 +0000

Your bug report

#62699: [PATCH] services: add pam-mount-volume-service-type

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].

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

Subject: Re: bug#62699: [PATCH v2] services: add pam-mount-volume-service-type
From: Ludovic Courtès <[email-masked]>
To: Brian Cully <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Wed, 09 Aug 2023 12:30:23 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Brian Cully <[email-masked]> skribis:

> The `pam-mount-volumes-service-type' adds additional volumes to the
> pam-mount-service-type in addition to any that are already specified in
> `pam-mount-rules'.
>
> * doc/guix.texi (PAM Mount Volume Service): add documentation for
> `pam-mount-service-type'.
> * gnu/services/pam-mount.scm: new file.
> * Makefile.am: add pam-mount tests
> * tests/services/pam-mount.scm: new tests

Applied with the changes below.

Thanks!

Ludo’.

diff --git a/gnu/services/pam-mount.scm b/gnu/services/pam-mount.scm
index 8a38d6b1cc..dbb9d0285f 100644
--- a/gnu/services/pam-mount.scm
+++ b/gnu/services/pam-mount.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2019 Guillaume Le Vaillant <[email-masked]>
+;;; Copyright © 2023 Brian Cully <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -220,4 +221,6 @@ (define pam-mount-volume-service-type
                 (extend append)
                 (default-value '())
                 (description
-                 "Volumes to be mounted during PAM-assisted login.")))
+                 "Mount remote volumes such as CIFS shares @i{via}
+@acronym{PAM, Pluggable Authentication Modules} when logging in, using login
+credentials.")))

Subject: [PATCH] services: add pam-mount-volume-service-type
From: Brian Cully <[email-masked]>
To: [email-masked]
Date: Thu, 06 Apr 2023 12:43:55 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

This patch allows adding additional volumes to be mounted at login 
time via PAM by way of ‘pam-mount-volume-service-type’. As an 
example usage, I use it to mount a CIFS share which requires 
authentication automatically on login without having to type my 
password twice (since my local system has the same username and 
password as the system hosting my CIFS share).

-bjc