[Bug 213729] showmount doesn't work with IPv6

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 24 21:25:42 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213729

--- Comment #5 from Alan Somers <asomers at FreeBSD.org> ---
Everything is working as designed.  First, note that "showmount -e ::1" returns
immediately.  Second, note that "showmount -e" will return eventually, but it
takes 2 minutes to timeout.  You probably didn't give it the full two minutes
before.

What's going on is that if you don't specify "::1" then showmount assumes you
meant "localhost", and it tries to find the best way to talk to localhost.  It
will try both ::1 and 127.0.0.1 with both tcp and udp.  But since udp is
connectionless, it has no way of knowing whether rpcbind is listening except by
waiting for the full timeout period.

The timeout is adjustable in the RPC library (using the undocumented
__rpc_control), but showmount currently uses the default.  Does that solve your
problem?

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


More information about the freebsd-net mailing list