From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eus Subject: bug#23910: [Guix Info][7.1.5] Should warn user about losing Internet or DNS connection Date: Sat, 16 Jul 2016 10:21:38 +0700 Message-ID: References: <102661467893195@web4g.yandex.ru> <87inw6zxtw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114b0aa0b796280537b83bb7 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOGB3-0003RU-Pa for bug-guix@gnu.org; Fri, 15 Jul 2016 23:22:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOGB0-0002AG-Hd for bug-guix@gnu.org; Fri, 15 Jul 2016 23:22:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOGB0-0002AC-EJ for bug-guix@gnu.org; Fri, 15 Jul 2016 23:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bOGB0-0003Qu-6W for bug-guix@gnu.org; Fri, 15 Jul 2016 23:22:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87inw6zxtw.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 23910@debbugs.gnu.org --001a114b0aa0b796280537b83bb7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Jul 15, 2016 at 11:10 PM, Ludovic Court=C3=A8s wrote= : > Hi! > > Eus skribis: > > > When downloading substitutes via wireless connection, several times I > > encountered a case where the host name of hydra cannot be > > resolved. So, the "guix system init" fails and suggests the use of > > "--fallback" option. However, rather than continuing with "guix system > > --fallback init", one should actually try "dhclient -v > > WIRELESS_INTERFACE_NAME" first and then do "guix system init" again > > instead of "guix system --fallback init". My installation process is > > now going well with this strategy. Previously, I kept using > > "--fallback" that didn't solve the problem due to network connectivity > > error because using "--fallback" brought up built errors. > > Are you installing GuixSD 0.10.0? > Yes. I would personally find it weird to warn about the possibility of losing > Internet connection. This is outside the scope of GuixSD, in a way. > > WDYT? > I suggest that to balance the suggestion of using "--fallback" option when guix fails to download some substitutes. So, what about if instead of warning in the installation doc, the guix suggestion on using "--fallback" option also carries information on the possibility of lost network connection? However, in the past people reported that nscd, the name service cache > daemon, would sometimes fail without any good reason. If you think that > is the case, then this is definitely a bug that we should be > addressing. > That is likely. How to debug nscd? Any option perhaps to make it more verbose? Thanks, > Ludo=E2=80=99. > -- Best regards, Eus --001a114b0aa0b796280537b83bb7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On Fri, Jul 15, 2016 at 11:10 PM, Ludovic Court=C3=A8s &l= t;ludo@gnu.org> wrote:
Hi!

Eus <eus@member.fsf.org> sk= ribis:

> When downloading substitutes via wireless connection, several times I<= br> > encountered a case where the host name of hydra cannot be
> resolved. So, the "guix system init" fails and suggests the = use of
> "--fallback" option. However, rather than continuing with &q= uot;guix system
> --fallback init", one should actually try "dhclient -v
> WIRELESS_INTERFACE_NAME" first and then do "guix system init= " again
> instead of "guix system --fallback init". My installation pr= ocess is
> now going well with this strategy. Previously, I kept using
> "--fallback" that didn't solve the problem due to networ= k connectivity
> error because using "--fallback" brought up built errors.
Are you installing GuixSD 0.10.0?

Yes.<= br>
I would personally find it weird to warn about the possibility of losing Internet connection.=C2=A0 This is outside the scope of GuixSD, in a way.
WDYT?
=C2=A0
I suggest that to balance t= he suggestion of using "--fallback" option when guix fails to dow= nload some substitutes.
So, what about if instead of warning = in the installation doc, the guix suggestion on using "--fallback"= ; option also carries information on the possibility of lost network connec= tion?

However, in the past people reported that nscd, the name service cache
daemon, would sometimes fail without any good reason.=C2=A0 If you think th= at
is the case, then this is definitely a bug that we should be
addressing.
=C2=A0
That is likely. How t= o debug nscd? Any option perhaps to make it more verbose?
Thanks,
Ludo=E2=80=99.

--
Best regards,=
Eus
--001a114b0aa0b796280537b83bb7--