You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> whois 4.2.2.4
getaddrinfo: Servname not supported for ai_socktype
Steps to reproduce the behavior
Have inetutils-whois and iana-etc installed just the way they are, and you will bump into the error message shown in Actual behavior.
How I fixed it for myself
By adding the following lines into my /etc/services:
whois 43/tcp
whois 43/udp
Note
I am not sure in which package this fix should end up, inetutils-whois or iana-etc. I think latter is the case. I wanted to submit a patch but then I noticed that iana-etc uses an update.sh to fetch its protocols and services. Is it OK if I change update.sh to add those lines to services if they are not there?
The text was updated successfully, but these errors were encountered:
Fixes issue 18445:
void-linux/void-packages#18445
inetutils-whois consults the /etc/services provided by IANA to
determine the port number for the "whois" service. However, the
"whois" service is not listed in that file and when you run whois
you will end up with the following error:
> whois 4.2.2.4
getaddrinfo: Servname not supported for ai_socktype
This patch makes use of "nicname" port which is the same number
(43) as a "whois" port and is listed in /etc/services.
Moreover, changing the whois/whois.c leads to invocation of
help2man. This is unnecessary, because no option has changed and
launching help2man during the cross compilation fails.
This fix wouldn't be possible without the help of great folks
at #voidlinux.
void-linux/void-packages@3e85421
System
xuname:
Void 5.4.12_1 x86_64 GenuineIntel notuptodate rFF
package:
inetutils-whois-1.9.4_10
iana-etc-20190504_1
Expected behavior
Actual behavior
Steps to reproduce the behavior
Have
inetutils-whois
andiana-etc
installed just the way they are, and you will bump into the error message shown in Actual behavior.How I fixed it for myself
By adding the following lines into my
/etc/services
:Note
I am not sure in which package this fix should end up,
inetutils-whois
oriana-etc
. I think latter is the case. I wanted to submit a patch but then I noticed thatiana-etc
uses anupdate.sh
to fetch itsprotocols
andservices
. Is it OK if I changeupdate.sh
to add those lines toservices
if they are not there?The text was updated successfully, but these errors were encountered: