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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#71173: closed (‘static-networking’
 service can remain in ‘starting’ state
 forever)
Date: Wed, 08 Jan 2025 23:26:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 09 Jan 2025 00:25:21 +0100
with message-id <87tta8sxb2.fsf <at> gnu.org>
and subject line Re: [bug#75100] [PATCH 0/3] Shepherd service of 'static-networking' completes in timely fashion
has caused the debbugs.gnu.org bug report #71173,
regarding ‘static-networking’ service can remain in ‘starting’ state forever
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
71173: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71173
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: ‘static-networking’ service can remain
 in ‘starting’ state forever
Date: Fri, 24 May 2024 16:42:00 +0200
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’.


[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: 75100-done <at> debbugs.gnu.org, 71173-done <at> debbugs.gnu.org
Subject: Re: [bug#75100] [PATCH 0/3] Shepherd service of 'static-networking'
 completes in timely fashion
Date: Thu, 09 Jan 2025 00:25:21 +0100
Pushed:

  20a74ce28d tests: Run without the Linux kernel “quiet” argument.
  431ab10344 services: static-networking: Fail when devices don’t show up.
  8d649a8d17 services: static-networking: Run set-up/tear-down as a separate process.


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.