all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: 白い熊 <help-guix_gnu.org@sumou.com>
Cc: help-guix@gnu.org
Subject: Re: Guix on Android, getaddrinfo, failure in name resolution
Date: Tue, 15 Jan 2019 16:30:07 +0100	[thread overview]
Message-ID: <d079444b59db37ae111b162c383f9a57@lepiller.eu> (raw)
In-Reply-To: <7A2A3304-5B19-47D6-91A8-960D60294C3B@sumou.com>

Le 2019-01-15 15:39, 白い熊 a écrit :
> Hi Guix:
> 
> I have Guix armhf set up on my Android phone — I've been experimenting
> with it for some time. It works/used to work quite well, though
> there's some hoops to jump through, setting up some skeleton GNU files
> that the Bionic based Android C library doesn't use. Most of the setup
> along the lines of:
> https://www.gnu.org/software/guix/blog/2018/guix-on-android/
> 
> Now, I had it all setup on my Android Nougat phone — now I've upgraded
> to an Android Oreo based phone, and usually the new version of the OS
> entails some complications, which indeed it brought. Now it seems Guix
> (just Guix though for some reason, even the command line utilities in
> the terminal are fine) can't resolve domain names — I'm not advanced
> enough 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.
> I'm hoping someone might help me debug and solve this.
> 
> I have Guix 0.16.0 set up.
> 
> The symptoms: when I run “guix pull”, I get:
> 
> substitute: updating substitutes from 'https://ci.guix.isubstitute:
> updating substitutes from 'https://ci.guix.info'... 100.0%
> substitute: updating substitutes from 'https://ci.guix.isubstitute:
> updating substitutes from 'https://ci.guix.info'... 100.0%
> substitute: updating substitutes from 'https://ci.guix.isubstitute:
> updating substitutes from 'https://ci.guix.info'... 100.0%
> substitute: updating substitutes from 'https://ci.guix.isubstitute:
> updating substitutes from 'https://ci.guix.info'... 100.0%
> building 
> /gnu/store/ni3kiwxslmzk1v5i3hamv3gdrckv843r-isrgrootx1.pem.drv...
> 
> Starting download of 
> /gnu/store/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem
> From https://letsencrypt.org/certs/isrgrootx1.pem...
> In procedure getaddrinfo: Temporary failure in name resolution
> 
> Starting download of 
> /gnu/store/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem
> From
> https://mirror.hydra.gnu.org/file/isrgrootx1.pem/sha256/0zhd1ps7sz4w1x52xk3v7ng6d0rcyi7y7rcrplwkmilnq5hzjv1y...
> In procedure getaddrinfo: Temporary failure in name resolution
> 
> and so on and on and it fails on many of this.
> 
> Now, the only references to this getaddrinfo with respect to Guix that
> I've seen are:
> https://lists.gnu.org/archive/html/guix-devel/2015-03/msg00460.html
> https://lists.gnu.org/archive/html/guix-devel/2017-06/msg00348.html
> 
> … and they don't give me any pointers.
> 
> But I ping and nslookup for instance letsencrypt.org from the same
> terminal instance so name translation is working. So what is the
> issue.
> 
> I've read around, had two missed wagers — thought it might be
> /etc/nsswitch.conf missing, so copied it — didn't have an effect.
> 
> Then experimented with nscd, which exists in /gnu/store, created it's
> socket directory, ran the daemon, then tried “guix pull” — no
> difference, so it's not trying to go through it.
> 
> I realize this is not a Guix problem, it's due to something on the
> Android side — but I had it running no prob on the older phone, so
> know it can be done — I just can accomplish it.
> 
> I'd appreciate help from any more senior users or hackers with ideas
> on what could be causing this fail and how to get it working.

Well, if it's a name resolution issue, the first culprit that comes to
mind is /etc/resolv.conf. Do you have that file, and is it correctly
configured?

> 
> One thing I'm thinking — it might be permissions issues on something,
> as after upgrade, installing the terminal app on Android, the regular
> user has a different ID, so I was thinking permissions somewhere… But
> even as root I have the same issue, so shouldn't be that…

Maybe it's an selinux thing? You can try with "setenforce 0" and see if
that solves the issue. I've had some troubles with selinux too, related
to file-system permissions though.

> 
> If anyone could advise me — I'd much appreciate it :@)
> 
> Many thanks.
> --
> 白い熊

  reply	other threads:[~2019-01-15 15:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <7DD810A8-FBFF-4609-981B-AD6169C384AB@sumou.com>
2019-01-15 14:39 ` Guix on Android, getaddrinfo, failure in name resolution 白い熊
2019-01-15 15:30   ` Julien Lepiller [this message]
2019-01-15 17:13     ` 白い熊
2019-01-15 17:24       ` Julien Lepiller
2019-01-15 17:53         ` 白い熊
2019-01-15 18:03           ` Julien Lepiller
2019-01-15 19:43             ` 白い熊
2019-01-16 18:33               ` 白い熊
2019-01-15 17:26       ` 白い熊
2019-01-19 22:34     ` Ludovic Courtès
2019-01-20 14:21       ` 白い熊@相撲道
2019-02-12 16:16         ` Ludovic Courtès
2019-02-13 18:19           ` 白い熊@相撲道
2019-02-14 13:54             ` 白い熊@相撲道
2019-02-14 13:55               ` 白い熊
2019-02-14 21:20               ` 白い熊@相撲道
2019-02-15 13:06                 ` 白い熊

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d079444b59db37ae111b162c383f9a57@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=help-guix@gnu.org \
    --cc=help-guix_gnu.org@sumou.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.