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-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d9e9edf.7020...@debian.org

Reply via email to