Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415021 - net-libs/libtirpc - error messages when IPv6 is disabled - rpcbind: cannot create socket for udp6 / tcp6
Summary: net-libs/libtirpc - error messages when IPv6 is disabled - rpcbind: cannot cr...
Status: RESOLVED DUPLICATE of bug 361475
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-07 14:56 UTC by hal
Modified: 2012-05-07 21:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***