GNU logs - #76338, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76338: shepherd restarts service during shutdown and then waits forever
Resent-From: Dariqq <dariqq@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 16 Feb 2025 14:40:03 +0000
Resent-Message-ID: <handler.76338.B.17397167796484 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 76338
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 76338 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.17397167796484
          (code B ref -1); Sun, 16 Feb 2025 14:40:03 +0000
Received: (at submit) by debbugs.gnu.org; 16 Feb 2025 14:39:39 +0000
Received: from localhost ([127.0.0.1]:33058 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjfo2-0001gU-Du
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2025 09:39:39 -0500
Received: from lists.gnu.org ([2001:470:142::17]:54408)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dariqq@HIDDEN>) id 1tjfnq-0001fz-8Z
 for submit <at> debbugs.gnu.org; Sun, 16 Feb 2025 09:39:32 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dariqq@HIDDEN>) id 1tjfni-0006Uq-LC
 for bug-guix@HIDDEN; Sun, 16 Feb 2025 09:39:18 -0500
Received: from mout01.posteo.de ([185.67.36.65])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dariqq@HIDDEN>) id 1tjfnf-0007Ny-It
 for bug-guix@HIDDEN; Sun, 16 Feb 2025 09:39:18 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 46668240027
 for <bug-guix@HIDDEN>; Sun, 16 Feb 2025 15:39:11 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1739716751; bh=a1GMIh8Id0Lx4zDcnxB91gbY13Z/MieoCoXKqB5o6uc=;
 h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type:
 Content-Transfer-Encoding:From;
 b=BOruin9Jfo7rrD/TP1znR0rl9dhlmd3d9IYw91knTIc+DiS8676xaOpeoVKH8ldNy
 QAWVpSSoBBwzDO75vtE6+SI4FnfHDtTLxAXy7ZLZvSQymANn+NEKJtyOjCSm+kFvgj
 fO1/DToCeCxjgVCKO2EaOdkE1bdasT5A1HSckjuGvxwFijqTxS6FsGapG8TOVXEzzY
 453vkQ17VHDhTN10T/k8MW9LdGRs3YBHbwH3LVugvB9sYKWl/IC97KHagoAvDg9amt
 6tssW+wY5FjILU86J1UwqtbXkqwqDYR361jfDPcSHKV/GmZGLgIKbjhqga+R0HUMHe
 dxu1bW5j8lJhQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4YwpML6BfSz9rxK
 for <bug-guix@HIDDEN>; Sun, 16 Feb 2025 15:39:10 +0100 (CET)
Message-ID: <bbcb0560-64a8-4fb0-a9c2-e05f2d5b042b@HIDDEN>
Date: Sun, 16 Feb 2025 14:38:49 +0000
MIME-Version: 1.0
Content-Language: en-US
From: Dariqq <dariqq@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=185.67.36.65; envelope-from=dariqq@HIDDEN;
 helo=mout01.posteo.de
X-Spam_score_int: -53
X-Spam_score: -5.4
X-Spam_bar: -----
X-Spam_report: (-5.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

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




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Dariqq <dariqq@HIDDEN>
Subject: bug#76338: Acknowledgement (shepherd restarts service during
 shutdown and then waits forever)
Message-ID: <handler.76338.B.17397167796484.ack <at> debbugs.gnu.org>
References: <bbcb0560-64a8-4fb0-a9c2-e05f2d5b042b@HIDDEN>
X-Gnu-PR-Message: ack 76338
X-Gnu-PR-Package: guix
Reply-To: 76338 <at> debbugs.gnu.org
Date: Sun, 16 Feb 2025 14:40:04 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 76338 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
76338: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76338
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76338: shepherd restarts service during shutdown and then waits forever
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 16 Feb 2025 17:24:01 +0000
Resent-Message-ID: <handler.76338.B76338.173972662820153 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76338
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Dariqq <dariqq@HIDDEN>
Cc: 76338 <at> debbugs.gnu.org
Received: via spool by 76338-submit <at> debbugs.gnu.org id=B76338.173972662820153
          (code B ref 76338); Sun, 16 Feb 2025 17:24:01 +0000
