Bug#621471: libtirpc is incompatible with portmap
On 04/08/2011 04:24 AM, Ben Hutchings wrote:
> libtirpc really does a terrible job of protocol fallback.
>
> When trying to connect to rpcbind/portmap, it iterates over the
> protocols listed in /etc/netconfig (nice choice of name, oh yeah) and
> tries to create a socket for each in turn. Then it selects the last
> protocol for which that succeeded (yes, the last, not the first).
>
> Only then does it try to connect. So there is no fallback at all for
> connection.
>
> I'm attaching a patch to fix connection fallback, but unfortunately it
> is not sufficient to make svc_reg() with portmap.
I think we should just drop portmap support altogether.
Cheers
Luk
Reply to: