GNU bug report logs -
#74943
sshd: no hostkeys available -- exiting
Previous Next
To reply to this bug, email your comments to 74943 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#74943
; Package
guix
.
(Wed, 18 Dec 2024 12:14:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Christopher Baines <mail <at> cbaines.net>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 18 Dec 2024 12:14:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I'm having trouble with ssh after reconfiguring, in /var/log/messages I
see an error regarding hostkeys. The files seem to be there though, I've
tried regenerating the keys but that made no difference.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#74943
; Package
guix
.
(Tue, 28 Jan 2025 10:01:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 74943 <at> debbugs.gnu.org (full text, mbox):
Hello,
Christopher Baines <mail <at> cbaines.net> skribis:
> I'm having trouble with ssh after reconfiguring, in /var/log/messages I
> see an error regarding hostkeys. The files seem to be there though, I've
> tried regenerating the keys but that made no difference.
Could you provide more info, such as the relevant excerpt of
/var/log/messages and the config?
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#74943
; Package
guix
.
(Tue, 28 Jan 2025 10:11:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 74943 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:
> Hello,
>
> Christopher Baines <mail <at> cbaines.net> skribis:
>
>> I'm having trouble with ssh after reconfiguring, in /var/log/messages I
>> see an error regarding hostkeys. The files seem to be there though, I've
>> tried regenerating the keys but that made no difference.
>
> Could you provide more info, such as the relevant excerpt of
> /var/log/messages and the config?
I can't quite remember the exact situation, but I think this turned out
to be connected with the Patchwork service not being compatible with
current versions of the Shepherd, specifically it tries to use
primitive-fork while starting [1] and I'm guessing this leads to
confusing state things happening internally that break SSH.
1: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/web.scm#n1903
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#74943
; Package
guix
.
(Tue, 28 Jan 2025 10:58:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 74943 <at> debbugs.gnu.org (full text, mbox):
Hi,
Christopher Baines <mail <at> cbaines.net> skribis:
> Ludovic Courtès <ludo <at> gnu.org> writes:
>
>> Hello,
>>
>> Christopher Baines <mail <at> cbaines.net> skribis:
>>
>>> I'm having trouble with ssh after reconfiguring, in /var/log/messages I
>>> see an error regarding hostkeys. The files seem to be there though, I've
>>> tried regenerating the keys but that made no difference.
>>
>> Could you provide more info, such as the relevant excerpt of
>> /var/log/messages and the config?
>
> I can't quite remember the exact situation, but I think this turned out
> to be connected with the Patchwork service not being compatible with
> current versions of the Shepherd, specifically it tries to use
> primitive-fork while starting [1] and I'm guessing this leads to
> confusing state things happening internally that break SSH.
Oh there’s potential for breakage indeed. As a rule of thumb, we should
never use ‘primitive-fork’ and ‘waitpid’ in Shepherd services.
In this case, I’d recommend using ‘spawn-command’:
(spawn-command "…/patchwork-admin"
#:environment-variables …
#:user …
#:group …)
Ludo’.
This bug report was last modified 135 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.