Received: (at 76338) by debbugs.gnu.org; 16 Feb 2025 17:23:48 +0000
Received: from localhost ([127.0.0.1]:36780 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjiMu-0005Ew-A0
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2025 12:23:48 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:38512)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tjiMs-0005EQ-Az
 for 76338 <at> debbugs.gnu.org; Sun, 16 Feb 2025 12:23:47 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1tjiMm-0005YL-SP; Sun, 16 Feb 2025 12:23:40 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=amiJgD5cBPio48IIWtVk2nVBylVSuolhfUXj8G0en7U=; b=TPFiFXoalKxdIeWhgcPd
 Y6nFmq93Z9eMFp7A7UNOPmk/DLyzzfRaDbmVBiaTJNrrhubAp91QHbF4iSnQGPP219lbPRDC4yt+Q
 iP+eIhBQQhEBcdj81r1nguXvcrRisYUSTgKTpbE6OrUiNdjTmoglcz3zLiJYDyrE5Ykj/ldoo/err
 I5KZGt8hS8wE+To4LIwRr1X9EytApwmcB6aNsU5KD6iwlm+AzlxsMs3A4izt6lljv0IKwzV7vzaAt
 PLJZy6+9H2EWtBxtq9lGebcYs1QTHCbw08Jw2k8SrtY53ZlB2ykHqs0sKkS9lCY8dKql2XJ2RMzXE
 rgA2qATwTVM84Q==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <bbcb0560-64a8-4fb0-a9c2-e05f2d5b042b@HIDDEN>
 (dariqq@HIDDEN's message of "Sun, 16 Feb 2025 14:38:49 +0000")
References: <bbcb0560-64a8-4fb0-a9c2-e05f2d5b042b@HIDDEN>
Date: Sun, 16 Feb 2025 18:23:37 +0100
Message-ID: <87frkdpzvq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Dariqq <dariqq@HIDDEN> skribis:

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

This should be fixed: they should all depend on =E2=80=98user-processes=E2=
=80=99.

Probably the bug you=E2=80=99re seeing here was revealed by
<https://issues.guix.gnu.org/75829>.

But perhaps shepherd should also just disable all services when shutting
down so that respawning doesn=E2=80=99t happen.

Ludo=E2=80=99.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 16 Feb 2025 17:46:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 16 12:46:21 2025
Received: from localhost ([127.0.0.1]:36969 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjiij-0007BO-2v
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2025 12:46:21 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:55088)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tjiig-0007Ay-CT
 for control <at> debbugs.gnu.org; Sun, 16 Feb 2025 12:46:19 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1tjiib-0000Sn-1i
 for control <at> debbugs.gnu.org; Sun, 16 Feb 2025 12:46:13 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to:
 references; bh=Xm37uTU+i45dnIqLrbpM7ewonudcvVBdK9lJmUaOp80=; b=V0pn83vyzTQvWa
 Y6oC+oVWf9gW1Yw6P8hU23sHhv4cP+U7C9jWMjl11jGvFhTfkxnJRrzHDGzVSmTovacO9WVhpe3J9
 uMX9/XkRQnsNQgBBvfsEmXty324jMQCseX+XkqC+P1CZXWKR7XA7t0U3g2I6pHIHgaCM8451TiojR
 hxrzo5MYIujgO+waszXsWSbEmv2Fj2N1dm6ProGR5YdpM5k2TGTHBea/claCabYpCwBebEPwRQ6MZ
 nMmkIgKYiSiS95FOisdX9Yx59JHADV1+5qqq6grzD+kme6dcE2/KPBar35hSi8QM1sbyG+qVSlwZy
 JChMuwkELfxuWu/1U7eg==;
Date: Sun, 16 Feb 2025 18:46:09 +0100
Message-Id: <871pvxpyu6.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
Subject: control message for bug #76338
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

severity 76338 important
quit





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76338: shepherd restarts service during shutdown and then waits forever
Resent-From: Dariqq <dariqq@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 17 Feb 2025 10:17:02 +0000
Resent-Message-ID: <handler.76338.B76338.173978738530201 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76338
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 76338 <at> debbugs.gnu.org
Received: via spool by 76338-submit <at> debbugs.gnu.org id=B76338.173978738530201
          (code B ref 76338); Mon, 17 Feb 2025 10:17:02 +0000
Received: (at 76338) by debbugs.gnu.org; 17 Feb 2025 10:16:25 +0000
Received: from localhost ([127.0.0.1]:43307 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjyAq-0007r2-Od
	for submit <at> debbugs.gnu.org; Mon, 17 Feb 2025 05:16:25 -0500
Received: from mout02.posteo.de ([185.67.36.66]:58491)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dariqq@HIDDEN>) id 1tjyAn-0007qG-MK
 for 76338 <at> debbugs.gnu.org; Mon, 17 Feb 2025 05:16:23 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 0F33F240101
 for <76338 <at> debbugs.gnu.org>; Mon, 17 Feb 2025 11:16:14 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1739787375; bh=DjtGkCE/Vr5pKW7uGeI0eD+8TPMQXd5ZKfZx+g9fXSA=;
 h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type:
 Content-Transfer-Encoding:From;
 b=kaY7QVkR/tepD1N/yh/LKvpnRjwBgjv0WazezROpX3HFDXFuwdoWzog9FwlpWB5eQ
 5xL2VfX09Ijkq86XfZns1me59gvq9CxyOyivEH5+ezn2kn5UlvHCT1oaBndaMLtjPu
 PYqNSZEx0+y5XRcZT3bAD0DeBhgJSpz0FMCc5ceI9O+YzA5JiQwMZiIht5SHDqJz6U
 6sVGVB9PmBXb0GOfoxeMBM8r+swzyPmxIo6A0Hdg6DqyqvOhWrmZXwfREjQOj5tFnQ
 0TF/kZ0TG6F76sBo7aGtRGhg5y+Htni0912SLvQE43E1U7p7R12XYtQYa2xDl0ESSt
 oN6JcT66MyEDQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4YxJTT6fxJz9rxN;
 Mon, 17 Feb 2025 11:16:13 +0100 (CET)
Message-ID: <0e689f92-c5e9-4c3b-8ccf-846471919839@HIDDEN>
Date: Mon, 17 Feb 2025 10:15:53 +0000
MIME-Version: 1.0
References: <bbcb0560-64a8-4fb0-a9c2-e05f2d5b042b@HIDDEN>
 <87frkdpzvq.fsf@HIDDEN>
Content-Language: en-US
From: Dariqq <dariqq@HIDDEN>
In-Reply-To: <87frkdpzvq.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Ludo,

On 16.02.25 18:23, Ludovic Courtès wrote:
> Hi,
> 
> Dariqq <dariqq@HIDDEN> skribis:
> 
>> 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.
> 
> This should be fixed: they should all depend on ‘user-processes’.
> 
For the record I will not be verifying every daemon service manually in 
the guix codebase whether it correctly depends on user-processes. Many 
do directly however also a lot only do transitively. The problematic 
cases most likely are where a service sets no requirement field at all

The two services that I know of are thermald and virtlogd.

Also the purpose of the user-processes service (and maybe also the 
filesystems) service as synchronization targets are documented only in 
their definition and implicitly with the shepherd graph image. 
System-shepherd services that dont depend on anything are probably a bad 
idea and seems like a very common mistake for (new) users implementing 
their own services.
Maybe this should be a a more explicit note in the documentation for 
shepherd-service-requirement and/or a small paragraph in the shepherd 
services intro?


> Probably the bug you’re seeing here was revealed by
> <https://issues.guix.gnu.org/75829>.
> 

Is there a reason for user-processes to block on waiting for every 
process execpt PID1 to exit or why during the (sleep 1) calls other 
services (that falsely dont depend on user-processes) are not being 
stopped in the meantime which would help resolve the deadlock?

This causes every daemon indirectly to depend on user-processes but 
shepherd may not know about it.

> But perhaps shepherd should also just disable all services when shutting
> down so that respawning doesn’t happen.

I guess shepherd is just doing its duty as a service manager. Something 
else send SIGTERM/SIGKILL and shepherd kindly respawns it as instructed.
But insisting on restarting a service seems a bit pointless to me during 
shutdown/reboot where everything will be terminated anyway.

> 
> Ludo’.





Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 17 Feb 2025 21:49:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 17 16:49:39 2025
Received: from localhost ([127.0.0.1]:50381 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tk8zj-00026e-Dt
	for submit <at> debbugs.gnu.org; Mon, 17 Feb 2025 16:49:39 -0500
Received: from wolfsden.cz ([37.205.8.62]:45764)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tk8zg-00026D-Jl
 for control <at> debbugs.gnu.org; Mon, 17 Feb 2025 16:49:37 -0500
Received: by wolfsden.cz (Postfix, from userid 104)
 id A8B3F31F3AA; Mon, 17 Feb 2025 21:49:35 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1739828975; bh=KByVU2MoSshq/0SOlhj2V1dDFb0RluIGAqsfjgO7mGY=;
 h=Date:To:From:Subject;
 b=A/ms/+QW552cwMYHcL7cSyBtB3Pi0dx4EMiveUdYntrLEQfEfOQV7dH5Ii+ogXUTn
 C4U41caGSNqblCT43y3R/Iri9DlUxXMjEr8Ce9VlodHR8aR1oAMa2B28i+1QXxDctk
 L2N1FE63LBtXkVk5lOuiywl0gNOf56OkzZz+Vmrevej7JKpDUNhVfxSoCsDEQI3s3B
 RnRC/QGpXp5+u6yiLQgtb49iKJXzkVRdl6/pvZF8QxzElLjVb4otWVDhDROFm4Zn2D
 2BQI9FP47mP/wL+dUQVYqBp4arntxAyaq6S8uAmGAXGJbXKmCmu7iqVq1GpHUc8SF7
 EwMnvdiQuI2e4maGQecXf1TgzNj/BlhA+Upxe6yI1uCb+3P0fXGdqEDBeNVX0SJsUA
 mqwGjC/p5vB7RP8TAza8/L47lr3BERjZhnRm9HI7hu6vEEyFA+jHryBqUCKK6f2ntj
 Up0xdC4nl3ZyIRzN98VrvxEIHcnlvv9RygpclXXtPp+xzMlfsEkaKrq7bPNqK1i6EI
 +g8t9cjiQqnhprgeWS2yswy+gCdSfJJtqjj31gq6GdfS+Cas1z4JRWeba42lDvebvD
 GFFpxw58McpidR+ColUZxAv6ZaurLjGZO5zKRGsVURaI18aWnvgd0yEEJsRtYvW8M8
 /cy6buZKQE9jPxxFu/Iy0vqc=
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden
X-Spam-Level: 
X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED
 autolearn=ham autolearn_force=no version=3.4.6
Received: from localhost (unknown [128.0.188.242])
 by wolfsden.cz (Postfix) with ESMTPSA id 64BF631DE6C
 for <control <at> debbugs.gnu.org>; Mon, 17 Feb 2025 21:49:35 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1739828975; bh=KByVU2MoSshq/0SOlhj2V1dDFb0RluIGAqsfjgO7mGY=;
 h=Date:To:From:Subject;
 b=A/ms/+QW552cwMYHcL7cSyBtB3Pi0dx4EMiveUdYntrLEQfEfOQV7dH5Ii+ogXUTn
 C4U41caGSNqblCT43y3R/Iri9DlUxXMjEr8Ce9VlodHR8aR1oAMa2B28i+1QXxDctk
 L2N1FE63LBtXkVk5lOuiywl0gNOf56OkzZz+Vmrevej7JKpDUNhVfxSoCsDEQI3s3B
 RnRC/QGpXp5+u6yiLQgtb49iKJXzkVRdl6/pvZF8QxzElLjVb4otWVDhDROFm4Zn2D
 2BQI9FP47mP/wL+dUQVYqBp4arntxAyaq6S8uAmGAXGJbXKmCmu7iqVq1GpHUc8SF7
 EwMnvdiQuI2e4maGQecXf1TgzNj/BlhA+Upxe6yI1uCb+3P0fXGdqEDBeNVX0SJsUA
 mqwGjC/p5vB7RP8TAza8/L47lr3BERjZhnRm9HI7hu6vEEyFA+jHryBqUCKK6f2ntj
 Up0xdC4nl3ZyIRzN98VrvxEIHcnlvv9RygpclXXtPp+xzMlfsEkaKrq7bPNqK1i6EI
 +g8t9cjiQqnhprgeWS2yswy+gCdSfJJtqjj31gq6GdfS+Cas1z4JRWeba42lDvebvD
 GFFpxw58McpidR+ColUZxAv6ZaurLjGZO5zKRGsVURaI18aWnvgd0yEEJsRtYvW8M8
 /cy6buZKQE9jPxxFu/Iy0vqc=
Date: Mon, 17 Feb 2025 22:49:35 +0100
Message-ID: <3c5c6a6450e2ba1385106276ec20add3@HIDDEN>
To: control <at> debbugs.gnu.org
From: Tomas Volf <~@wolfsden.cz>
Subject: control message for bug #76368
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

merge 76368 76338
quit





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76338: Rspamd too
References: <bbcb0560-64a8-4fb0-a9c2-e05f2d5b042b@HIDDEN>
In-Reply-To: <bbcb0560-64a8-4fb0-a9c2-e05f2d5b042b@HIDDEN>
Resent-From: Felix Lechner <felix.lechner@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 19 Feb 2025 18:09:02 +0000
Resent-Message-ID: <handler.76338.B76338.173998849210736 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76338
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 76338 <at> debbugs.gnu.org
Cc: Dariqq <dariqq@HIDDEN>, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Tomas Volf <~@wolfsden.cz>
Received: via spool by 76338-submit <at> debbugs.gnu.org id=B76338.173998849210736
          (code B ref 76338); Wed, 19 Feb 2025 18:09:02 +0000
Received: (at 76338) by debbugs.gnu.org; 19 Feb 2025 18:08:12 +0000
Received: from localhost ([127.0.0.1]:51104 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tkoUV-0002n1-BY
	for submit <at> debbugs.gnu.org; Wed, 19 Feb 2025 13:08:11 -0500
Received: from sail-ipv4.us-core.com ([208.82.101.137]:44288)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <felix.lechner@HIDDEN>)
 id 1tkoUS-0002ma-Pw
 for 76338 <at> debbugs.gnu.org; Wed, 19 Feb 2025 13:08:09 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=Y28/ViRbpSYjwtf
 66ANdV8x2rvanWx52baMfwy9cW00=; h=date:subject:cc:to:from;
 d=lease-up.com; b=GRAo5C2QQVqgtrvp5m1IQanJVK7uGcktoRLT79sK0R+XVmx6fwBe
 7gVnLweP1QKc3V40YakU1HF91nsPjopwKEBQZLFKXVwGtx7J9LWMqGvyGqKXTzX9zrnXzJ
 2eVouPDvpZ6BvfTmlMTYaheRENWrQWzxJfApoVoSYGf9tavss=
Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id e2d85da9
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Wed, 19 Feb 2025 18:08:02 +0000 (UTC)
From: Felix Lechner <felix.lechner@HIDDEN>
User-Agent: mu4e 1.12.7; emacs 29.4
Date: Wed, 19 Feb 2025 10:08:04 -0800
Message-ID: <87bjuxx0xn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

I believe Rspamd should likewise depend on 'user-processes'.  Thanks!

Kind regards
Felix




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76338: shepherd restarts service during shutdown and then waits forever
Resent-From: Ashvith Shetty <ashvithshetty0010@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 19 Feb 2025 21:30:02 +0000
Resent-Message-ID: <handler.76338.B76338.174000055526254 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76338
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 76338 <at> debbugs.gnu.org
Cc: Dariqq <dariqq@HIDDEN>, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Received: via spool by 76338-submit <at> debbugs.gnu.org id=B76338.174000055526254
          (code B ref 76338); Wed, 19 Feb 2025 21:30:02 +0000
Received: (at 76338) by debbugs.gnu.org; 19 Feb 2025 21:29:15 +0000
Received: from localhost ([127.0.0.1]:53316 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tkrd3-0006pI-Pw
	for submit <at> debbugs.gnu.org; Wed, 19 Feb 2025 16:29:14 -0500
Received: from sender-pp-o93.zoho.in ([103.117.158.93]:3460)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ashvithshetty0010@HIDDEN>)
 id 1tkrd0-0006oI-SC
 for 76338 <at> debbugs.gnu.org; Wed, 19 Feb 2025 16:29:12 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1740000522; 
 s=zoho; d=zohomail.in; i=ashvithshetty0010@HIDDEN;
 h=Message-ID:Subject:Subject:From:From:To:To:Cc:Cc:Date:Date:In-Reply-To:References:Content-Type:Content-Transfer-Encoding:MIME-Version:Message-Id:Reply-To;
 bh=Rq6Ol2lQQ5+QFMA+wxcUVErAoEeeYzhc/66hR3qFvpA=;
 b=U3gPgqE3x12eMFnDsbOqzVfrGgZPWmcxTRmMkQ+AfV5IlvGkzBDQ2n/VEB8CgyhJ
 qInwGMbQ8u3Yj7k+0XV83oZs21Fa8fYSTdEuS9dKeQEvSu/l6KlXtLbxz1hvBCJwIYr
 0cCP9M7KvSGklMvyKffLBr6+suau/4NIXe4JoBHs=
Received: by mx.zoho.in with SMTPS id 1740000521022985.178080732815;
 Thu, 20 Feb 2025 02:58:41 +0530 (IST)
Message-ID: <0bf18ad5d457fd5ca011e0d7b233d31208ac61b3.camel@HIDDEN>
From: Ashvith Shetty <ashvithshetty0010@HIDDEN>
Date: Thu, 20 Feb 2025 02:58:09 +0530
In-Reply-To: <bbcb0560-64a8-4fb0-a9c2-e05f2d5b042b@HIDDEN>
 (dariqq@HIDDEN's message of "Sun, 16 Feb 2025 14:38:49 +0000")
References: <bbcb0560-64a8-4fb0-a9c2-e05f2d5b042b@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.48.4 
MIME-Version: 1.0
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,
I also have the same exact issue. Here's the shutdown log:

--8<---------------cut here---------------start------------->8---
Feb 20 00:37:30 localhost elogind[426]: System is powering down.
Feb 20 00:37:30 localhost elogind[426]: Removed session c2.
Feb 20 00:37:30 localhost NetworkManager[503]: <info>=20
[1739992050.8059] device (wlp3s0): state change: activated ->
deactivating (reason 'connection-removed', sys-iface-state: 'managed')
Feb 20 00:37:30 localhost NetworkManager[503]: <info>=20
[1739992050.8069] manager: NetworkManager state is now CONNECTED_LOCAL
Feb 20 00:37:30 localhost dbus-daemon[415]: [system] Activating service
name=3D'org.freedesktop.nm_dispatcher' requested by ':1.10' (uid=3D0
pid=3D503 comm=3D"/gnu/store/zav4w5jrcn4yhcawg9l0smv7g2hmyais-networ")
(using servicehelper)
Feb 20 00:37:30 localhost dbus-daemon[415]: [system] Successfully
activated service 'org.freedesktop.nm_dispatcher'
Feb 20 00:37:30 localhost vmunix: [40112.799390] wlp3s0:
deauthenticating from 54:37:bb:d2:dd:3d by local choice (Reason:
3=3DDEAUTH_LEAVING)
Feb 20 00:37:30 localhost shepherd[1]: Stopping service root...=20
Feb 20 00:37:30 localhost shepherd[1]: Exiting shepherd...=20
Feb 20 00:37:30 localhost shepherd[1]: Stopping service swap-swap...=20
Feb 20 00:37:30 localhost shepherd[1]: Service swap-swap stopped.=20
Feb 20 00:37:30 localhost shepherd[1]: Service swap-swap is now
stopped.=20
Feb 20 00:37:30 localhost shepherd[1]: Stopping service lightdm...=20
Feb 20 00:37:31 localhost wpa_supplicant[437]: wlp3s0: CTRL-EVENT-
DISCONNECTED bssid=3D54:37:bb:d2:dd:3d reason=3D3 locally_generated=3D1
Feb 20 00:37:31 localhost wpa_supplicant[437]: wlp3s0: CTRL-EVENT-DSCP-
POLICY clear_all
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.2420] device (wlp3s0): state change: deactivating ->
disconnected (reason 'connection-removed', sys-iface-state: 'managed')
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.2428] dhcp4 (wlp3s0): canceled DHCP transaction
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.2428] dhcp4 (wlp3s0): activation: beginning transaction
(timeout in 45 seconds)
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.2429] dhcp4 (wlp3s0): state changed no lease
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.2435] dhcp6 (wlp3s0): canceled DHCP transaction
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.2435] dhcp6 (wlp3s0): activation: beginning transaction
(timeout in 45 seconds)
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.2436] dhcp6 (wlp3s0): state changed no lease
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.2809] device (wlp3s0): set-hw-addr: set MAC address to
5E:3F:03:00:57:16 (scanning)
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.2908] dns-mgr: Removing DNS information from
/gnu/store/139drha7awx79jb2js4m88p2jsl7zasc-openresolv-
3.13.2/sbin/resolvconf
Feb 20 00:37:31 localhost nscd: 1232 monitored file `/etc/resolv.conf`
was written to
Feb 20 00:37:31 localhost shepherd[1]: Service lightdm stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Service lightdm is now stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Stopping service ssh-daemon...=20
Feb 20 00:37:31 localhost shepherd[1]: Service ssh-daemon stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Service ssh-daemon is now
stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Stopping service avahi-daemon...
Feb 20 00:37:31 localhost shepherd[1]: Service avahi-daemon stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Service avahi-daemon is now
stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Stopping service ntpd...=20
Feb 20 00:37:31 localhost ntpd[619]: ntpd exiting on signal 15
(Terminated)
Feb 20 00:37:31 localhost shepherd[1]: Service ntpd stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Service ntpd is now stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Stopping service dockerd...=20
Feb 20 00:37:31 localhost shepherd[1]: Service dockerd stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Service dockerd is now stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Stopping service
NetworkManager...=20
Feb 20 00:37:31 localhost shepherd[1]: [NetworkManager] Terminated=20
Feb 20 00:37:31 localhost NetworkManager[503]: <warn>=20
[1739992051.4008] dns-mgr: could not commit DNS changes:
/gnu/store/139drha7awx79jb2js4m88p2jsl7zasc-openresolv-
3.13.2/sbin/resolvconf returned error code
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.5026] caught SIGTERM, shutting down normally.
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.5029] device (wlp3s0): supplicant interface state:
completed -> disconnected
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.5029] device (p2p-dev-wlp3s0): supplicant management
interface state: completed -> disconnected
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.5032] device (wlp3s0): supplicant interface state:
disconnected -> interface_disabled
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.5033] device (p2p-dev-wlp3s0): supplicant management
interface state: disconnected -> interface_disabled
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.5034] device (wlp3s0): supplicant interface state:
interface_disabled -> disconnected
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.5035] device (p2p-dev-wlp3s0): supplicant management
interface state: interface_disabled -> disconnected
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.5179] device (wlp3s0): state change: disconnected ->
unmanaged (reason 'unmanaged', sys-iface-state: 'managed')
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.5719] device (wlp3s0): set-hw-addr: reset MAC address to
98:3B:8F:30:37:7A (unmanage)
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.5879] device (p2p-dev-wlp3s0): state change: disconnected -
> unmanaged (reason 'removed', sys-iface-state: 'removed')
Feb 20 00:37:31 localhost wpa_supplicant[437]: p2p-dev-wlp3s0: CTRL-
EVENT-DSCP-POLICY clear_all
Feb 20 00:37:31 localhost wpa_supplicant[437]: p2p-dev-wlp3s0: CTRL-
EVENT-DSCP-POLICY clear_all
Feb 20 00:37:31 localhost wpa_supplicant[437]: nl80211: deinit
ifname=3Dp2p-dev-wlp3s0 disabled_11b_rates=3D0
Feb 20 00:37:31 localhost NetworkManager[503]: <info>=20
[1739992051.6236] exiting (success)
Feb 20 00:37:31 localhost shepherd[1]: Service NetworkManager stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Service NetworkManager is now
stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Stopping service wpa-
supplicant...=20
Feb 20 00:37:31 localhost wpa_supplicant[437]: wlp3s0: CTRL-EVENT-DSCP-
POLICY clear_all
Feb 20 00:37:31 localhost wpa_supplicant[437]: wlp3s0: CTRL-EVENT-DSCP-
POLICY clear_all
Feb 20 00:37:31 localhost wpa_supplicant[437]: nl80211: deinit
ifname=3Dwlp3s0 disabled_11b_rates=3D0
Feb 20 00:37:31 localhost shepherd[1]: Service wpa-supplicant stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Service wpa-supplicant is now
stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Stopping service bluetooth...=20
Feb 20 00:37:31 localhost bluetoothd[428]: Terminating
Feb 20 00:37:31 localhost bluetoothd[428]: Stopping SDP server
Feb 20 00:37:31 localhost bluetoothd[428]: Exit
Feb 20 00:37:31 localhost shepherd[1]: Service bluetooth stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Service bluetooth is now
stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Stopping service upower-
daemon...=20
Feb 20 00:37:31 localhost shepherd[1]: Service upower-daemon stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Service upower-daemon is now
stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Stopping service pam...=20
Feb 20 00:37:31 localhost shepherd[1]: Service pam stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Service pam is now stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Stopping service elogind...=20
Feb 20 00:37:31 localhost elogind[426]: Received signal 15 [TERM]
Feb 20 00:37:31 localhost shepherd[1]: Service elogind stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Service elogind is now stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Stopping service libvirtd...=20
Feb 20 00:37:31 localhost shepherd[1]: Service libvirtd stopped.=20
Feb 20 00:37:31 localhost shepherd[1]: Service libvirtd is now stopped.
Feb 20 00:37:31 localhost shepherd[1]: Stopping service dbus-system...=20
Feb 20 00:37:31 localhost ModemManager[531]: <msg> caught signal,
shutting down...=20
Feb 20 00:37:31 localhost nm-dispatcher: Caught signal 15, shutting
down...
Feb 20 00:37:32 localhost shepherd[1]: Service dbus-system stopped.=20
Feb 20 00:37:32 localhost shepherd[1]: Service dbus-system is now
stopped.=20
Feb 20 00:37:32 localhost ModemManager[531]: <msg> ModemManager is shut
down=20
Feb 20 00:37:32 localhost shepherd[1]: Stopping service term-console...
Feb 20 00:37:32 localhost shepherd[1]: Service term-console stopped.=20
Feb 20 00:37:32 localhost shepherd[1]: Service term-console is now
stopped.=20
Feb 20 00:37:32 localhost shepherd[1]: Stopping service nscd...=20
Feb 20 00:37:32 localhost shepherd[1]: Service nscd stopped.=20
Feb 20 00:37:32 localhost shepherd[1]: Service nscd is now stopped.=20
Feb 20 00:37:32 localhost syslogd: exiting on signal 15
--8<---------------cut here---------------start------------->8---

