GNU bug report logs - #71173
‘static-networking’ service can remain in ‘starting’ state forever

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Fri, 24 May 2024 14:43:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: 71173 <at> debbugs.gnu.org
Subject: bug#71173: ‘static-networking’ service can remain in ‘starting’ state forever
Date: Wed, 25 Dec 2024 22:38:17 +0100
Ludovic Courtès <ludo <at> 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'.




This bug report was last modified 193 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.