From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#30522: Guile-SSH retries upon =?UTF-8?Q?=E2=80=9Cguile_?= =?UTF-8?Q?--listen=E2=80=9D?= failure to start Date: Wed, 21 Feb 2018 23:07:44 +0100 Message-ID: <87o9kic7yn.fsf_-_@gnu.org> References: <87eflhccpo.fsf@fastmail.com> <87y3jpf0w4.fsf@gnu.org> <87bmglc62k.fsf@fastmail.com> <87mv04g1rl.fsf@gnu.org> <87sh9vbm7k.fsf@fastmail.com> 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]:39898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eocZw-00014W-HJ for bug-guix@gnu.org; Wed, 21 Feb 2018 17:10:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eocYV-0002Ig-K7 for bug-guix@gnu.org; Wed, 21 Feb 2018 17:09:32 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:47092) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eocYV-0002Ht-2U for bug-guix@gnu.org; Wed, 21 Feb 2018 17:08:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eocYU-0005fY-Mv for bug-guix@gnu.org; Wed, 21 Feb 2018 17:08:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87sh9vbm7k.fsf@fastmail.com> (Marius Bakke's message of "Tue, 20 Feb 2018 18:33:03 +0100") 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: Marius Bakke , Artyom Poptsov Cc: 30522-done@debbugs.gnu.org Hello Artyom & Marius, Marius Bakke skribis: > Ludovic Court=C3=A8s writes: > >>> It would still be good with a better failure mode, but I'll file this >>> under "pebkac" for now. >> >> Yes, I=E2=80=99m surprised it ended up looping. Did you try to strace i= t or >> something to see what was going on? Perhaps guile failed to start >> altogether and Guile-SSH kept retrying? > > Indeed. Guile-SSH kept trying to start `guile --listen` over and over. Artyom, do you think we could arrange for Guile-SSH to properly detect failure to start =E2=80=98guile --listen=E2=80=99 and report it instead of = retrying? Perhaps it could check the exit code of =E2=80=98guile --listen=E2=80=99 an= d distinguish 127 (=E2=80=9Ccommand not found=E2=80=9D) from other exit codes? (For more context, see .) Thanks, Ludo=E2=80=99.