From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Van Ymeren Subject: Re: NetworkManager instead of Wicd in =?utf-8?Q?=E2=80=98%desktop?= =?utf-8?Q?-services=E2=80=99=3F?= Date: Thu, 10 Aug 2017 14:36:27 -0400 Message-ID: <8760dvuv6c.fsf@vany.ca> 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> <87bmntn3ep.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]:44286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfsJx-00019c-26 for guix-devel@gnu.org; Thu, 10 Aug 2017 14:36:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfsJt-00036j-Q3 for guix-devel@gnu.org; Thu, 10 Aug 2017 14:36:37 -0400 In-Reply-To: <87bmntn3ep.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 05 Aug 2017 22:52:14 +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: > Adam Van Ymeren skribis: >> 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. I finally had the problem reproduce. It only really appears to happen to me when changing from wireless to wired (when I get back home to my desk for instance). In that situation, icecat would fail to resolve any hostnames. However when I do "# herd stop nscd" like you suggested icecat immediately starts working again. So perhaps nscd is being a bit sticky to which interface it should be using?