* bug#71173: ‘static-networking’ service can remain in ‘starting’ state forever
@ 2024-05-24 14:42 Ludovic Courtès
2024-12-25 21:38 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2024-05-24 14:42 UTC (permalink / raw)
To: 71173
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’.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#71173: ‘static-networking’ service can remain in ‘starting’ state forever
2024-05-24 14:42 bug#71173: ‘static-networking’ service can remain in ‘starting’ state forever Ludovic Courtès
@ 2024-12-25 21:38 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2024-12-25 21:38 UTC (permalink / raw)
To: 71173
Ludovic Courtès <ludo@gnu.org> skribis:
> 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").
Proposed fix: <https://issues.guix.gnu.org/75100>.
Ludo'.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-25 21:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-24 14:42 bug#71173: ‘static-networking’ service can remain in ‘starting’ state forever Ludovic Courtès
2024-12-25 21:38 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.