Date: Mon, 24 Oct 2016 21:25:42 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213729] showmount doesn't work with IPv6 Message-ID: <bug-213729-2472-S8Ix71Cgc7@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-213729-2472@https.bugs.freebsd.org/bugzilla/> References: <bug-213729-2472@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213729 --- Comment #5 from Alan Somers <asomers@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213729-2472-S8Ix71Cgc7>
