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: Mon, 31 Jul 2017 15:23:32 +0200 Message-ID: <878tj47naj.fsf@gnu.org> References: <87iniaf06l.fsf@gnu.org> <87bmo1ltus.fsf@netris.org> <87k22p6mhf.fsf@gnu.org> <8760e826kh.fsf@netris.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]:42766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcAfb-0003dv-6Z for guix-devel@gnu.org; Mon, 31 Jul 2017 09:23:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcAfX-0004g6-SU for guix-devel@gnu.org; Mon, 31 Jul 2017 09:23:39 -0400 In-Reply-To: <8760e826kh.fsf@netris.org> (Mark H. Weaver's message of "Mon, 31 Jul 2017 07:23:42 -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: Mark H Weaver Cc: guix-devel Mark H Weaver skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Mark H Weaver skribis: >> >>> I've been using Network Manager with GNOME for several months at least, >>> and generally I find it works very well, and reconnects much more >>> quickly than wicd. >> >> Good. >> >>> However, there is one annoying bug: every time I reboot the system, the >>> first 1-3 times it connects to the network, name lookups do not work. I >>> always have to manually ask Network Manager to disconnect, and then >>> reconnect. Sometimes I have to do this two or three times before name >>> lookups work. After I've done this, it works perfectly until the next >>> reboot. >>> >>> I looked into this a bit, but haven't yet found the cause. When name >>> lookups are failing, /etc/resolv.conf exists and is correctly >>> configured. I've tried restarting 'nscd', but it doesn't help. >> >> Weird. (I=E2=80=99ve installed GuixSD/GNOME/NM on a laptop that=E2=80= =99s almost always >> on a wired network and it doesn=E2=80=99t have this problem AFAIK.) >> >> Could you enable nscd debugging output, so we can at least see whether >> the problem is due to nscd caching name lookup failures? Something >> like: >> >> (modify-services %desktop-services >> (nscd-service-type config >> =3D> (nscd-configuration >> (inherit config) >> (debug-level 3) >> (log-file "/var/log/nscd.log")))) > > Okay, I'll try that soon. > >>>> Now, as someone who doesn=E2=80=99t use GNOME, I wonder if NM would wo= rk well >>>> for me. Last time I tried it=E2=80=99s CLI was too low-level to be us= able, and >>>> I don=E2=80=99t remember seeing a curses interface. Suggestions? >>> >>> There is a curses interface included with Network Manager. It's called >>> 'nmtui'. It's not getting built because it depends on 'newt', which is >>> not an input to our Network Manager package. >> >> Nice. The attached patch adds this dependency, changing the closure >> size from 356=C2=A0MiB to 360, which I think is reasonable: >> >> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm >> index 931c50e9d..d9d3fe793 100644 >> --- a/gnu/packages/gnome.scm >> +++ b/gnu/packages/gnome.scm >> @@ -109,6 +109,7 @@ >> #:use-module (gnu packages rdesktop) >> #:use-module (gnu packages scanner) >> #:use-module (gnu packages selinux) >> + #:use-module (gnu packages slang) >> #:use-module (gnu packages ssh) >> #:use-module (gnu packages xml) >> #:use-module (gnu packages gl) >> @@ -4967,6 +4968,7 @@ users.") >> ("libnl" ,libnl) >> ("libsoup" ,libsoup) >> ("modem-manager" ,modem-manager) >> + ("newt" ,newt) ;for the 'nmtui' console in= terface >> ("polkit" ,polkit) >> ("ppp" ,ppp) >> ("readline" ,readline) >> >> >> OK to apply? > > Looks good to me! Pushed as c27e02bf6b249321c9e699e414f474ce072a6f14. Ludo'.