NetBSD Problem Report #57759
From mlelstv@serpens.de Sat Dec 9 07:50:06 2023
Return-Path: <mlelstv@serpens.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 47CC91A9239
for <gnats-bugs@gnats.NetBSD.org>; Sat, 9 Dec 2023 07:50:06 +0000 (UTC)
Message-Id: <20231209074952.340237332F@serpens.de>
Date: Sat, 9 Dec 2023 08:49:50 +0100 (MET)
From: mlelstv@netbsd.org
Reply-To: mlelstv@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: rpcbind is missing in /etc/services
X-Send-Pr-Version: 3.95
>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
>Last-Modified: Sat Dec 09 16:20:02 +0000 2023
>Originator: Michael van Elst
>Release: NetBSD 10.0_RC1
>Organization:
--
Michael van Elst
Internet: mlelstv@serpens.de
"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".
>Audit-Trail:
From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@netbsd.org
Cc: gnats-admin@netbsd.org, mlelstv@netbsd.org
Subject: Re: bin/57759: rpcbind is missing in /etc/services
Date: Sat, 9 Dec 2023 13:07:01 +0100
On Sat, 9 Dec 2023 07:55:00 +0000 (UTC), mlelstv@netbsd.org wrote:
>> Fix:
> Restore the rpcbind alias or modify the code to reference the service und=
er
> the IANA registered name "sunrpc".
The update process for /etc/services has been borken for a while, see=20
<https://mail-index.netbsd.org/tech-userlevel/2023/07/30/msg014061.html>=20
ff.
Cheerio,
Hauke
--=20
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut f=FCr Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/57759 CVS commit: src/etc
Date: Sat, 9 Dec 2023 11:18:49 -0500
Module Name: src
Committed By: christos
Date: Sat Dec 9 16:18:48 UTC 2023
Modified Files:
src/etc: services
Log Message:
PR/57759: Hauke Fath: Restore local additions, lost in revision 1.104
To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/etc/services
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.