Subject: Re: [bug#41048] [PATCH] doc: add comment about ofl for Pam mount.

From: Ludovic Courtès <[email-masked]>
Date: Wed, 02 Sep 2020 16:49:38 +0200

Hi,

This patch fell through the cracks…

Michael Rohleder <[email-masked]> skribis:

> Pam mount uses `ofl` from hxtools [1] to kill processes that have open
> files on the filesystem mounted.
> As we dont have hxtools (and I think we shouldnt), one has to configure
> pam mount to use something else, eg `fuser`. This is an attempt to
> document that somehow.
>
> From 7a3cd9cd00cbd95e599a8d79400591e2fc589f33 Mon Sep 17 00:00:00 2001
> From: Michael Rohleder <[email-masked]>
> Date: Sun, 3 May 2020 14:17:37 +0200
> Subject: [PATCH] doc: add comment about ofl for Pam mount.
>
> * doc/guix.texi: (Pam Mount) add comment about ofl.
> ---
>  doc/guix.texi | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/doc/guix.texi b/doc/guix.texi
> index d5d8662937..aa182df183 100644
> --- a/doc/guix.texi
> +++ b/doc/guix.texi
> @@ -25441,6 +25441,8 @@ the partition where he stores his data:
>                         (hup "0")
>                         (term "no")
>                         (kill "no")))
> +            ;; if anything above is "true":
> +            ;; (ofl "/run/current-system/profile/bin/fuser -km %(MNTPT)")

It’s not clear what these two lines mean.  The idea is to tell users to
configure PAM Mount to use ‘fuser’ as a replacement for ‘ofl’, right?  I
think that’d deserve one or two sentences of explanation.  WDYT?

Thanks,
Ludo’.