Re: Guix on Android, getaddrinfo, failure in name resolution

2019-02-15 Thread 白い熊
On February 14, 2019 9:20:52 PM UTC, "白い熊@相撲道" wrote: >>Anything else I can debug? > >I ran guix's ncsd on another terminal in debug mode. This is what >happens when guix fails on the letsencrypt name resolution: > >Thu Feb 14 21:16:54 2019 - 15215: handle_request: request received >(Versio

Re: Guix on Android, getaddrinfo, failure in name resolution

2019-02-14 Thread 白い熊@相撲道
On February 14, 2019 1:54:24 PM UTC, "白い熊@相撲道" wrote: >Plus, I checked just to make sure — after this run, in the session, >guix clearly can access the internet, as “guix build hello” downloads >the hello package nicely. “guix package -i hello” fails, as it >downloads other stuff and tries to

Re: Guix on Android, getaddrinfo, failure in name resolution

2019-02-14 Thread 白い熊
On February 13, 2019 6:19:59 PM UTC, "白い熊@相撲道" wrote: OK through extended trial and error I've determined the following — only group passwd resolv.conf and services need to be created in /etc It then struck me to start with a clean guix binary install file — and here's the surprise — Guix h

Re: Guix on Android, getaddrinfo, failure in name resolution

2019-02-14 Thread 白い熊@相撲道
On February 13, 2019 6:19:59 PM UTC, "白い熊@相撲道" wrote: >OK through extended trial and error I've determined the following — >only group passwd resolv.conf and services need to be created in /etc > >It then struck me to start with a clean guix binary install file — and >here's the surprise — G

Re: Guix on Android, getaddrinfo, failure in name resolution

2019-02-13 Thread 白い熊@相撲道
On February 12, 2019 4:16:04 PM UTC, "Ludovic Courtès" wrote: >Hello, > >(Sorry for the delay.) > >白い熊@相撲道 skribis: > >> On January 19, 2019 10:34:50 PM UTC, "Ludovic Courtès" >wrote: >> >>>Similarly, does /etc/nsswitch.conf exist and what does it contain? >(I >>>think glibc has sane default

Re: Guix on Android, getaddrinfo, failure in name resolution

2019-02-12 Thread Ludovic Courtès
Hello, (Sorry for the delay.) 白い熊@相撲道 skribis: > On January 19, 2019 10:34:50 PM UTC, "Ludovic Courtès" wrote: > >>Similarly, does /etc/nsswitch.conf exist and what does it contain? (I >>think glibc has sane defaults if it doesn’t exists.) > > I have copied in /etc/nsswitch.conf in a prior at

Re: Guix on Android, getaddrinfo, failure in name resolution

2019-01-20 Thread 白い熊@相撲道
On January 19, 2019 10:34:50 PM UTC, "Ludovic Courtès" wrote: >Similarly, does /etc/nsswitch.conf exist and what does it contain? (I >think glibc has sane defaults if it doesn’t exists.) I have copied in /etc/nsswitch.conf in a prior attempt at fixing the inability to connect, as it was mis

Re: Guix on Android, getaddrinfo, failure in name resolution

2019-01-19 Thread Ludovic Courtès
Hello, Julien Lepiller skribis: > 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? Similarly, does /etc/nsswitch.conf exist and what does it contain? (I think glibc has sane defaults if i

Re: Guix on Android, getaddrinfo, failure in name resolution

2019-01-16 Thread 白い熊
On January 15, 2019 7:43:33 PM UTC, "白い熊" wrote: >>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? > >Yes, I'm starting the daemon as root — it's running in a second >terminal window. > >The only feedba

Re: Guix on Android, getaddrinfo, failure in name resolution

2019-01-15 Thread 白い熊
On January 15, 2019 6:03:57 PM UTC, Julien Lepiller wrote: >> 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 i

Re: Guix on Android, getaddrinfo, failure in name resolution

2019-01-15 Thread Julien Lepiller
Le 2019-01-15 18:53, 白い熊 a écrit : -- 白い熊 On January 15, 2019 5:24:30 PM UTC, Julien Lepiller 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

Re: Guix on Android, getaddrinfo, failure in name resolution

2019-01-15 Thread 白い熊
-- 白い熊 On January 15, 2019 5:24:30 PM UTC, Julien Lepiller 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 bi

Re: Guix on Android, getaddrinfo, failure in name resolution

2019-01-15 Thread Julien Lepiller
Le 2019-01-15 18:13, 白い熊 a écrit : On January 15, 2019 3:30:07 PM UTC, Julien Lepiller wrote: 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? Yes indeed, I have it copied from /system/etc

Re: Guix on Android, getaddrinfo, failure in name resolution

2019-01-15 Thread 白い熊
On January 15, 2019 5:13:26 PM UTC, "白い熊" wrote: >One thing now that I'm thinking — looking at the error output — could >this be somehow associated with https ufiticil? I see that all the >files from all the substitutes “guix pull” is trying to download are >from https:// locations. The first

Re: Guix on Android, getaddrinfo, failure in name resolution

2019-01-15 Thread 白い熊
On January 15, 2019 3:30:07 PM UTC, Julien Lepiller wrote: >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? Yes indeed, I have it copied from /system/etc/ and it just has the two Google

Re: Guix on Android, getaddrinfo, failure in name resolution

2019-01-15 Thread Julien Lepiller
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'

Guix on Android, getaddrinfo, failure in name resolution

2019-01-15 Thread 白い熊
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 th