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
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4D9E9EDF.7020807@debian.org">http://lists.debian.org/4D9E9EDF.7020807@debian.org