[Bug 262452] autofs special_hosts script not compatible with NFSV4 only server
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 262452] autofs special_hosts script not compatible with NFSV4 only server"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 262452] autofs special_hosts script not compatible with NFSV4 only server"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Mar 2022 21:00:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262452 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 time out after showmount times out. Example successful manual mount: mount -t nfs -o nosuid,intr,nfsv4,minorversion=2,noinet4 server1:/files/audio /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=2,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 -- You are receiving this mail because: You are the assignee for the bug.