NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/57759: rpcbind is missing in /etc/services



>Number:         57759
>Category:       bin
>Synopsis:       rpcbind is missing in /etc/services
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 09 07:55:00 +0000 2023
>Originator:     Michael van Elst
>Release:        NetBSD 10.0_RC1
>Organization:
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."
>Environment:
	
	
System: NetBSD hoppa 10.0_RC1 NetBSD 10.0_RC1 (HOPPA) #31: Sat Nov 25 11:51:22 CET 2023 mlelstv@gossam:/home/netbsd10/obj.evbarm/home/netbsd10/src/sys/arch/evbarm/compile/HOPPA evbarm
Architecture: earmv6hf
Machine: evbarm
>Description:

rpcinfo in netbsd-10 (and -current) fails when resolving a hostname with
e.g.:

rpcinfo: thehost: servname not supported for ai_socktype

Reason is that the hostname is resolved with getaddrinfo() looking for
service "rpcbind" which is no longer an alias in our services database.

Adding the alias "rpcbind" to the "sunrpc" entry (and refreshing sysdb)
helps.

>How-To-Repeat:
rpcinfo -p thehost
>Fix:
Restore the rpcbind alias or modify the code to reference the service under
the IANA registered name "sunrpc".

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index