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 19:03:57 +0100	[thread overview]
Message-ID: <04070b312703ef340615452fc2d56e2f@lepiller.eu> (raw)
In-Reply-To: <E0E9764A-F722-4B77-9FAF-C47C1C767ED8@sumou.com>

Le 2019-01-15 18:53, 白い熊 a écrit :
> --
> 白い熊
> 
> On January 15, 2019 5:24:30 PM UTC, Julien Lepiller 
> <julien@lepiller.eu> wrote:
> 
>> If you use ping from the system (android), it uses bionic, which guix
>> doesn't use. You have to test with a tool that uses glibc.
> 
> Oh yes — obviously you are right! It didn't occur to me I'm using the
> android ping — busybox binary for testing…
>>> 
>>> Is this possible? Can it be tested? I don't think you can nslookup or
>>> whatever an https:// location right? What if guix can't access secure
>>> sites? Is that possible?
>> 
>> I don't think it's possible: nslookup doesn't care about the protocol
>> that's going to be used, it only needs the domain part. Maybe you can
>> try to check that you can actually access the name servers?
> 
> Access meaning how? I have 8.8.8.8 and 8.8.4.4 set as nameservers…

I mean, can you connect to these servers on UDP port 53? According to
the rest of your answer, I guess guix cannot for some reason...

So here's what I think is happening: you guix cannot connect to the
internet, so it failed to connect to the name server. That failure
triggered the name resolution error you saw. So we have to understand
why guix cannot connect to the internet.

> 
>> If that doesn't work, as a workaround, you can resolve the names that
>> guix tries to reach, and put this in /etc/hosts:
>> 
>> 23.38.13.120 letsencrypt.org
>> 
>> Whether it works or not will tell us more about where the issue could
>> be.
> 
> Yes! This is getting somewhere — now on the letsencrypt line it fails 
> with:
> In procedure socket: Permission denied
> 
> This reminds me of ping socket errors when elevated privileges have
> not been given to the ping binary. :@)
> 
> It fails with the same error even as root though. Hmm…

Here, I think it's the daemon calling the download code... Did you run
guix-daemon as root? Do you have a backtrace that you could send?

> --
> 白い熊

  reply	other threads:[~2019-01-15 18:04 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
2019-01-15 17:13     ` 白い熊
2019-01-15 17:24       ` Julien Lepiller
2019-01-15 17:53         ` 白い熊
2019-01-15 18:03           ` Julien Lepiller [this message]
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=04070b312703ef340615452fc2d56e2f@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.