bug#56327: Regression: openssh service fails to start if system has no IPv6

2022-07-01 Thread André Batista
sex 01 jul 2022 às 23:56:17 (1656730577), l...@gnu.org enviou: > I’ve fixed it slightly differently in commit > bf7e07d299b197891110fbd8c717badbab06a472, to avoid a file descriptor > leak. Thanks! Tremendous difference, I'd say, both for closing the socket and for 'consing' the single test condit

bug#56327: Regression: openssh service fails to start if system has no IPv6

2022-07-01 Thread Ludovic Courtès
Hi! André Batista 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

bug#56327: Regression: openssh service fails to start if system has no IPv6

2022-06-30 Thread André Batista
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. Cheers! >From 30feda7b5ce8803b10e4bca8e86e1caaadc71596 Mon Sep 17 00:00:00 2001 In-Reply-To: R

bug#56327: Regression: openssh service fails to start if system has no IPv6

2022-06-30 Thread André Batista
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,