bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#71173: ‘static-networking’ service can remain in ‘starting’ state fo


From: Ludovic Courtès
Subject: bug#71173: ‘static-networking’ service can remain in ‘starting’ state forever
Date: Fri, 24 May 2024 16:42:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

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’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]