From: Giovanni Biscuolo <g@xelera.eu>
To: Dustin Rayner <dustin.rayner@gmail.com>,
"help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: Servname not supported
Date: Wed, 12 Jun 2019 11:52:16 +0200 [thread overview]
Message-ID: <875zpbp1v3.fsf@roquette.mug.biscuolo.net> (raw)
In-Reply-To: <SN6PR02MB4206FCBA6B6A37467C5C3F15A9ED0@SN6PR02MB4206.namprd02.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 1364 bytes --]
Hello Dustin,
Dustin Rayner <dustin.rayner@gmail.com> writes:
[...]
> However, guix install hello and guix pull both fail. I've verified
> network access, but the error I receive is:
>
> In procedure getaddrinfo: Servname not supported for ai_socktype
What if you try `whois gnu.org` on that host? Do you get the same error?
[1]
This seems not related to Guix, please can your check permissions on
/etc/services (ls -lah /etc/services) on your host?
They should be:
--8<---------------cut here---------------start------------->8---
-rw-r--r-- 1 root root 19K dic 26 2016 /etc/services
--8<---------------cut here---------------end--------------->8---
If others (including your normal user) cannot read /etc/services they
get this error.
I never had similar issues in the past, but I can reproduce this on my
host.
--8<---------------cut here---------------start------------->8---
$ sudo chmod o-r /etc/services
$ LC_ALL=C whois gnu.org
getaddrinfo(whois.pir.org): Servname not supported for ai_socktype
--8<---------------cut here---------------end--------------->8---
`sudo chmod o+r /etc/services` fixed the above error.
Does it help? Gio'.
[1] https://askubuntu.com/questions/742613/network-aplications-throwing-servname-not-supported-for-ai-socktype
--
Giovanni Biscuolo
Xelera IT Infrastructures
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2019-06-12 9:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-11 19:08 Servname not supported Dustin Rayner
2019-06-12 9:52 ` Giovanni Biscuolo [this message]
2019-06-17 19:37 ` Dustin Rayner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875zpbp1v3.fsf@roquette.mug.biscuolo.net \
--to=g@xelera.eu \
--cc=dustin.rayner@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).