Subject: misc/36323: rpcbind fails to start with new /etc/services
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <uwe@NetBSD.org>
List: netbsd-bugs
Date: 05/13/2007 21:45:00
>Number:         36323
>Category:       misc
>Synopsis:       rpcbind fails to start with new /etc/services
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 13 21:45:00 +0000 2007
>Originator:     Valeriy E. Ushakov
>Release:        NetBSD 4.99.19
>Organization:
>Environment:
>Description:
New huge /etc/services file lacks any aliases that were present
in the old one.

Since rpcbind looks up its port number using "rpcbind" (which was
an alias for "sunrpc") it fails to start with

May 13 06:42:45 brick rpcbind: cannot get local address for udp: servname not supported for ai_socktype
May 13 06:42:45 brick rpcbind: cannot get local address for tcp: servname not supported for ai_socktype

>How-To-Repeat:
Boot with new /etc/services and try to start rpcbind.

>Fix:
Bring back the aliases.