GNU bug report logs -
#56327
Regression: openssh service fails to start if system has no IPv6
Previous Next
Reported by: André Batista <nandre <at> riseup.net>
Date: Thu, 30 Jun 2022 19:21:02 UTC
Severity: normal
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Fri, 01 Jul 2022 23:56:17 +0200
with message-id <87zghs1oqm.fsf <at> gnu.org>
and subject line Re: bug#56327: Regression: openssh service fails to start if system has no IPv6
has caused the debbugs.gnu.org bug report #56327,
regarding Regression: openssh service fails to start if system has no IPv6
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
56327: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56327
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi Guix!
Since commit d2b3400f79ffaed3357650307376ab69a7ec3b1b, ssh-daemon
fails to start when the system is using shepherd 0.9.1, but has no
support to IPv6. This is a result of shepherd trying to listen on a
IPv6 address without prior checking.
See https://issues.guix.gnu.org/55335.
PS: Yeah, I know, it's 2022 and in a few months it will be 2023 and
everyone's toilet should have its own IPv6 address by now and report
its users health conditions to a plethora of pharmaceutical
advertisers. Nonetheless, in this backward corner of the Earth there
is still one guix machine without IPv6, believe it or not! :D
[Message part 3 (message/rfc822, inline)]
Hi!
André Batista <nandre <at> riseup.net> skribis:
> I've tested the following patch, which tests for IPv6 support, on
> both a system without IPv6 and another with it, but I have not tested
> on a system with shepherd < 0.9.1. Hopefuly it works as expected.
Older versions of shepherd are not relevant in this case.
I’ve fixed it slightly differently in commit
bf7e07d299b197891110fbd8c717badbab06a472, to avoid a file descriptor
leak. Thanks!
Out of curiosity: I suppose you’re explicitly disabling IPv6 by using a
custom kernel or with an activation snippet that fiddles with /proc or
/sys, right?
Ludo’.
This bug report was last modified 2 years and 324 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.