Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 415021

Summary: net-libs/libtirpc - error messages when IPv6 is disabled - rpcbind: cannot create socket for udp6 / tcp6
Product: Gentoo Linux Reporter: hal <laservader>
Component: Current packagesAssignee: Network Filesystems <net-fs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description hal 2012-05-07 14:56:49 UTC
If people do not use IPv6 rpc.bind logs errors:

rpcbind: cannot create socket for udp6
rpcbind: cannot create socket for tcp6

In order to fix the error a manual modification in /etc/netconfig is required:

#udp6       tpi_clts      v     inet6    udp     -       -
#tcp6       tpi_cots_ord  v     inet6    tcp     -       -

udp6       tpi_clts      -     inet6    udp     -       -
tcp6       tpi_cots_ord  -     inet6    tcp     -       -


Could we fix this somehow?

I could imagine to

1. check during src_prepare() if IPv6 is set in kernel config and then to apply a patch accordingly.

or 

2. use ipv6 useflag to deliver a patched /etc/netconfig
Comment 1 SpanKY gentoo-dev 2012-05-07 21:36:59 UTC

*** This bug has been marked as a duplicate of bug 361475 ***