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

--- Comment #5 from Alan Somers <[email protected]> ---
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[email protected]"

Reply via email to