From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?55m944GE54aK?= Subject: Guix on Android, getaddrinfo, failure in name resolution Date: Tue, 15 Jan 2019 14:39:30 +0000 Message-ID: <7A2A3304-5B19-47D6-91A8-960D60294C3B@sumou.com> References: <7DD810A8-FBFF-4609-981B-AD6169C384AB@sumou.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjPsT-0002Xk-DW for help-guix@gnu.org; Tue, 15 Jan 2019 09:39:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjPsS-0007pj-1O for help-guix@gnu.org; Tue, 15 Jan 2019 09:39:41 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:34020) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gjPsR-0007oM-Q4 for help-guix@gnu.org; Tue, 15 Jan 2019 09:39:39 -0500 Received: from ip-37-188-141-38.eurotel.cz ([37.188.141.38] helo=[10.1.10.1]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gjPsN-0003EF-Nx for help-guix@gnu.org; Tue, 15 Jan 2019 09:39:35 -0500 In-Reply-To: <7DD810A8-FBFF-4609-981B-AD6169C384AB@sumou.com> 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: help-guix@gnu.org Hi Guix:=20 I have Guix armhf set up on my Android phone =E2=80=94 I've been experimen= ting with it for some time=2E It works/used to work quite well, though ther= e's some hoops to jump through, setting up some skeleton GNU files that the= Bionic based Android C library doesn't use=2E Most of the setup along the = lines of: https://www=2Egnu=2Eorg/software/guix/blog/2018/guix-on-android/ Now, I had it all setup on my Android Nougat phone =E2=80=94 now I've upgr= aded to an Android Oreo based phone, and usually the new version of the OS = entails some complications, which indeed it brought=2E Now it seems Guix (j= ust Guix though for some reason, even the command line utilities in the ter= minal are fine) can't resolve domain names =E2=80=94 I'm not advanced enoug= h to debug this though I think it's gonna be something simple, like copying= some /etc file which is also missing, but so far no luck=2E I'm hoping som= eone might help me debug and solve this=2E=20 I have Guix 0=2E16=2E0 set up=2E=20 The symptoms: when I run =E2=80=9Cguix pull=E2=80=9D, I get:=20 substitute: updating substitutes from 'https://ci=2Eguix=2Eisubstitute: up= dating substitutes from 'https://ci=2Eguix=2Einfo'=2E=2E=2E 100=2E0% substitute: updating substitutes from 'https://ci=2Eguix=2Eisubstitute: up= dating substitutes from 'https://ci=2Eguix=2Einfo'=2E=2E=2E 100=2E0% substitute: updating substitutes from 'https://ci=2Eguix=2Eisubstitute: up= dating substitutes from 'https://ci=2Eguix=2Einfo'=2E=2E=2E 100=2E0% substitute: updating substitutes from 'https://ci=2Eguix=2Eisubstitute: up= dating substitutes from 'https://ci=2Eguix=2Einfo'=2E=2E=2E 100=2E0% building /gnu/store/ni3kiwxslmzk1v5i3hamv3gdrckv843r-isrgrootx1=2Epem=2Edr= v=2E=2E=2E Starting download of /gnu/store/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx= 1=2Epem From=20https://letsencrypt=2Eorg/certs/isrgrootx1=2Epem=2E=2E=2E In procedure getaddrinfo: Temporary failure in name resolution Starting download of /gnu/store/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx= 1=2Epem From=20https://mirror=2Ehydra=2Egnu=2Eorg/file/isrgrootx1=2Epem/sha256/0zhd1= ps7sz4w1x52xk3v7ng6d0rcyi7y7rcrplwkmilnq5hzjv1y=2E=2E=2E In procedure getaddrinfo: Temporary failure in name resolution and so on and on and it fails on many of this=2E=20 Now, the only references to this getaddrinfo with respect to Guix that I'v= e seen are:=20 https://lists=2Egnu=2Eorg/archive/html/guix-devel/2015-03/msg00460=2Ehtml https://lists=2Egnu=2Eorg/archive/html/guix-devel/2017-06/msg00348=2Ehtml =E2=80=A6 and they don't give me any pointers=2E=20 But I ping and nslookup for instance letsencrypt=2Eorg from the same termi= nal instance so name translation is working=2E So what is the issue=2E=20 I've read around, had two missed wagers =E2=80=94 thought it might be /etc= /nsswitch=2Econf missing, so copied it =E2=80=94 didn't have an effect=2E= =20 Then experimented with nscd, which exists in /gnu/store, created it's sock= et directory, ran the daemon, then tried =E2=80=9Cguix pull=E2=80=9D =E2=80= =94 no difference, so it's not trying to go through it=2E=20 I realize this is not a Guix problem, it's due to something on the Android= side =E2=80=94 but I had it running no prob on the older phone, so know it= can be done =E2=80=94 I just can accomplish it=2E=20 I'd appreciate help from any more senior users or hackers with ideas on wh= at could be causing this fail and how to get it working=2E=20 One thing I'm thinking =E2=80=94 it might be permissions issues on somethi= ng, as after upgrade, installing the terminal app on Android, the regular u= ser has a different ID, so I was thinking permissions somewhere=E2=80=A6 Bu= t even as root I have the same issue, so shouldn't be that=E2=80=A6=20 If anyone could advise me =E2=80=94 I'd much appreciate it :@) Many thanks=2E=20 -- =E7=99=BD=E3=81=84=E7=86=8A