[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30522: Guile-SSH retries upon “guile --listen” failure to start
From: |
Ludovic Courtès |
Subject: |
bug#30522: Guile-SSH retries upon “guile --listen” failure to start |
Date: |
Wed, 21 Feb 2018 23:07:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello Artyom & Marius,
Marius Bakke <address@hidden> skribis:
> Ludovic Courtès <address@hidden> writes:
>
>>> It would still be good with a better failure mode, but I'll file this
>>> under "pebkac" for now.
>>
>> Yes, I’m surprised it ended up looping. Did you try to strace it 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 ‘guile --listen’ and report it instead of retrying?
Perhaps it could check the exit code of ‘guile --listen’ and distinguish
127 (“command not found”) from other exit codes?
(For more context, see <https://bugs.gnu.org/30522>.)
Thanks,
Ludo’.