Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Mar 2022 21:00:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262452] autofs special_hosts script not compatible with NFSV4 only server
Message-ID:  <bug-262452-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262452

            Bug ID: 262452
           Summary: autofs special_hosts script not compatible with NFSV4
                    only server
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: js@jschneider.com

The /etc/autofs/special_hosts script depends on command "showmount" which is
incompatible with NFSV4-only servers.  As a result, autofs mounts simply ti=
me
out after showmount times out.

Example successful manual mount:
mount -t nfs -o nosuid,intr,nfsv4,minorversion=3D2,noinet4 server1:/files/a=
udio
/mnt/test

Example failed autofs mount:
ls -l /net/server1/files/audio/
ls: /net/server1/files/audio/: Operation timed out

Example failed autofs mount using automountd -d:
automountd: waiting for request from the kernel
automountd: not forking due to -d flag; will exit after servicing a single
request
automountd: got request 18: from map -hosts, path /net/, prefix "/net", key
"server1", options "nobrowse,nosuid,intr,nfsv4,minorversion=3D2,noinet4"
automountd: parsing map "-hosts"
automountd: executing "/etc/autofs/special_hosts server1" as pid 1488
RPC: Timed out
showmount: can't do exports rpc
automountd: "/etc/autofs/special_hosts server1", pid 1488, terminated with =
exit
status 1
automountd: failed to handle special map "-hosts"
automountd: completing request 18 with error 5
automountd: AUTOFSDONE: No such process

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262452-227>