Subject: bug#39670: closed (Re: bug#39670: Cannot mount NFS share as user or root)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 28 May 2020 03:12:02 +0000

Your bug report

#39670: Cannot mount NFS share as user or root

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

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

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

Subject: Re: bug#39670: Cannot mount NFS share as user or root
From: Maxim Cournoyer <[email-masked]>
To: Nathan Dehnel <[email-masked]>
Cc: [email-masked]
Date: Wed, 27 May 2020 23:11:37 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

I thought documenting this, but we don't really have a section to cover
this, and it isn't really Guix specific...

So, closing.

Thank you.

Maxim

Subject: Re: Cannot mount NFS share as user or root
From: Maxim Cournoyer <[email-masked]>
To: Nathan Dehnel <[email-masked]>
Cc: [email-masked]
Date: Tue, 18 Feb 2020 16:33:51 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Nathan,

Nathan Dehnel <[email-masked]> writes:

> bash-5.0$ mount /media/store
> mount: /media/store: bad option; for several filesystems (e.g. nfs,
> cifs) you might need a /sbin/mount.<type> helper program
>
> /etc/config.scm:
>
> (file-system
>              (mount-point "/media/store")
>              (device "gentooserver:/")
>              (type "nfs4")
>              (mount? #f)
>              (create-mount-point? #t)
>              (options "rw,_netdev,noauto,user,lazytime,exec,tcp"))
>
> /etc/fstab:
>
> gentooserver:/ /media/store nfs4 rw,_netdev,noauto,user,lazytime,exec,tcp
>
> nfs-utils is installed:
>
> bash-5.0$ guix package -i nfs-utils
> The following package will be upgraded:
>    nfs-utils 2.4.2 → 2.4.2
> /gnu/store/chmbpkh0gvvmdhgwjw7rpl63f99mv7i6-nfs-utils-2.4.2
>
> nothing to be done

I encountered this too.  Perhaps we should patch some references to
mount.nfs (from nfs-utils) in the util-linux package which provides
'mount'.

In the meantime, you should use "mount.nfs" directly.

I'm opening an issue to track progress on this.

Thank you,

Maxim