Regards,
Ashvith




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76338: [PATCH v1] Add user-processes to services that prevent clean shutdowns. (Closes: #76338)
References: <bbcb0560-64a8-4fb0-a9c2-e05f2d5b042b@HIDDEN>
In-Reply-To: <bbcb0560-64a8-4fb0-a9c2-e05f2d5b042b@HIDDEN>
Resent-From: Felix Lechner <felix.lechner@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 20 Feb 2025 19:51:02 +0000
Resent-Message-ID: <handler.76338.B76338.174008106225754 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76338
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 76338 <at> debbugs.gnu.org
Cc: Dariqq <dariqq@HIDDEN>, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Ashvith Shetty <ashvithshetty0010@HIDDEN>, Tomas Volf <~@wolfsden.cz>, Felix Lechner <felix.lechner@HIDDEN>
Received: via spool by 76338-submit <at> debbugs.gnu.org id=B76338.174008106225754
          (code B ref 76338); Thu, 20 Feb 2025 19:51:02 +0000
Received: (at 76338) by debbugs.gnu.org; 20 Feb 2025 19:51:02 +0000
Received: from localhost ([127.0.0.1]:41729 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tlCZZ-0006hC-3k
	for submit <at> debbugs.gnu.org; Thu, 20 Feb 2025 14:51:01 -0500
Received: from sail-ipv4.us-core.com ([208.82.101.137]:52744)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <felix.lechner@HIDDEN>)
 id 1tlCZV-0006ga-PF
 for 76338 <at> debbugs.gnu.org; Thu, 20 Feb 2025 14:50:59 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=PoBVuMLoCdrvggg
 K2hr6KzF+z1n6hapaQ2eMcppgdNI=; h=date:subject:cc:to:from;
 d=lease-up.com; b=WnfVEdCDcdXSskVFVShgSjc0kE6QnB1nA7dA7vejXhHeQ70kTWZI
 8Ag+nAbFeHWHBREKVt+7D6QbGew/CkG4q/1XpGiSU9JpTwEyXccTolpjD9DnPt6NWFt/nk
 leSTI1s4nNgzbTnh0nRSonC9LJXEiov7Twofq9Ca9z0URHXYU=
Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id eb73f706
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Thu, 20 Feb 2025 19:50:50 +0000 (UTC)
Received: from localhost (localhost [local])
 by localhost (OpenSMTPD) with ESMTPA id ed4dccee;
 Thu, 20 Feb 2025 19:50:53 +0000 (UTC)
From: Felix Lechner <felix.lechner@HIDDEN>
Date: Thu, 20 Feb 2025 11:50:44 -0800
Message-ID: <0a0bd097f7120df4360959e0f89f4e07e586e5ec.1740081044.git.felix.lechner@HIDDEN>
X-Mailer: git-send-email 2.48.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

It's at least a partial fix.

Change-Id: Ifca81e4311f5145a3bb36f1ea338554079e121e2
---
 gnu/services/mail.scm | 2 +-
 gnu/services/pm.scm   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm
index 18b482272c..210a226ccf 100644
--- a/gnu/services/mail.scm
+++ b/gnu/services/mail.scm
@@ -2317,7 +2317,7 @@ (define-configuration/no-serialization rspamd-configuration
    (boolean #f)
    "Do not apply Jinja templates.")
   (shepherd-requirements
-   (list-of-symbols '(loopback))
+   (list-of-symbols '(loopback user-processes))
    "This is a list of symbols naming Shepherd services that this service
 will depend on."))
 
diff --git a/gnu/services/pm.scm b/gnu/services/pm.scm
index 1978de55d4..fa18af254b 100644
--- a/gnu/services/pm.scm
+++ b/gnu/services/pm.scm
@@ -512,6 +512,7 @@ (define (thermald-shepherd-service config)
    (shepherd-service
     (provision '(thermald))
     (documentation "Run thermald cpu frequency scaling.")
+    (requirement '(user-processes))
     (start #~(make-forkexec-constructor
               '(#$(file-append (thermald-thermald config) "/sbin/thermald")
                 "--no-daemon"

base-commit: 40e83f8f72fc831c94dc6d42664be50db755344b
-- 
2.48.1





Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 20 Feb 2025 19:55:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 20 14:55:08 2025
Received: from localhost ([127.0.0.1]:41788 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tlCdX-00077C-Gd
	for submit <at> debbugs.gnu.org; Thu, 20 Feb 2025 14:55:07 -0500
Received: from sail-ipv4.us-core.com ([208.82.101.137]:47104)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <felix.lechner@HIDDEN>)
 id 1tlCdU-00076S-0T
 for control <at> debbugs.gnu.org; Thu, 20 Feb 2025 14:55:05 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=ex+NzhEqfSt33+8
 8MvNBVG75VwZGHY65+42Nfz/yjA4=; h=date:subject:to:from;
 d=lease-up.com; 
 b=c+S4QjvHmpOenM/nPwP8VnkD35dj+3XgCX0l+QNAW28UefVgTv2FFgAe1dEiyr2Y8mLS
 Nb1iIpXfURtAlnXcgdzRJPSpbZkxCng8d/2HcvR2jWKj73nNcFG6ZN5IAsG26hyDW9iURB
 77RYpAxK5NzHkns+LS8+VptuiQfD9uXaY=
Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 15f02a83
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO)
 for <control <at> debbugs.gnu.org>; Thu, 20 Feb 2025 19:54:57 +0000 (UTC)
From: Felix Lechner <felix.lechner@HIDDEN>
To: control <at> debbugs.gnu.org
Subject: Updated to grave due to potential data loss
User-Agent: mu4e 1.12.7; emacs 29.4
Date: Thu, 20 Feb 2025 11:55:00 -0800
Message-ID: <874j0ov1bf.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

severity 76338 grave
tags 76338 + patch
thanks




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 20 Feb 2025 19:55:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 20 14:55:08 2025
Received: from localhost ([127.0.0.1]:41788 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tlCdX-00077C-Gd
	for submit <at> debbugs.gnu.org; Thu, 20 Feb 2025 14:55:07 -0500
Received: from sail-ipv4.us-core.com ([208.82.101.137]:47104)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <felix.lechner@HIDDEN>)
 id 1tlCdU-00076S-0T
 for control <at> debbugs.gnu.org; Thu, 20 Feb 2025 14:55:05 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=ex+NzhEqfSt33+8
 8MvNBVG75VwZGHY65+42Nfz/yjA4=; h=date:subject:to:from;
 d=lease-up.com; 
 b=c+S4QjvHmpOenM/nPwP8VnkD35dj+3XgCX0l+QNAW28UefVgTv2FFgAe1dEiyr2Y8mLS
 Nb1iIpXfURtAlnXcgdzRJPSpbZkxCng8d/2HcvR2jWKj73nNcFG6ZN5IAsG26hyDW9iURB
 77RYpAxK5NzHkns+LS8+VptuiQfD9uXaY=
Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 15f02a83
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO)
 for <control <at> debbugs.gnu.org>; Thu, 20 Feb 2025 19:54:57 +0000 (UTC)
From: Felix Lechner <felix.lechner@HIDDEN>
To: control <at> debbugs.gnu.org
Subject: Updated to grave due to potential data loss
User-Agent: mu4e 1.12.7; emacs 29.4
Date: Thu, 20 Feb 2025 11:55:00 -0800
Message-ID: <874j0ov1bf.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

severity 76338 grave
tags 76338 + patch
thanks





Last modified: Thu, 20 Feb 2025 20:00:03 UTC

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