GNU bug report logs - #60154
‘guix substitute’ gets stuck when connection goes down

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Sat, 17 Dec 2022 11:15:01 UTC

Severity: important

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: 60154 <at> debbugs.gnu.org
Subject: bug#60154: ‘guix substitute’ gets stuck when connection goes down
Date: Sat, 17 Dec 2022 12:14:14 +0100
As noted while debugging <https://issues.guix.gnu.org/59784>, turning
off networking while ‘guix substitute’ is downloading (be it with
“ifconfig X down” or by physically unplugging the cable) leads it to be
stuck in ‘read’ or ‘recvfrom’ for a long time.

Most likely this can be addressed by setting SO_RCVTIMEO and SO_SNDTIMEO
to a reasonable value on the socket.

Ludo’.




This bug report was last modified 2 years and 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.