‘static-networking’ service can remain in ‘starting’ state forever

  • Open
  • quality assurance status badge
Details
One participant
  • Ludovic Courtès
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
normal
L
L
Ludovic Courtès wrote on 24 May 16:42 +0200
(address . bug-guix@gnu.org)
877cfj5l1j.fsf@inria.fr
The ‘static-networking’ service can remain in ‘starting’ state forever
when it specifies a nonexistent NIC.

This can be reproduced by running a system such as hydra/bayfront.scm
(in maintenance.git) in ‘guix system vm’: shepherd will wait for
‘networking’ to start forever, preventing the machine from being cleanly
halted.

I believe this is due to indefinite blocking in ‘network-set-up/linux’:

;; Before going any further, wait for the
;; device to show up.
(wait-for-link
#$(network-address-device address)
#:blocking? #f)

It should instead wait for a limited amount of time (info "(shepherd)
Defining Services").

Ludo’.
?
Your comment

Commenting via the web interface is currently disabled.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 71173
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