From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Dehnel Subject: bug#39670: Cannot mount NFS share as user or root Date: Tue, 18 Feb 2020 15:43:29 -0600 Message-ID: References: <87o8tvwpfk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39732) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4Af3-0003Rn-GU for bug-guix@gnu.org; Tue, 18 Feb 2020 16:44:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4Af1-0008Q7-LQ for bug-guix@gnu.org; Tue, 18 Feb 2020 16:44:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35419) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j4Af1-0008P3-3G for bug-guix@gnu.org; Tue, 18 Feb 2020 16:44:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j4Aev-0005KH-P1 for bug-guix@gnu.org; Tue, 18 Feb 2020 16:44:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:38717) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4Aee-0003QY-38 for bug-guix@gnu.org; Tue, 18 Feb 2020 16:43:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4Aec-0007QS-W8 for bug-guix@gnu.org; Tue, 18 Feb 2020 16:43:43 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:53051) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j4Aec-0007MP-LH for bug-guix@gnu.org; Tue, 18 Feb 2020 16:43:42 -0500 Received: by mail-wm1-x32c.google.com with SMTP id p9so4313820wmc.2 for ; Tue, 18 Feb 2020 13:43:42 -0800 (PST) In-Reply-To: <87o8tvwpfk.fsf@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Maxim Cournoyer Cc: 39670@debbugs.gnu.org bash-5.0$ mount.nfs gentooserver:/ /media/store mount.nfs: permission denied: no match for /media/store found in /etc/fstab bash-5.0$ cat /etc/fstab | grep /media/store gentooserver:/ /media/store nfs4 rw,_netdev,noauto,user,lazytime,exec,tcp ? On Tue, Feb 18, 2020 at 3:33 PM Maxim Cournoyer wrote: > > Hello Nathan, > > Nathan Dehnel 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. 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,t= cp > > > > nfs-utils is installed: > > > > bash-5.0$ guix package -i nfs-utils > > The following package will be upgraded: > > nfs-utils 2.4.2 =E2=86=92 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