From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: NetworkManager instead of Wicd in =?utf-8?Q?=E2=80=98%desktop?= =?utf-8?Q?-services=E2=80=99=3F?= Date: Mon, 31 Jul 2017 13:37:32 -0400 Message-ID: <874ltszew3.fsf@netris.org> References: <87iniaf06l.fsf@gnu.org> <87bmo1ltus.fsf@netris.org> <87zibk7ptz.fsf@gmail.com> <87379c7n5q.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 ([2001:4830:134:3::10]:39010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcEdj-0001xx-EW for guix-devel@gnu.org; Mon, 31 Jul 2017 13:38:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcEdg-0007xu-9l for guix-devel@gnu.org; Mon, 31 Jul 2017 13:37:59 -0400 In-Reply-To: <87379c7n5q.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 31 Jul 2017 15:26:25 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel , Maxim Cournoyer ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Maxim Cournoyer skribis: > >> I've noticed the same (lack of DNS resolution) following a reboot for >> some minutes and was also wondering what was causing this. I'm using >> wicd as part of the %desktop-services, so that specific problem is >> probably not related to NetworkManager. > > Our default nscd config caches lookup failures for 20 seconds by default > (see =E2=80=98nscd-cache=E2=80=99 in the manual.) So if you look up a ho= st before > networking is up, and it fails, then there=E2=80=99s a window during which > lookup will keep failing. > > I don=E2=80=99t know if that explains what you=E2=80=99re seeing. I don't know about Maxim, but waiting 20 seconds definitely doesn't solve the problem for me. I've sometimes waited quite a long time after rebooting before doing something that requires network access, and then realizing that DNS is not working and that I forgot to go through the disconnect+reconnect+test loop until it starts working. Mark