From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?55m944GE54aK77yg55u45pKy6YGT?= Subject: Re: Guix on Android, getaddrinfo, failure in name resolution Date: Sun, 20 Jan 2019 14:21:04 +0000 Message-ID: References: <7DD810A8-FBFF-4609-981B-AD6169C384AB@sumou.com> <7A2A3304-5B19-47D6-91A8-960D60294C3B@sumou.com> <878szgqnsl.fsf@gnu.org> 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]:55816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glDyU-0006t9-RC for help-guix@gnu.org; Sun, 20 Jan 2019 09:21:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glDyS-0002DM-Jw for help-guix@gnu.org; Sun, 20 Jan 2019 09:21:22 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:58818) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1glDyP-0002C2-Jx for help-guix@gnu.org; Sun, 20 Jan 2019 09:21:18 -0500 Received: from 89-24-54-89.nat.epc.tmcz.cz ([89.24.54.89] 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 1glDyM-0006lo-Ur for help-guix@gnu.org; Sun, 20 Jan 2019 09:21:16 -0500 In-Reply-To: <878szgqnsl.fsf@gnu.org> 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 On January 19, 2019 10:34:50 PM UTC, "Ludovic Court=C3=A8s" wrote: >Similarly, does /etc/nsswitch=2Econf exist and what does it contain? (I >think glibc has sane defaults if it doesn=E2=80=99t exists=2E) I have copied in /etc/nsswitch=2Econf in a prior attempt at fixing the ina= bility to connect, as it was missing=2E Now I have one there from a desktop= GuixSD, but doesn't make a difference=2E It contains:=20 group: files hosts: files mdns_minimal [NOTFOUND=3Dreturn] dns mdns networks: files dns [!UNAVAIL=3Dreturn] passwd: files shadow: files >Assuming you have =E2=80=98strace=E2=80=99 on the machine, could you run: > >strace -o /tmp/log -c /gnu/store/=E2=80=A6/bin/guile -c '(getaddrinfo >"www=2Egnu=2Eorg")' > >and post the relevant part of the log? This is what I get:=20 % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 40=2E22 0=2E000290 1 239 183 openat 35=2E64 0=2E000257 1 329 284 stat64 13=2E18 0=2E000095 2 52 mprotect 5=2E83 0=2E000042 0 485 read 5=2E13 0=2E000037 1 73 mmap2 0=2E00 0=2E000000 0 61 close 0=2E00 0=2E000000 0 1 execve 0=2E00 0=2E000000 0 1 1 access 0=2E00 0=2E000000 0 11 brk 0=2E00 0=2E000000 0 6 1 ioctl 0=2E00 0=2E000000 0 5 gettimeofday 0=2E00 0=2E000000 0 2 uname 0=2E00 0=2E000000 0 23 3 _llseek 0=2E00 0=2E000000 0 3 poll 0=2E00 0=2E000000 0 4 rt_sigaction 0=2E00 0=2E000000 0 1 rt_sigprocmask 0=2E00 0=2E000000 0 2 ugetrlimit 0=2E00 0=2E000000 0 35 fstat64 0=2E00 0=2E000000 0 3 fcntl64 0=2E00 0=2E000000 0 5 futex 0=2E00 0=2E000000 0 2 sched_getaffinity 0=2E00 0=2E000000 0 1 set_tid_address 0=2E00 0=2E000000 0 4 clock_gettime 0=2E00 0=2E000000 0 5 socket 0=2E00 0=2E000000 0 1 bind 0=2E00 0=2E000000 0 6 2 connect 0=2E00 0=2E000000 0 3 getsockname 0=2E00 0=2E000000 0 1 sendto 0=2E00 0=2E000000 0 2 recvfrom 0=2E00 0=2E000000 0 3 recvmsg 0=2E00 0=2E000000 0 1 set_robust_list 0=2E00 0=2E000000 0 2 pipe2 0=2E00 0=2E000000 0 1 prlimit64 0=2E00 0=2E000000 0 1 sendmmsg 0=2E00 0=2E000000 0 1 set_tls ------ ----------- ----------- --------- --------- ---------------- 100=2E00 0=2E000721 1375 474 total -- =E7=99=BD=E3=81=84=E7=86=8A=EF=BC=A0=E7=9B=B8=E6=92=B2=E9=81=93