[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37309: ‘ssh-daemon’ service fails to start at boot
From: |
Jelle Licht |
Subject: |
bug#37309: ‘ssh-daemon’ service fails to start at boot |
Date: |
Fri, 29 Nov 2019 10:51:46 +0100 |
Hi Giovanni,
Giovanni Biscuolo <address@hidden> writes:
> Hi Jelle,
>
> Jelle Licht <address@hidden> writes:
>
> [...]
>
>> I think I am also running into a similar issue on my spinning rust based
>> T400. Is there a workaround available that does the above,
>
> I added `(extra-content "ListenAddress 0.0.0.0")` to my
> openssh-configuration, to only listen on IPv4 addresses:
>
> --8<---------------cut here---------------start------------->8---
> (service openssh-service-type
> (openssh-configuration
> (port-number 22)
> (extra-content "ListenAddress 0.0.0.0")
> (authorized-keys
> `(("g" ,(local-file "keys/ssh/g.pub"))
> ("hydra",(local-file "keys/ssh/hydra.pub"))))))
> --8<---------------cut here---------------end--------------->8---
>
> I tried to reboot several times one machine I can use for testing and it
> works for me: please can you try and report if this also works for you?
This, in combination with setting the pid-file-timeout to 30 seconds,
made everything work! I guess it is a combination of fun IPv6
interactions with extremely slow and busy spinning rust.
Thank you!
This does still like a workaround instead of a proper fix though; is
there something we can do to mitigate these issues in the first place?
- Jelle