fail to mount nfs4

Bug #43581 reported by Léa GRIS
This bug report is a duplicate of:  Bug #27425: add NFSv4 support. Edit Remove
4
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Medium
LaMont Jones

Bug Description

Trying to mount nfs4 shares fail with:

mount -t nfs4 -o sec=krb5 nfsserver.lan:/ /mnt/nfsv4
mount: wrong fs type, bad option, bad superblock on nfsserver.lan:/,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so

Strace mount reveal a failed stat of /sbin/mount.nfs4:

stat64("/sbin/mount.nfs4", 0xbfd8015c) = -1 ENOENT (No such file or
directory)
rt_sigprocmask(SIG_BLOCK, ~[TRAP SEGV RTMIN RT_1], NULL, 8) = 0
mount("nfsserver.lan:/", "/mnt/nfsv4", "nfs4",
MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0x805ac98) = -1 EINVAL
(Invalid argument)

Note: the original reporter indicated the bug was in package 'nfs-client'; however, that package was not published in Ubuntu.

Revision history for this message
LaMont Jones (lamont) wrote :

Fixed in 2.12r-4ubuntu5

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.