From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#22209: name resolution failures in installer image Date: Sat, 19 Dec 2015 19:09:32 +0100 Message-ID: <87a8p6xqcj.fsf@gnu.org> References: <56750F99.80007@gmx.net> <20151219084506.GA17560@jasmine> <87lh8qloq3.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aALxF-0006xc-AL for bug-guix@gnu.org; Sat, 19 Dec 2015 13:10:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aALxC-0002tC-4C for bug-guix@gnu.org; Sat, 19 Dec 2015 13:10:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:49589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aALxC-0002t8-1F for bug-guix@gnu.org; Sat, 19 Dec 2015 13:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aALxB-0000PF-Te for bug-guix@gnu.org; Sat, 19 Dec 2015 13:10:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87lh8qloq3.fsf@elephly.net> (Ricardo Wurmus's message of "Sat, 19 Dec 2015 11:25:24 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: 22209@debbugs.gnu.org Ricardo Wurmus skribis: > Leo Famulari writes: > >> On Sat, Dec 19, 2015 at 09:04:41AM +0100, Florian Paul Schmidt wrote: >>> After booting the installer image, doing the ifconfig/dhclient dance, >>> preparing the target fs, mounting it and starting the guix system init >>> invocation at some point in time, though not predictably so, but >>> usually after a couple of minutes (about 10 or so) name resolution >>> will start to fail causing guix system init to fail. >> >> A little more information: >> >> I was installing on i686 bare metal from the current USB installation >> image. >> >> I installed vim in the installation environment, and then when I >> tried to run `guix system init...` I couldn't resolve hydra.gnu.org, >> google.com, and a few other sites. I could resolve the domain >> famulari.name, but not another domain that points to the same machine. >> >> I installed dig and could successfully query the nameserver described in >> /etc/resolv.conf for hydra.gnu.org. > > Could this be related to cached resolution failures in nscd? Have you > tried restarting the nscd service? That sounds likely. Nscd caches negative lookups, but normally only for 20 seconds (see %nscd-minimal-caches in (gnu system install)). So if you look up hydra.gnu.org before the network is set up, it=E2=80=99ll remember for 20s = that this is a lookup failure, even if you=E2=80=99ve set up the network in the meantime. However, nscd is reportedly behaving strangely: . Do you initially get successful lookups for hydra.gnu.org, and eventually lookup failures? Ludo=E2=80=99.