GNU bug report logs - #76338
shepherd restarts service during shutdown and then waits forever

Previous Next

Package: guix;

Reported by: Dariqq <dariqq <at> posteo.net>

Date: Sun, 16 Feb 2025 14:40:03 UTC

Severity: grave

Tags: patch

Merged with 76368

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: Dariqq <dariqq <at> posteo.net>
Subject: bug#76338: closed (Re: bug#76368: Cannot reboot when virtlogd and
 containerd is running?)
Date: Sun, 23 Feb 2025 23:06:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#76338: shepherd restarts service during shutdown and then waits forever

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 76338 <at> debbugs.gnu.org.

-- 
76338: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76338
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: Dariqq <dariqq <at> posteo.net>
Cc: 76338-done <at> debbugs.gnu.org, Richard Sent <richard <at> freakingpenguin.com>,
 Simen Endsjø <contact <at> simendsjo.me>,
 Felix Lechner <felix.lechner <at> lease-up.com>, 76368 <at> debbugs.gnu.org
Subject: Re: bug#76368: Cannot reboot when virtlogd and containerd is running?
Date: Mon, 24 Feb 2025 00:04:45 +0100
Ludovic Courtès <ludo <at> gnu.org> skribis:

> I’ve just sent a patch in this issue adding ‘user-processes’ to all
> these + virtlogd, and another one documenting ‘user-processes’ in the
> manual.
>
> I’ll apply it tomorrow if there are no objections.

Pushed:

  bcb772d7d00 doc: Write about depending on the ‘user-processes’ Shepherd service.
  bd7b9e6a601 services: Add missing Shepherd dependency on ‘user-processes’.

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Dariqq <dariqq <at> posteo.net>
To: bug-guix <at> gnu.org
Subject: shepherd restarts service during shutdown and then waits forever
Date: Sun, 16 Feb 2025 14:38:49 +0000
Hi,

After I updated today I noticed that the system was not shutting down 
properly. The reason was that stopping of user-processes causes shepherd 
to respawn thermald.

The following is happening on tty12 (and is annoyingly not logged to 
/var/log/messages):

[...]
Stopping user processes
Sending all processes the TERM Signal
thermald : Terminating on user request
Respawning thermald
Service service thermald
Service thermald running with value ...
Service thermald has been started
[...]

Waiting for process termination (processes left (1 THERMALD-PID)
Waiting for process termination (processes left (1 THERMALD-PID)
Waiting for process termination (processes left (1 THERMALD-PID)
[...]

The issue is that thermald (and possibly other services) don't depend on 
user-processes service. Don't know why I had no problems until now.

Have a nice day,
Dariqq



This bug report was last modified 81 days ago.

Previous Next


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