From: ludo@gnu.org (Ludovic Courtès)
To: Adam Van Ymeren <adam@vany.ca>
Cc: guix-devel <guix-devel@gnu.org>,
Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: Re: NetworkManager instead of Wicd in ‘%desktop-services’?
Date: Sat, 05 Aug 2017 22:52:14 +0200 [thread overview]
Message-ID: <87bmntn3ep.fsf@gnu.org> (raw)
In-Reply-To: <87k22mm4fx.fsf@vany.ca> (Adam Van Ymeren's message of "Wed, 02 Aug 2017 10:26:10 -0400")
Adam Van Ymeren <adam@vany.ca> skribis:
> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>
>> ludo@gnu.org (Ludovic Courtès) writes:
>>
>>> Maxim Cournoyer <maxim.cournoyer@gmail.com> 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 ‘nscd-cache’ in the manual.) So if you look up a host before
>>> networking is up, and it fails, then there’s a window during which
>>> lookup will keep failing.
>>>
>>> I don’t know if that explains what you’re 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 “sudo herd stop nscd”?
nscd caches host name lookups, so if you switch, say, to a captive
portal, you have to turn nscd off.
Ludo’.
next prev parent reply other threads:[~2017-08-05 20:52 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
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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bmntn3ep.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=adam@vany.ca \
--cc=guix-devel@gnu.org \
--cc=maxim.cournoyer@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.