‘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 12: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 22:55
control message for bug #60154
(address . control@debbugs.gnu.org)
87jzw4v42i.fsf@gnu.org
severity 60154 important
quit
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 60154@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 60154
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch