From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: NetworkManager instead of Wicd in =?utf-8?Q?=E2=80=98%desktop?= =?utf-8?Q?-services=E2=80=99=3F?= Date: Sat, 05 Aug 2017 22:52:14 +0200 Message-ID: <87bmntn3ep.fsf@gnu.org> References: <87iniaf06l.fsf@gnu.org> <87bmo1ltus.fsf@netris.org> <87zibk7ptz.fsf@gmail.com> <87379c7n5q.fsf@gnu.org> <87r2wut82u.fsf@gmail.com> <87k22mm4fx.fsf@vany.ca> 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]:36253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1de63Y-0000yJ-Iy for guix-devel@gnu.org; Sat, 05 Aug 2017 16:52:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1de63V-0002Zb-I3 for guix-devel@gnu.org; Sat, 05 Aug 2017 16:52:20 -0400 In-Reply-To: <87k22mm4fx.fsf@vany.ca> (Adam Van Ymeren's message of "Wed, 02 Aug 2017 10:26:10 -0400") 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: Adam Van Ymeren Cc: guix-devel , Maxim Cournoyer Adam Van Ymeren skribis: > Maxim Cournoyer writes: > >> 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 = host before >>> networking is up, and it fails, then there=E2=80=99s a window during wh= ich >>> lookup will keep failing. >>> >>> I don=E2=80=99t know if that explains what you=E2=80=99re seeing. >> >> It can take much longer than 20 s upon a reboot to have the name >> resolution working again (more than 5 minutes), so that doesn't seem to >> explain it by itself. > > Most of the time I have to restart my applications like icecat of emacs > when my network settings change. I'm using wpa_supplicant and dhclient > by hand rather than wicd. > > Something somewhere is caching network information longer than it should > be. Could you try after running =E2=80=9Csudo herd stop nscd=E2=80=9D? nscd caches host name lookups, so if you switch, say, to a captive portal, you have to turn nscd off. Ludo=E2=80=99.