unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw@netris.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: NetworkManager instead of Wicd in ‘%desktop-services’?
Date: Mon, 31 Jul 2017 10:26:20 +0200	[thread overview]
Message-ID: <87k22p6mhf.fsf@gnu.org> (raw)
In-Reply-To: <87bmo1ltus.fsf@netris.org> (Mark H. Weaver's message of "Sun, 30 Jul 2017 13:25:47 -0400")

[-- Attachment #1: Type: text/plain, Size: 1965 bytes --]

Hi Mark,

Mark H Weaver <mhw@netris.org> 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’ve installed GuixSD/GNOME/NM on a laptop that’s almost always
on a wired network and it doesn’t 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
                            => (nscd-configuration
                                (inherit config)
                                (debug-level 3)
                                (log-file "/var/log/nscd.log"))))

>> Now, as someone who doesn’t use GNOME, I wonder if NM would work well
>> for me.  Last time I tried it’s CLI was too low-level to be usable, and
>> I don’t 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 MiB to 360, which I think is reasonable:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 717 bytes --]

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 interface
        ("polkit" ,polkit)
        ("ppp" ,ppp)
        ("readline" ,readline)

[-- Attachment #3: Type: text/plain, Size: 37 bytes --]


OK to apply?

Thanks,
Ludo’.

  reply	other threads:[~2017-07-31  8:26 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-30 14:50 NetworkManager instead of Wicd in ‘%desktop-services’? Ludovic Courtès
2017-07-30 14:59 ` ng0
2017-07-30 15:18 ` Jan Nieuwenhuizen
2017-07-30 18:39   ` NetworkManager instead of Wicd in ???%desktop-services???? Pjotr Prins
2017-07-30 18:52     ` ng0
2017-07-31  9:42       ` Pjotr Prins
2017-07-31  8:12   ` NetworkManager instead of Wicd in ‘%desktop-services’? Ludovic Courtès
2017-07-30 17:25 ` Mark H Weaver
2017-07-31  8:26   ` Ludovic Courtès [this message]
2017-07-31 11:23     ` Mark H Weaver
2017-07-31 13:23       ` Ludovic Courtès
2017-08-04  4:10     ` Mark H Weaver
2017-08-05 20:56       ` Ludovic Courtès
2017-07-31 12:28   ` Maxim Cournoyer
2017-07-31 13:26     ` Ludovic Courtès
2017-07-31 17:37       ` Mark H Weaver
2017-08-02 13:25       ` Maxim Cournoyer
2017-08-02 14:26         ` Adam Van Ymeren
2017-08-03 14:58           ` Maxim Cournoyer
2017-08-05 20:52           ` Ludovic Courtès
2017-08-10 18:36             ` Adam Van Ymeren
2017-08-02 21:54   ` Mekeor Melire
2017-07-30 18:31 ` Efraim Flashner
2017-07-31  1:35 ` Kei Kebreau
2017-08-29 18:17   ` Andy Wingo
2017-08-30 10:05     ` Ludovic Courtès
2017-09-02  9:49       ` Mark H Weaver
2017-09-02 22:55         ` Ludovic Courtès
2017-08-04  7:40 ` Chris Marusich
2017-08-05 21:01   ` Ludovic Courtès
2017-08-06  7:16     ` aurelien
2017-08-06 11:47     ` maze
2017-08-10 19:36       ` ng0
     [not found]         ` <1502403919.10354.6@mail.strahlungsfrei.de>
2017-08-10 22:43           ` ng0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k22p6mhf.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=mhw@netris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).