‘guix substitute’ gets stuck when connection goes down

  • Open
  • quality assurance status badge
Details
One participant
  • Ludovic Courtès
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
important
L
L
Ludovic Courtès wrote on 17 Dec 2022 03:14
‘guix substitute’ gets stuck when connection goes down
(address . bug-guix@gnu.org)
87edsyi8op.fsf@inria.fr
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’.
L
L
Ludovic Courtès wrote on 15 Jun 2023 13:55
control message for bug #60154
(address . control@debbugs.gnu.org)
87jzw4v42i.fsf@gnu.org
severity 60154 important
quit
?