From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: Servname not supported Date: Wed, 12 Jun 2019 11:52:16 +0200 Message-ID: <875zpbp1v3.fsf@roquette.mug.biscuolo.net> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46546) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hazvp-0004cp-A7 for help-guix@gnu.org; Wed, 12 Jun 2019 05:52:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hazvn-00050S-Bi for help-guix@gnu.org; Wed, 12 Jun 2019 05:52:37 -0400 Received: from ns13.heimat.it ([46.4.214.66]:58250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hazvl-0004yn-Mf for help-guix@gnu.org; Wed, 12 Jun 2019 05:52:35 -0400 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Dustin Rayner , "help-guix@gnu.org" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello Dustin, Dustin Rayner 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: =2D-8<---------------cut here---------------start------------->8--- =2Drw-r--r-- 1 root root 19K dic 26 2016 /etc/services =2D-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. =2D-8<---------------cut here---------------start------------->8--- $ sudo chmod o-r /etc/services=20 $ LC_ALL=3DC whois gnu.org getaddrinfo(whois.pir.org): Servname not supported for ai_socktype =2D-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-ser= vname-not-supported-for-ai-socktype =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIyBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAl0Ay1EACgkQ030Op87M ORIE7A/3eCERKG7EfvfAapdIHZg2BYpd3AK5p6uIo9tQ1g7gvYvAQDCwAGSM3LRw VrnvuigP5ln5mvADh3GRfwW6UuvavzwEc/6fFAky0fzindzvdEvLxP/GcpKCwgwT wNO7qWzVdpPOm7ntQ1ZFGDSGMzs1AFxM32Nh8JqOEim+608WOsml1sv/wa9hvEvQ LYCuqJ/3Zz5rl8uQxwWfrIyQn6PMXglGYmYIH97+aAbMn0JffnGuA5pYW1l5y4Mc XggGsXn6x4C5itXKUsZerH7OCyWpHTqy9DSbl3LSinSCWIFQKDUsxsmOvk18HMzP 7IbwkkzFAGqYumZ7OZpVBCpVb2XXBzu5hEEh5Uk6akCHMfwl1XsDwvNk18kUbDfD n1h3pOe1xLFnfx9h4Y64oo4H3UB+7AHKmjo17GuxP60SSqCAw8qqEuMnT61N/r7h 5K9VnjsbVyQzTtipQjfRm5eRXjhy6lXCzYj7o6tLhuUbQhY23yiXch1L2XJKNMU6 +OC726PZ8301QUN7RjU8ehhxM2rWhZSYeN6Wwl1ASFFJuJGLYUUWKdqYgs6/DvH9 CcNG1rfS/Evg8S7+d/2GBg23iwH0QyQXlOCqQmxOK580PCDhqB0cDJCXBmnITnrf lASlsi8Wer83lEf32+3BTWgEFpoZ1OcnKvUqoSvSp2kIJm8+1w== =3IOA -----END PGP SIGNATURE----- --=-=-=--