GNU bug report logs - #39551
Cannot declare an NFS mount using the <file-system> record

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Mon, 10 Feb 2020 19:43:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Giovanni Biscuolo <g <at> xelera.eu>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, 39551 <at> debbugs.gnu.org
Subject: bug#39551: Cannot declare an NFS mount using the <file-system> record
Date: Wed, 12 Feb 2020 19:30:50 +0100
[Message part 1 (text/plain, inline)]
Hello,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> The attached patch fixes this issue

[...]

> diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
> index b0386a1392..26a1599a93 100644
> --- a/guix/scripts/system.scm
> +++ b/guix/scripts/system.scm
> @@ -566,6 +566,8 @@ any, are available.  Raise an error if they're not."
>                (and (file-system-mount? fs)
>                     (not (member (file-system-type fs)
>                                  %pseudo-file-system-types))
> +                   ;; Fixes issue #39551 (see: https://bugs.gnu.org/39551).
> +                   (not (string-prefix? "nfs" (file-system-type fs)))
>                     (not (memq 'bind-mount (file-system-flags fs)))))
>              file-systems))

Please is it possible to also add nfs4 to this fix?

Thanks! Gio'

-- 
Giovanni Biscuolo

Xelera IT Infrastructures
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 93 days ago.

Previous Next


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