GNU bug report logs - #75460
'herd status' hangs with daemonized shepherd

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Simen Endsjø <contact@HIDDEN>; Done: Ludovic Courtès <ludo@HIDDEN>; Maintainer for guix is bug-guix@HIDDEN.

Message received at 75460-done <at> debbugs.gnu.org:


Received: (at 75460-done) by debbugs.gnu.org; 13 Feb 2025 09:42:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 13 04:42:17 2025
Received: from localhost ([127.0.0.1]:40501 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tiVjb-0003MO-OQ
	for submit <at> debbugs.gnu.org; Thu, 13 Feb 2025 04:42:16 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:55714)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tiVjY-0003Lk-CG
 for 75460-done <at> debbugs.gnu.org; Thu, 13 Feb 2025 04:42:13 -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 1tiVjS-0002xp-1t; Thu, 13 Feb 2025 04:42:06 -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=T17K06mJwEARPpK7ufzQyC+D0Q8rvc9Fea1Zn7aqQkA=; b=fwTk4yx89zHZgLwf7xW4
 aYmtqlol/1GoVbEBHN1j6LQoVsgBebkGh4kbHLcYij5G/R4WShWOyg0GkFqnafsgOEPSUrKSuWXc7
 kwsvBkA+BNI8Sh5AMrf2+km2f5IQosM9K1Erdq59sm0LC88e06DvUhjqV/RetamWRWO2pbKjYO70l
 lPDF9tpFL+AdqzUWblagEvhey5DXzmgnLDdvT0xe3vTuWcG06dzRYSFf8/BSFTBBjUJ2Kn7sJsbgM
 LYSpiXaxxZqmFkkxL/o5LMA+8tKNV7PmHWvws01H1yLnWYnboQ3z+Ps5hPsG28uFYtqRGfeCIxtHE
 tZCxDONtJ8EyJw==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Simen =?utf-8?Q?Endsj=C3=B8?= <contact@HIDDEN>
Subject: Re: bug#75460: 'herd status' hangs with daemonized shepherd
In-Reply-To: <87a5b0a1ve.fsf_-_@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s?=
 =?utf-8?Q?=22's?= message of "Wed, 05 Feb 2025 15:43:17 +0100")
References: <87a5c0jjno.fsf@HIDDEN> <874j25lzbd.fsf@HIDDEN>
 <87plks1mv0.fsf@HIDDEN> <87bjwcktnb.fsf@HIDDEN>
 <87y0zgjakm.fsf@HIDDEN> <87r058j89b.fsf@HIDDEN>
 <87cygraj9p.fsf@HIDDEN> <871px7c7u9.fsf@HIDDEN>
 <878qrek0pj.fsf@HIDDEN> <87ed0ftqh2.fsf@HIDDEN>
 <87a5b0a1ve.fsf_-_@HIDDEN>
Date: Thu, 13 Feb 2025 10:41:57 +0100
Message-ID: <8734gi41wa.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-Debbugs-Envelope-To: 75460-done
Cc: 75460-done <at> debbugs.gnu.org
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,

The Shepherd 1.0.2 is out now.  Closing, but please reopen if you still
experience problems.

Ludo=E2=80=99.




Notification sent to Simen Endsjø <contact@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Ludovic Courtès <ludo@HIDDEN>:
You have taken responsibility. Full text available.

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


Received: (at 75460) by debbugs.gnu.org; 5 Feb 2025 14:43:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 05 09:43:38 2025
Received: from localhost ([127.0.0.1]:49244 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tfgcr-0005x3-CE
	for submit <at> debbugs.gnu.org; Wed, 05 Feb 2025 09:43:38 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:58944)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tfgcf-0005wP-J4
 for 75460 <at> debbugs.gnu.org; Wed, 05 Feb 2025 09:43:26 -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 1tfgca-000614-6x; Wed, 05 Feb 2025 09:43:20 -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=G0izI+x8XJoNjYQVU2Y2rKLaPoUcMHP+6xh/dCHusgE=; b=UP7hv8p8PqEkKsZQ02hh
 +T3AV7DAnLY0IqIMUGqBr1FAqvGHyhmmsnvgvWtk+WSStLFh4A76xYjirhddpyh2Hldzd9C1hQMia
 h++vtJRS5SLnFovMc8QGU7aUAgjrmVSGpZzA9fP9v4iSes+67uTReM7vs1Qda3IhLu8117e4hoTi/
 v/8TPDTyW9aK3/jqJQIWoQX8vqfn284TepxU0AY9fqw3EVQZGK8rqE1UPLFGoq19SxrO4lHNNHgXN
 ex5oka3FD9H1Swq12LezgW4ft3J2qt2aRr0ZlPcG+1rdFiKFDNJuMpQpCwcQ5gBONrTmrFED6Q9Yo
 MNmn95BukL5JBA==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Simen =?utf-8?Q?Endsj=C3=B8?= <contact@HIDDEN>
Subject: Re: bug#75460: 'herd status' hangs with daemonized shepherd
In-Reply-To: <87ed0ftqh2.fsf@HIDDEN> ("Simen =?utf-8?Q?Endsj=C3=B8?=
 =?utf-8?Q?=22's?= message of "Mon, 03 Feb 2025 08:52:25 +0100")
References: <87a5c0jjno.fsf@HIDDEN> <874j25lzbd.fsf@HIDDEN>
 <87plks1mv0.fsf@HIDDEN> <87bjwcktnb.fsf@HIDDEN>
 <87y0zgjakm.fsf@HIDDEN> <87r058j89b.fsf@HIDDEN>
 <87cygraj9p.fsf@HIDDEN> <871px7c7u9.fsf@HIDDEN>
 <878qrek0pj.fsf@HIDDEN> <87ed0ftqh2.fsf@HIDDEN>
Date: Wed, 05 Feb 2025 15:43:17 +0100
Message-ID: <87a5b0a1ve.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-Debbugs-Envelope-To: 75460
Cc: 75460 <at> debbugs.gnu.org
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,

Simen Endsj=C3=B8 <contact@HIDDEN> skribis:

> Simen Endsj=C3=B8 <contact@HIDDEN> writes:
>
>> Ludovic Court=C3=A8s <ludo@HIDDEN> writes:
>>
>>> This is fixed by
>>> <https://git.savannah.gnu.org/cgit/shepherd.git/commit/?id=3Dffcd3745e5=
d8a3e4134ae76fe94a5ec80f52c465>.
>>>
>>> It would be great if you could give it a try because I=E2=80=99m not su=
re this
>>> is exactly the problem you were having, but it may be related at least.
>>
>> Great, thanks! Unfortunately, I have no idea how I can modify my setup
>> to use this new shepherd until it's added to guix.

Hmm I don=E2=80=99t see this message of yours in the thread; weird.

The simple way to test is by using the =E2=80=98shepherd=E2=80=99 channel a=
nd adjusting
your Home config to use the =E2=80=98shepherd=E2=80=99 package of that chan=
nel:

  https://lists.gnu.org/archive/html/guix-devel/2024-11/msg00114.html

(Part of this is described in =E2=80=98README=E2=80=99 but I=E2=80=99ll cop=
y the instructions on
the web site for clarity.)

> I see 1.0.2 is not in Guix yet.

It=E2=80=99s not released yet, but hopefully in the coming days.

Thanks for checking!

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#75460; Package guix. Full text available.

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


Received: (at 75460) by debbugs.gnu.org; 3 Feb 2025 07:52:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 03 02:52:48 2025
Received: from localhost ([127.0.0.1]:37580 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1terGC-0001Gn-CV
	for submit <at> debbugs.gnu.org; Mon, 03 Feb 2025 02:52:48 -0500
Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]:39903)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <contact@HIDDEN>)
 id 1terG9-0001GX-Bt
 for 75460 <at> debbugs.gnu.org; Mon, 03 Feb 2025 02:52:46 -0500
Received: from phl-compute-08.internal (phl-compute-08.phl.internal
 [10.202.2.48])
 by mailfhigh.stl.internal (Postfix) with ESMTP id DEE4025400C4;
 Mon,  3 Feb 2025 02:52:39 -0500 (EST)
Received: from phl-mailfrontend-01 ([10.202.2.162])
 by phl-compute-08.internal (MEProxy); Mon, 03 Feb 2025 02:52:39 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simendsjo.me; h=
 cc:cc:content-type:content-type:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:subject
 :subject:to:to; s=fm3; t=1738569159; x=1738655559; bh=HmLvqcorWC
 0UkEpD/mp+GUA7hOW5AygS4+LwnPJ70ok=; b=BD0HAF3k27lBJoeOpsdvJwhP/K
 qlHyrJcNGBd9O5E/a4qHzpc2SYIBQzV5655wlrzB3FwgVudmGuWW8O8dolWV89Ol
 5usRgCWx3mAg5kqhmoMbGfu14MHzPSzD7iLtQhDCxzk2giK3FLZLfM6QRetFcXgZ
 kZCKe1ioUzloqiy8e0WxTAuTyUqOo9WNZ7Shh5LWOwBlIGC4IELTgo5SqUWxsVH7
 zg5xNq08Dm1PyYnqvnNnE/GujrhDoxI94YhuyntU2F5Q5RH9M5kM1zlIzdPMZIGX
 ZSu/pzIqhvIaZtdod4upqtAirZ3MSD7UJ3Qb3+yltwc6JKy61sjYI9Qbsu8w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=
 1738569159; x=1738655559; bh=HmLvqcorWC0UkEpD/mp+GUA7hOW5AygS4+L
 wnPJ70ok=; b=uI1vIjwHF7vi9NZTYAC4LM0mijrzY6mTuRiLPK1Ms8qj8y4AD90
 JoF5x1AiKi2SNjJ0d8H4/Yoer4kDqnAb7cKX04I9Ez46wRSruyJYJ959d/9O2JA1
 XT0Zl2Ob52wy5KNbG/M6kFpMKfBo8L7jTms/pmvxSW+hfU/CEzDqQCX35oll/o8H
 oiqhZPPpaVolBiCtz2VXsq1VHvLm/oMIJ2NAJZkDKWxj2VPZJtXB4eB1pTlUYePA
 yrwQKsDwTBQD1nHVb/1BSr2L/Qj9p8yQLgd/wcG8blViI6laq3m6D70ilhcvs+NV
 KWwlZ9rs2KnSQtARj4niMNGBRUXNvVcxq7w==
X-ME-Sender: <xms:x3WgZ5NtbsuAeP9vLRuAoDFUi9w-sSsM6mqUJiKxKMX8xSsG-JS7mw>
 <xme:x3WgZ7_V8JmuC4oFin5TmfsO9vyL1HiAS-AErkADiGNyXaZHSRe4uEn1BuWRi79kZ
 AJPLEIP3Rx5r_woxB4>
X-ME-Received: <xmr:x3WgZ4T0CJG-GKL55nIwVZDKdu1-qLjyirsNXWYAAG_toMzNd2XG7xGPMZg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddujedtfecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
 hnthhsucdlqddutddtmdenucfjughrpefhvfevufgjfhgffffkgggtsehgtderredtreej
 necuhfhrohhmpefuihhmvghnucfgnhgushhjppcuoegtohhnthgrtghtsehsihhmvghnug
 hsjhhordhmvgeqnecuggftrfgrthhtvghrnhepvdekhfdvledufeduvddufeejfeevgeek
 leejveeludegveelfeeiveffheeklefgnecuffhomhgrihhnpehgnhhurdhorhhgnecuve
 hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheptghonhhtrggt
 thesshhimhgvnhgushhjohdrmhgvpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmth
 hpohhuthdprhgtphhtthhopeejheegiedtseguvggssghughhsrdhgnhhurdhorhhgpdhr
 tghpthhtoheplhhuughosehgnhhurdhorhhg
X-ME-Proxy: <xmx:x3WgZ1sgEvOppELdLrUDjnRRvKDl6PblMfACG6MiH0jVQyj6dsn81A>
 <xmx:x3WgZxdN8cH_RFsI3xlXddKk5z0DFNYfx6IQdRKTFSRtZyoF96hyww>
 <xmx:x3WgZx0ZG-OTB1Aui8cYwPCSz-HBRQMvo2EIGyq3HBSxPB_f8ThHig>
 <xmx:x3WgZ99Qc8q2sDi40TxHlDUoO-tDs6qWfMFWITTcYygZ1NFYitCYEA>
 <xmx:x3WgZypGGglX1GPCMgTGkTDMdtVG_MrJ7oEzk6t3LPcea0qC5VQhoMrj>
Feedback-ID: i08f14972:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
 3 Feb 2025 02:52:38 -0500 (EST)
From: =?utf-8?Q?Simen_Endsj=C3=B8?= <contact@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#75460: herd status hangs forever
In-Reply-To: <878qrek0pj.fsf@HIDDEN> ("Simen =?utf-8?Q?Endsj=C3=B8?=
 =?utf-8?Q?=22's?= message of "Mon, 13 Jan 2025 19:50:16 +0100")
References: <87a5c0jjno.fsf@HIDDEN> <874j25lzbd.fsf@HIDDEN>
 <87plks1mv0.fsf@HIDDEN> <87bjwcktnb.fsf@HIDDEN>
 <87y0zgjakm.fsf@HIDDEN> <87r058j89b.fsf@HIDDEN>
 <87cygraj9p.fsf@HIDDEN> <871px7c7u9.fsf@HIDDEN>
 <878qrek0pj.fsf@HIDDEN>
User-Agent: mu4e 1.12.8; emacs 29.4
Date: Mon, 03 Feb 2025 08:52:25 +0100
Message-ID: <87ed0ftqh2.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 75460
Cc: 75460 <at> debbugs.gnu.org
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.7 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Simen Endsj=C3=B8 <contact@HIDDEN> writes:

> Ludovic Court=C3=A8s <ludo@HIDDEN> writes:
>
>> This is fixed by
>> <https://git.savannah.gnu.org/cgit/shepherd.git/commit/?id=3Dffcd3745e5d=
8a3e4134ae76fe94a5ec80f52c465>.
>>
>> It would be great if you could give it a try because I=E2=80=99m not sur=
e this
>> is exactly the problem you were having, but it may be related at least.
>
> Great, thanks! Unfortunately, I have no idea how I can modify my setup
> to use this new shepherd until it's added to guix.

I see 1.0.2 is not in Guix yet.
Just a note on where the blocking happens:

    $ strace herd eval root '(sleep 1)'
    # ...
    socket(AF_UNIX, SOCK_STREAM, 0)         =3D 10
    connect(10, {sa_family=3DAF_UNIX, sun_path=3D"/run/user/1000/shepherd/s=
ocket"}, 32) =3D 0
    getcwd("/home/n655514", 100)            =3D 14
    write(10, "(shepherd-command (version 0) (a"..., 113) =3D 113
    read(10,

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQFJBAEBCAAzFiEEsPLWxSk2lf1XtdJVd7xjRbZdbPsFAmegdbkVHGNvbnRhY3RA
c2ltZW5kc2pvLm1lAAoJEHe8Y0W2XWz7ASkH/RSW0btpmfnlElBC7UH1TwF68tz2
LVeIEhQa+gKw4qOxGTSPwslxWqKUXKR3M3KWOYAhzCCI3eRzRVzsEiZODQyb8Nno
zdTm+gnPgu2w9Z5p5rKMKXb6EAhkS0X5nlmJbu26pmZPbArgF1mWU4B0IbhU3fTH
zLjiADnudepFeXvNNryrjrwfy7WK3HRfOQKyruGqnyjYwcHZnVisxQfk7jnBes6h
hEcv/t4jp0/G2anjZfEsV3E6RlyCdfDnG3ip4gjeCiqrfEoAdjC370WGNlvp9eDe
0tHB5Aqr6y4EtIGwtHdcneMNCTC8tHNRGDkwEd2VhpyFDddzhWdKGtFAr2E=
=/FST
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#75460; Package guix. Full text available.
Changed bug title to ''herd status' hangs with daemonized shepherd' from 'herd status hangs forever' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 75460) by debbugs.gnu.org; 13 Jan 2025 10:43:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 13 05:43:36 2025
Received: from localhost ([127.0.0.1]:50458 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tXHuy-0007Mu-2z
	for submit <at> debbugs.gnu.org; Mon, 13 Jan 2025 05:43:36 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:42324)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tXHuw-0007Mf-1v
 for 75460 <at> debbugs.gnu.org; Mon, 13 Jan 2025 05:43:34 -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 1tXHuq-0005nL-FD; Mon, 13 Jan 2025 05:43:28 -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=cVG8hOK+43qKgDaN9hWzvzA1FP+Fn7WllB4Og9Wy7/8=; b=QID2HwL/O6xMFpISQf/R
 ZKEBTYZEz97YoTZ34W4GZNiSkDWSn9Hcxnl1ieiprpgY1E8t+ZrcVLRXMNHk1WaesTouHhEsoXSUM
 XbUHdY6WpUpM5Zzp4IZ/PQA/ex6o52Q9OegvjjIGgx72MqLT1VyBKlzmBtmsRg6fTuoEthhQpBkn0
 hAPJjlY2Ap4Iyvpora3NZlEpUmZRsCBXRIbdogiz7H0Kufy3dq4Bio48hTFMZnfI0dIEKtl1nuHu0
 PZ1oA144iRp7IwjplC4sdtxuop500u0r+Ld+wjQoLYSBVw+9/DMcWmhij0XrJtyfAM7pJymnlzIj/
 hpopUrGEQ4CJrA==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Simen =?utf-8?Q?Endsj=C3=B8?= <contact@HIDDEN>
Subject: Re: bug#75460: herd status hangs forever
In-Reply-To: <87cygraj9p.fsf@HIDDEN> ("Simen =?utf-8?Q?Endsj=C3=B8?=
 =?utf-8?Q?=22's?= message of "Sun, 12 Jan 2025 21:07:14 +0100")
References: <87a5c0jjno.fsf@HIDDEN> <874j25lzbd.fsf@HIDDEN>
 <87plks1mv0.fsf@HIDDEN> <87bjwcktnb.fsf@HIDDEN>
 <87y0zgjakm.fsf@HIDDEN> <87r058j89b.fsf@HIDDEN>
 <87cygraj9p.fsf@HIDDEN>
Date: Mon, 13 Jan 2025 11:43:26 +0100
Message-ID: <871px7c7u9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 75460
Cc: 75460 <at> debbugs.gnu.org
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 (---)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi,

I was able to reproduce a problem (maybe not *the* problem) running
<https://git.sr.ht/~simendsjo/dotfiles/tree/main/item/sijo/home/simendsjo/h=
ome-environment.scm>
in =E2=80=98guix home container=E2=80=99, with the changes below to simplif=
y setup.

What I noticed is that, until =E2=80=98x11-display=E2=80=99 has failed to s=
tart (it
necessarily fails to start in the container), shepherd is unresponsive:
any =E2=80=98herd=E2=80=99 command hangs.  After that, everything is fine.

This is fixed by
<https://git.savannah.gnu.org/cgit/shepherd.git/commit/?id=3Dffcd3745e5d8a3=
e4134ae76fe94a5ec80f52c465>.

It would be great if you could give it a try because I=E2=80=99m not sure t=
his
is exactly the problem you were having, but it may be related at least.

Thanks,
Ludo=E2=80=99.


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline

diff --git a/sijo/home/services/sijo-fonts.scm b/sijo/home/services/sijo-fonts.scm
index ba6f9f6..2fdd922 100644
--- a/sijo/home/services/sijo-fonts.scm
+++ b/sijo/home/services/sijo-fonts.scm
@@ -8,7 +8,7 @@
   #:use-module (gnu packages ghostscript)
   #:use-module (gnu packages javascript)
   #:use-module (gnu packages xorg)
-  #:use-module (nongnu packages fonts))
+)
 
 (define sijo-fonts-service-profile
   (lambda (config)
diff --git a/sijo/home/simendsjo/home-environment.scm b/sijo/home/simendsjo/home-environment.scm
index 8d5f999..469ce67 100644
--- a/sijo/home/simendsjo/home-environment.scm
+++ b/sijo/home/simendsjo/home-environment.scm
@@ -89,9 +89,9 @@ guix home \
   #:use-module (gnu services configuration)
   #:use-module (gnu services)
   #:use-module (guix gexp)
-  #:use-module (nongnu packages chrome)
-  #:use-module (nongnu packages game-client)
-  #:use-module (nongnu packages mozilla)
+  ;; #:use-module (nongnu packages chrome)
+  ;; #:use-module (nongnu packages game-client)
+  ;; #:use-module (nongnu packages mozilla)
   #:use-module (sijo home services blueman-applet)
   #:use-module (sijo home services cbatticon)
   #:use-module (sijo home services dropbox)
@@ -115,7 +115,7 @@ guix home \
 
 (define-public simendsjo-home-environment
   (home-environment
-    (packages (list
+    #;(packages (list
                ;; spell checking
                ispell                 ; interactive spell checking
                hunspell               ; spell checker (used by e.g. libreoffice)
@@ -346,9 +346,7 @@ guix home \
                 (extra-content "allow-loopback-pinentry")))
       (service sijo-gpg-service-type)
       ;; Font configuration
-      (service sijo-fonts-service-type)
       ;; dotnet
-      (service sijo-dotnet-service-type)
       (service sijo-mob-service-type)
       ;; Guix configuration
       ;; TODO: There is a custom service type for channels which we should use instead

--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#75460; Package guix. Full text available.

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


Received: (at 75460) by debbugs.gnu.org; 12 Jan 2025 20:07:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 12 15:07:41 2025
Received: from localhost ([127.0.0.1]:49226 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tX4FI-0004PE-Rt
	for submit <at> debbugs.gnu.org; Sun, 12 Jan 2025 15:07:41 -0500
Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]:59691)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <contact@HIDDEN>)
 id 1tX4FG-0004Os-Gp
 for 75460 <at> debbugs.gnu.org; Sun, 12 Jan 2025 15:07:39 -0500
Received: from phl-compute-04.internal (phl-compute-04.phl.internal
 [10.202.2.44])
 by mailfhigh.phl.internal (Postfix) with ESMTP id CB1F41140156;
 Sun, 12 Jan 2025 15:07:30 -0500 (EST)
Received: from phl-mailfrontend-02 ([10.202.2.163])
 by phl-compute-04.internal (MEProxy); Sun, 12 Jan 2025 15:07:30 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simendsjo.me; h=
 cc:cc:content-type:content-type:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:subject
 :subject:to:to; s=fm2; t=1736712450; x=1736798850; bh=jtjwHMhv1+
 VIGDdwgP7q7blFe4qBj2dTBHs12Qt4QzY=; b=d0k3839ttdPCz1X9H0UyY9UJ6e
 AHzmG7vxJG6KArtw0JYltVDidCTk2+sLcbUxBSK1eKxgaBSiBlsn8IODJkaEJhCY
 cJOSGQmP0MgXsDGJGFYgVpCvnJ0+oXxl65b1NPSqnLZ4gq0ohFs64h29yzJGeM85
 Q/mxNqrsoC2YlRdoTa3Oo6FuIP7Q6eYKuiUbwGz4WnamIhGIv1JOdC9Zy+WLxpBT
 qbP8WDqlvvvP1F5qgT0NsKd+FMl6E0S8lK7lNnuIyyMQ3s3SjK8HjB51zc2VI7wb
 gBdAD7dSF4ISnRvC4nRnbtuXI/MWaPeCbNNZtW7KwrrzmDIgXEU3tBfc653Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=
 1736712450; x=1736798850; bh=jtjwHMhv1+VIGDdwgP7q7blFe4qBj2dTBHs
 12Qt4QzY=; b=EpQj3jb8CFNapEQMPeeGhvt2l9s3feYeei3kXoz0zsyjW5/nWKK
 uAdOL/Cul/kiOY+L+v6svTuJkW+4peGQgvTvHpm2jJoPq2j1PQ3jfVDy1+G0fK2h
 ZNhaJ0BJyffZcDHEyF5dCxP9KCm4PDQryvLRVP0X8h5ObGs8yqg22mu1invZy2ni
 puF+gqKNFyJFjFMjC5VoSFc3QukJnOrFPoQmUqBhAuTG85sgsB2x27TfBHaaxzXb
 ckFntMkthazp02lybD74gAJbN8GLyN0rornqUnGFkktaPDWY5kJIx/BeeHfR7G1Z
 KIEpAaGni2j7WVRoLhWw+plq4/Aub0m/7mA==
X-ME-Sender: <xms:AiGEZy7MPj0efD3bvlsBbX6yKLkyP9t1gU16fZV8oRIL2ZmeZOEJrA>
 <xme:AiGEZ75fjOV9CUeqlGF8c95cMTTk1gB90_27e53nSP5CMSDS1WsM_5JCmoptVxF7v
 1epjlWGFyCjlGFfGjA>
X-ME-Received: <xmr:AiGEZxfQUdmwh5HcmwUThYU4Pu2fvH56IWX789U8HBaddoVmh6rICwgcUcku>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudehvddgudefvdcutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
 hnthhsucdlqddutddtmdenucfjughrpefhvfevufgjfhgffffkgggtsehgtderredtreej
 necuhfhrohhmpefuihhmvghnucfgnhgushhjppcuoegtohhnthgrtghtsehsihhmvghnug
 hsjhhordhmvgeqnecuggftrfgrthhtvghrnhepleeffedvhfdutdejieeugedvlefffeei
 ieffteetueegfedtueeuteelheejgfdtnecuvehluhhsthgvrhfuihiivgeptdenucfrrg
 hrrghmpehmrghilhhfrhhomheptghonhhtrggtthesshhimhgvnhgushhjohdrmhgvpdhn
 sggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopeejheegie
 dtseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtoheplhhuughosehgnhhurdho
 rhhg
X-ME-Proxy: <xmx:AiGEZ_Kv4RRF5urs7gbbWBqniqUAvfEXhQyDt87S0EpHlllgwVj-rg>
 <xmx:AiGEZ2Iah_P8j8blPfxFmjTu2HsmAVwRblSS2WsXWN1aC_qHRKifmA>
 <xmx:AiGEZwzkeOH5sQh9TeGwMXigjU5US8gRovnz5qoJR9x9FtnANPD6Ow>
 <xmx:AiGEZ6JyCbP7u26VmHl5TwioV2mu-mb8DQV7gIqdhSsNFZo2XdGXYA>
 <xmx:AiGEZ9VRwri_IHc0BS5DODkCGgzZaXjWh7pFRGoWDCsDyCpgD63QEX3J>
Feedback-ID: i08f14972:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun,
 12 Jan 2025 15:07:29 -0500 (EST)
From: =?utf-8?Q?Simen_Endsj=C3=B8?= <contact@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#75460: herd status hangs forever
In-Reply-To: <87r058j89b.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Sun, 12 Jan 2025 17:40:16 +0100")
References: <87a5c0jjno.fsf@HIDDEN> <874j25lzbd.fsf@HIDDEN>
 <87plks1mv0.fsf@HIDDEN> <87bjwcktnb.fsf@HIDDEN>
 <87y0zgjakm.fsf@HIDDEN> <87r058j89b.fsf@HIDDEN>
User-Agent: mu4e 1.12.7; emacs 29.4
Date: Sun, 12 Jan 2025 21:07:14 +0100
Message-ID: <87cygraj9p.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 75460
Cc: 75460 <at> debbugs.gnu.org
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.7 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:
> One suggestion:
(..)
> -                (unless (file-exists? socket)
> +                (and (not (file-exists? socket))
(..)
> Otherwise you end up with =E2=80=98emacs-daemon=E2=80=99 marked as =E2=80=
=9Cstarted=E2=80=9D with
> #<unspecified> as its running value, causing an exception (type error)
> when attempting to stop it.

Thanks! I just assumed it worked like Common Lisp, returning #f. That
explains the weird issues I have been seeing.

>> =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80
>> =E2=94=82 2025-01-12 16:39:26 GNU Shepherd 1.0.0 (Guile 3.0.9, x86_64-un=
known-linux-gnu)
>> =E2=94=82 2025-01-12 16:39:26 Starting service root...
>
> Nothing stands out here, but this log is much recent than your initial
> report.  Is =E2=80=98herd status=E2=80=99 still hanging?  IOW, is it 100%=
 reproducible?

I rebooted to get a clean log. Yes, it is fully reproducible.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQFJBAEBCAAzFiEEsPLWxSk2lf1XtdJVd7xjRbZdbPsFAmeEIPIVHGNvbnRhY3RA
c2ltZW5kc2pvLm1lAAoJEHe8Y0W2XWz7bqMIAMGYW4s+R3B4P4hYASa/5v3JpAgu
qq5vtWyXd3FHXJtK4Xildob9eG6VbuqfouDFEXW2thOJd7oVI5hzIkFvjS2gbjE4
Tc0v0tgzMWA1MXVuWxuAASNY5Rf/LbC02b4fGdT5SaY/TP4vQxf7JtUNcA7rBI0V
tvDZT9ZpPjXEopRCMucfdAdYqxec5/gv+QDcfmj0eSfTqfeulBlrOwrhe0eemUBm
S5ZpiQPqpDg2RkT8MnWRoh2niFQYHiZSmteJnri739EJfxbNjb2/tyqyslDRx45K
4dR7SvCyluFoTP33oSE/GcajSkR1PkvkoBAS1SqoyGHHL+RZMn/m7FH2v+M=
=zqig
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#75460; Package guix. Full text available.

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


Received: (at 75460) by debbugs.gnu.org; 12 Jan 2025 16:40:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 12 11:40:27 2025
Received: from localhost ([127.0.0.1]:48895 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tX10k-0006Oq-MD
	for submit <at> debbugs.gnu.org; Sun, 12 Jan 2025 11:40:27 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:51734)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tX10i-0006O4-3G
 for 75460 <at> debbugs.gnu.org; Sun, 12 Jan 2025 11:40:25 -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 1tX10c-0002O5-GH; Sun, 12 Jan 2025 11:40:18 -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=IxHeeIfA8wmFCbrs4fIn3UdmnPgY5RxmxqYXJVz6YE0=; b=QYnHPIRukkFjO83bdjsY
 mJyIqvZNtGCi9Dsyjf7ff/S0W2uv/soihr7xO0q17EgajW5k67I9IP7WH9ebrf4rjTTAIobKPybtp
 RrBp5dNCYWA/rW/BTvnEhvQN8xSEdIiftN1zL5SyuYfRWjvnsp3qpjHqDJulTAzjCW2o7uWEiHJnd
 vXgY2FB52GbHKKS3dby/3+/HT443d+6ls4Pc/Unbu0C8HePHEbtVCooqRq4upoKP8YWtgIUdd3hBE
 FKKDiZ+8aqF0zGqqI8U8EU9lQ0tLsQ51STd/MeUUKagT1e158EfSuBZl+gaKmaxMOXcXE+/oLxOCP
 Dcz5pAsXy4X98w==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Simen =?utf-8?Q?Endsj=C3=B8?= <contact@HIDDEN>
Subject: Re: bug#75460: herd status hangs forever
In-Reply-To: <87y0zgjakm.fsf@HIDDEN> ("Simen =?utf-8?Q?Endsj=C3=B8?=
 =?utf-8?Q?=22's?= message of "Sun, 12 Jan 2025 16:50:17 +0100")
References: <87a5c0jjno.fsf@HIDDEN> <874j25lzbd.fsf@HIDDEN>
 <87plks1mv0.fsf@HIDDEN> <87bjwcktnb.fsf@HIDDEN>
 <87y0zgjakm.fsf@HIDDEN>
Date: Sun, 12 Jan 2025 17:40:16 +0100
Message-ID: <87r058j89b.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 75460
Cc: 75460 <at> debbugs.gnu.org
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 (---)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hello,

Simen Endsj=C3=B8 <contact@HIDDEN> skribis:

> Oh, I only checked some services and assumed all was working. All the
> following services hang. The common denominator is that I have written
> these myself, so I might be doing something odd here.
>
> =E2=80=A2 xss-lock
> =E2=80=A2 volctl
> =E2=80=A2 picom
> =E2=80=A2 network-manager-applet
> =E2=80=A2 dunst
> =E2=80=A2 cbatticon
> =E2=80=A2 blueman-applet
>
> For example xss-lock:
> <https://git.sr.ht/~simendsjo/dotfiles/tree/main/item/sijo/home/services/=
xss-lock.scm#L7-30>

Yes, I already looked at all of them just in case :-) and didn=E2=80=99t no=
tice
anything fishy.

One suggestion:


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline

diff --git a/sijo/home/services/emacs-daemon.scm b/sijo/home/services/emacs-daemon.scm
index 5e438b8..32d6ae0 100644
--- a/sijo/home/services/emacs-daemon.scm
+++ b/sijo/home/services/emacs-daemon.scm
@@ -11,7 +11,7 @@
     (modules '((shepherd support)))  ;for '%user-runtime-dir'
     (start #~(lambda ()
               (let ((socket (string-append %user-runtime-dir "/emacs/server")))
-                (unless (file-exists? socket)
+                (and (not (file-exists? socket))
                      (fork+exec-command (list "emacs" "--fg-daemon"))))))
     (stop #~(make-kill-destructor)))))
 

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Otherwise you end up with =E2=80=98emacs-daemon=E2=80=99 marked as =E2=80=
=9Cstarted=E2=80=9D with
#<unspecified> as its running value, causing an exception (type error)
when attempting to stop it.

> =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80
> =E2=94=82 2025-01-12 16:39:26 GNU Shepherd 1.0.0 (Guile 3.0.9, x86_64-unk=
nown-linux-gnu)
> =E2=94=82 2025-01-12 16:39:26 Starting service root...

Nothing stands out here, but this log is much recent than your initial
report.  Is =E2=80=98herd status=E2=80=99 still hanging?  IOW, is it 100% r=
eproducible?

Thanks,
Ludo=E2=80=99.

--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#75460; Package guix. Full text available.

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


Received: (at 75460) by debbugs.gnu.org; 12 Jan 2025 15:50:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 12 10:50:41 2025
Received: from localhost ([127.0.0.1]:48824 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tX0Eb-0003ZI-14
	for submit <at> debbugs.gnu.org; Sun, 12 Jan 2025 10:50:41 -0500
Received: from fout-b6-smtp.messagingengine.com ([202.12.124.149]:59405)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <contact@HIDDEN>)
 id 1tX0EZ-0003Z4-4l
 for 75460 <at> debbugs.gnu.org; Sun, 12 Jan 2025 10:50:39 -0500
Received: from phl-compute-11.internal (phl-compute-11.phl.internal
 [10.202.2.51])
 by mailfout.stl.internal (Postfix) with ESMTP id 9FCD411400E5;
 Sun, 12 Jan 2025 10:50:33 -0500 (EST)
Received: from phl-mailfrontend-01 ([10.202.2.162])
 by phl-compute-11.internal (MEProxy); Sun, 12 Jan 2025 10:50:33 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simendsjo.me; h=
 cc:cc:content-type:content-type:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:subject
 :subject:to:to; s=fm2; t=1736697033; x=1736783433; bh=HcOA6oywBV
 3JVtI97ZSqJ0bIUyL6L+4UhXDczgYNA7E=; b=XEsRoIQiPAdZR6eb6h8Csbv128
 ow48eHMW8CW1KXxgj+G7sTZJUOoauq4Ho1WiVA2YExv6IrPqphdpF/lxFfO39c+j
 yFx43ka0aFPutDJ66VwD/7VMpmr9dSngNqkVILOmMN3qDxA1+1mWwedtzCLdSfPu
 BBkflRavB4qTTTle5wgdIuOfbcB9EP1AUnGxUug6m/Smr1Uo2/goofGlE8aZqBe4
 77rRCyNpDWvTjcmG2ODasof6Xv3jgTmASkGXnFrKR4CGwkIBXINOemcyMV8XGPrI
 rZpSyP5yWdl7Z7eMPd5NvnQeZythSatPk7LBKx6Bf/nv8kejE0jzgqDxqCmw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=
 1736697033; x=1736783433; bh=HcOA6oywBV3JVtI97ZSqJ0bIUyL6L+4UhXD
 czgYNA7E=; b=JWYY25zRTE0y8P8UbMUIXwT0IUZ0uqV/wHVht2VbSHFVucwel0/
 UbtuJ1bO/BK6EoeXOKY/rwmn7g6uBGs8IEAkpAF6dpRpfhpRhNjfnIfCWWD1hg28
 sFBikTvfcHyHzsy43xK5+FXoRam5RJbx78SD6mhnH1o7JKXmlyP6zDDo/daWh1bG
 Yt307HM1s235dQYKdADx9guHTjatPOSwgaFBIKNz0gDu9Vj3toe2x06+78ilyUrz
 CkeSeaPE3gfQYPG6LWqPxltAE23UORoKTQDpFVWa68Sgr8vn53/Y7GJzf3hJFQcA
 FI7PIK1Wk99fEpbQukbuDQVTe8jeQwhk6Ag==
X-ME-Sender: <xms:yeSDZ69u4WJg6fVIQJM5_2eTZBO4RkB53wROMU0eu7SskoIo-J26sQ>
 <xme:yeSDZ6t2t7ZoBMn4VwJsNTXDq4DczR1EUUhE0j72XZYfAgM_dIQRLJ1BgIi5pPpL4
 3o01fJvoiMLIOO-r1U>
X-ME-Received: <xmr:yeSDZwCBv0eHRdCuW-XWZX5zyCtTQ0k5UQ9ouBtvx-xj1xZuSLFLE6qSmJzM>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudehvddgkeduucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu
 rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh
 htshculddquddttddmnecujfgurhephffvvefujghffgffkfggtgesghdtreertderjeen
 ucfhrhhomhepufhimhgvnhcugfhnughsjhppuceotghonhhtrggtthesshhimhgvnhgush
 hjohdrmhgvqeenucggtffrrghtthgvrhhnpeekffekkedvfffgudfhleefkeegudekgfel
 gfefteffkedvjeeffeeffedtiedtveenucffohhmrghinhepshhrrdhhthdpshhhrghrvg
 drlhhotggrlhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr
 ohhmpegtohhnthgrtghtsehsihhmvghnughsjhhordhmvgdpnhgspghrtghpthhtohepvd
 dpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeehgeeitdesuggvsggsuhhgshdr
 ghhnuhdrohhrghdprhgtphhtthhopehluhguohesghhnuhdrohhrgh
X-ME-Proxy: <xmx:yeSDZydZU8uKU0k6ohDm3sZ8oGP2tv4VjD4o45leZFrMtWdgt21JzA>
 <xmx:yeSDZ_PDzbLi3HX_ZtuSAa2OUa3trdVgO6xG6UYUqoyKPMnkUe5Mmg>
 <xmx:yeSDZ8lck97z41XZlCmJ0GJCoo3Attm3-DfTcuLHEwLotr7XcNDaaQ>
 <xmx:yeSDZxupBHTRwaOtvgpAkMqdq7kCpReTZXXUMs0jdHpsvxmhuayGsQ>
 <xmx:yeSDZ4Y8JNWYkrnw5F-Ul39dVLvsyUe2NcVVubnG9ODoFLMCgqWOcNdR>
Feedback-ID: i08f14972:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun,
 12 Jan 2025 10:50:32 -0500 (EST)
From: =?utf-8?Q?Simen_Endsj=C3=B8?= <contact@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#75460: herd status hangs forever
In-Reply-To: <87bjwcktnb.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Sun, 12 Jan 2025 15:12:56 +0100")
References: <87a5c0jjno.fsf@HIDDEN> <874j25lzbd.fsf@HIDDEN>
 <87plks1mv0.fsf@HIDDEN> <87bjwcktnb.fsf@HIDDEN>
User-Agent: mu4e 1.12.7; emacs 29.4
Date: Sun, 12 Jan 2025 16:50:17 +0100
Message-ID: <87y0zgjakm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 75460
Cc: 75460 <at> debbugs.gnu.org
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.7 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Can you try something like:
>
> --8<---------------cut here---------------start------------->8---
> for s in xss-lock volctl unclutter redshift picom \
>   network-manager-applet dunst cbatticon blueman-applet \
>   emacs-daemon ssh-agent dbus x11-display
> do
>   echo "trying $s"; herd status "$s"
> done
> --8<---------------cut here---------------end--------------->8---
>
> to try and determine whether one of these is hanging?

Oh, I only checked some services and assumed all was working. All the
following services hang. The common denominator is that I have written
these myself, so I might be doing something odd here.

=E2=80=A2 xss-lock
=E2=80=A2 volctl
=E2=80=A2 picom
=E2=80=A2 network-manager-applet
=E2=80=A2 dunst
=E2=80=A2 cbatticon
=E2=80=A2 blueman-applet

For example xss-lock:
<https://git.sr.ht/~simendsjo/dotfiles/tree/main/item/sijo/home/services/xs=
s-lock.scm#L7-30>

=E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80
=E2=94=82 (define (home-xss-lock-shepherd-service config)
=E2=94=82   (list
=E2=94=82    (shepherd-service
=E2=94=82     (provision '(xss-lock))
=E2=94=82     (requirement '(x11-display))
=E2=94=82     (start #~(make-forkexec-constructor
=E2=94=82               (list #$(file-append xss-lock "/bin/xss-lock")
=E2=94=82                     "-l" "xsecurelock")
=E2=94=82               #:log-file (string-append
=E2=94=82                           (or (getenv "XDG_STATE_HOME")
=E2=94=82                               (format #f "~a/.local/state"
=E2=94=82                                       (getenv "HOME")))
=E2=94=82                           "/log/xss-lock.log")))
=E2=94=82     (stop #~(make-kill-destructor)))))
=E2=94=82
=E2=94=82 (define-public home-xss-lock-service-type
=E2=94=82   (service-type
=E2=94=82    (name 'home-xss-lock)
=E2=94=82    (extensions
=E2=94=82     (list
=E2=94=82      (service-extension home-shepherd-service-type
=E2=94=82                         home-xss-lock-shepherd-service)))
=E2=94=82    (default-value '())
=E2=94=82    (description "Screen locker")))
=E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80

> If you don=E2=80=99t mind, could you share ~/.local/state/shepherd/shephe=
rd.log,
> privately if you prefer?  (Preferably remove everything that comes
> before its last boot.)

=E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80
=E2=94=82 2025-01-12 16:39:26 GNU Shepherd 1.0.0 (Guile 3.0.9, x86_64-unkno=
wn-linux-gnu)
=E2=94=82 2025-01-12 16:39:26 Starting service root...
=E2=94=82 2025-01-12 16:39:26 Service root started.
=E2=94=82 2025-01-12 16:39:26 Service root running with value #<<process> i=
d: 2377 command: #f>.
=E2=94=82 2025-01-12 16:39:26 Service root has been started.
=E2=94=82 2025-01-12 16:39:26 WARNING: Use of `load' in declarative module =
(#{ g109}#).  Add #:declarative? #f to your define-module invocation.
=E2=94=82 2025-01-12 16:39:26 Daemonizing...
=E2=94=82 2025-01-12 16:39:26 Restarting signal handler.
=E2=94=82 2025-01-12 16:39:26 Now running as process 2396.
=E2=94=82 2025-01-12 16:39:26 Starting services...
=E2=94=82 2025-01-12 16:39:26 Configuration successfully loaded from '/gnu/=
store/lwjnnpjca0kplrsm82vf1pjq7x4d8lq7-shepherd.conf'.
=E2=94=82 2025-01-12 16:39:26 Running value of service root changed to #<<p=
rocess> id: 2396 command: #f>.
=E2=94=82 2025-01-12 16:39:26 Starting service emacs-daemon...
=E2=94=82 2025-01-12 16:39:26 Starting service ssh-agent...
=E2=94=82 2025-01-12 16:39:26 Starting service dbus...
=E2=94=82 2025-01-12 16:39:26 Starting service x11-display...
=E2=94=82 2025-01-12 16:39:26 Service emacs-daemon has been started.
=E2=94=82 2025-01-12 16:39:26 Service ssh-agent has been started.
=E2=94=82 2025-01-12 16:39:26 Service dbus has been started.
=E2=94=82 2025-01-12 16:39:26 Service x11-display has been started.
=E2=94=82 2025-01-12 16:39:26 Service emacs-daemon started.
=E2=94=82 2025-01-12 16:39:26 Service ssh-agent started.
=E2=94=82 2025-01-12 16:39:26 Service dbus started.
=E2=94=82 2025-01-12 16:39:26 Service x11-display started.
=E2=94=82 2025-01-12 16:39:26 Service x11-display running with value ":0".
=E2=94=82 2025-01-12 16:39:26 Service emacs-daemon running with value #<<pr=
ocess> id: 2397 command: #f>.
=E2=94=82 2025-01-12 16:39:26 Service ssh-agent running with value #<<proce=
ss> id: 2398 command: #f>.
=E2=94=82 2025-01-12 16:39:26 Service dbus running with value #<<process> i=
d: 2399 command: ("/gnu/store/r799iglam0gk9q35j56239wcdg9xzhwg-dbus-1.15.8/=
bin/dbus-daemon" "--nofork" "--session" "--address=3Dunix:path=3D/run/user/=
1000/bus")>.
=E2=94=82 2025-01-12 16:39:26 Starting service xss-lock...
=E2=94=82 2025-01-12 16:39:26 Service xss-lock has been started.
=E2=94=82 2025-01-12 16:39:26 Starting service volctl...
=E2=94=82 2025-01-12 16:39:26 Service xss-lock started.
=E2=94=82 2025-01-12 16:39:26 Service volctl has been started.
=E2=94=82 2025-01-12 16:39:26 Service xss-lock running with value #<<proces=
s> id: 2400 command: ("/gnu/store/a20h8scrp7jl3ildfxmj7c4mnc5s6nl2-xss-lock=
-0.3.0-1.1e158fb/bin/xss-lock" "-l" "xsecurelock")>.
=E2=94=82 2025-01-12 16:39:26 Service volctl started.
=E2=94=82 2025-01-12 16:39:26 Service volctl running with value #<<process>=
 id: 2404 command: ("/gnu/store/jjaz1i6kzx7phwjp85gyggf0s85irxv2-volctl-0.9=
.4/bin/volctl")>.
=E2=94=82 2025-01-12 16:39:26 Starting service unclutter...
=E2=94=82 2025-01-12 16:39:26 Service unclutter has been started.
=E2=94=82 2025-01-12 16:39:26 Service unclutter started.
=E2=94=82 2025-01-12 16:39:26 Service unclutter running with value #<<proce=
ss> id: 2407 command: #f>.
=E2=94=82 2025-01-12 16:39:26 Starting service redshift...
=E2=94=82 2025-01-12 16:39:26 Service redshift has been started.
=E2=94=82 2025-01-12 16:39:26 Service redshift started.
=E2=94=82 2025-01-12 16:39:26 Service redshift running with value #<<proces=
s> id: 2409 command: #f>.
=E2=94=82 2025-01-12 16:39:26 Starting service picom...
=E2=94=82 2025-01-12 16:39:26 Service picom has been started.
=E2=94=82 2025-01-12 16:39:26 Service picom started.
=E2=94=82 2025-01-12 16:39:26 Service picom running with value #<<process> =
id: 2410 command: ("/gnu/store/0yj6akbzrrvsrnnszkf73pp3a7n9pc45-picom-11.2/=
bin/picom" "--vsync" "--backend" "glx")>.
=E2=94=82 2025-01-12 16:39:26 Starting service network-manager-applet...
=E2=94=82 2025-01-12 16:39:26 Service network-manager-applet has been start=
ed.
=E2=94=82 2025-01-12 16:39:26 Service network-manager-applet started.
=E2=94=82 2025-01-12 16:39:26 Service network-manager-applet running with v=
alue #<<process> id: 2411 command: ("/gnu/store/931akl92zv8hjbq88v5xzkww56b=
433bh-network-manager-applet-1.36.0/bin/nm-applet")>.
=E2=94=82 2025-01-12 16:39:26 Starting service cbatticon...
=E2=94=82 2025-01-12 16:39:26 Service cbatticon has been started.
=E2=94=82 2025-01-12 16:39:26 Starting service blueman-applet...
=E2=94=82 2025-01-12 16:39:26 Service cbatticon started.
=E2=94=82 2025-01-12 16:39:26 Service blueman-applet has been started.
=E2=94=82 2025-01-12 16:39:26 Service cbatticon running with value #<<proce=
ss> id: 2419 command: ("/gnu/store/mhgq9x4pq7vsgrj3fvwxnirc33likw73-cbattic=
on-1.6.13/bin/cbatticon")>.
=E2=94=82 2025-01-12 16:39:26 Starting service dunst...
=E2=94=82 2025-01-12 16:39:26 Service blueman-applet started.
=E2=94=82 2025-01-12 16:39:26 redshift[2409] Waiting for initial location t=
o become available...
=E2=94=82 2025-01-12 16:39:26 Service dunst has been started.
=E2=94=82 2025-01-12 16:39:26 Service blueman-applet running with value #<<=
process> id: 2420 command: ("/gnu/store/xpix8bhcvzhyzzzkvsisc2lig15wlqrg-bl=
ueman-2.3.4/bin/blueman-applet")>.
=E2=94=82 2025-01-12 16:39:26 Service dunst started.
=E2=94=82 2025-01-12 16:39:26 Successfully started 13 services in the backg=
round.
=E2=94=82 2025-01-12 16:39:26 Service dunst running with value #<<process> =
id: 2436 command: ("/gnu/store/9iznijpx287bqkwv2cc4g3x30z72vqky-dunst-1.11.=
0/bin/dunst")>.
=E2=94=82 (snip emacs load messages)
=E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQFJBAEBCAAzFiEEsPLWxSk2lf1XtdJVd7xjRbZdbPsFAmeD5LkVHGNvbnRhY3RA
c2ltZW5kc2pvLm1lAAoJEHe8Y0W2XWz7jKAH/23ZNXGs6r4W8wgUeMl+LkXtnSWx
pyomv19MYQSlzIJFTJ6waAmj4/F5qbDXLIk1P33osfipN2xcWyAGmYWZQUdrqWPs
4VHH0YYeFozVUiAZRpdR3CjlLGsjWXUJ2NIUEMXHWOXSgbp674JooiqhDq35amN6
NkI09h+1YdLolhiFchN9SNtIy2YERLH7hYI/RiLeZSreBoaHr7+Jz00zJT8PrXQC
ZlVU1zM98DA1y4QEVgmFlfrMy5jOQhSsi3lQvBhELevOWENbSWeU7Ny82KxWp6Gb
qoic1MC3LDBdo0zn5YENQ60B8rYP65jvnvi/tMQRTytqQoaNPOEWaDk4wGo=
=wSHY
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#75460; Package guix. Full text available.

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


Received: (at 75460) by debbugs.gnu.org; 12 Jan 2025 14:13:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 12 09:13:17 2025
Received: from localhost ([127.0.0.1]:46459 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tWyiK-0006ro-B0
	for submit <at> debbugs.gnu.org; Sun, 12 Jan 2025 09:13:16 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:44832)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tWyiD-0006rT-4A
 for 75460 <at> debbugs.gnu.org; Sun, 12 Jan 2025 09:13:13 -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 1tWyi7-0008B0-BC; Sun, 12 Jan 2025 09:13:03 -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=vQbd5ZdfsaWcAZeEmBvPAhpcNiKCefzBrdx1IY5h4ic=; b=QRgMBT2CrBpE5ar7N7cK
 bUbrhgk8/9tkAGzQeVYP8sNyhFEfpNZ1X2EMFeZO2OwI+70MPs0YZVmng5gvpf1cNiXquFQ8K/Hda
 HtxNCvNYSZvana2zMi4GF4d42F0//wi2jrGNz8pjXipbEre7gsQyZzPyF2+vEcI4psOq8W884DgR3
 etCpGjqGLcqnUa6Z1eFsWLkn/fBR9GqYvK2Hzi2rSPUP7vF4uyDRJX4JD91D41yOXHL0jhz9YlrB0
 fQWiuunYgol7O0miyGW12LHEoknNfiWxj9x8lL6ddR6wYVZZzwBwbcadTO40IBoa1yPbw9Cmcz7OY
 6xL6lh1ygU3pQw==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Simen =?utf-8?Q?Endsj=C3=B8?= <contact@HIDDEN>
Subject: Re: bug#75460: herd status hangs forever
In-Reply-To: <87plks1mv0.fsf@HIDDEN> ("Simen =?utf-8?Q?Endsj=C3=B8?=
 =?utf-8?Q?=22's?= message of "Sun, 12 Jan 2025 09:02:11 +0100")
References: <87a5c0jjno.fsf@HIDDEN> <874j25lzbd.fsf@HIDDEN>
 <87plks1mv0.fsf@HIDDEN>
Date: Sun, 12 Jan 2025 15:12:56 +0100
Message-ID: <87bjwcktnb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 75460
Cc: 75460 <at> debbugs.gnu.org
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 (---)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hello,

Simen Endsj=C3=B8 <contact@HIDDEN> skribis:

>> Then please check precisely what hangs and what doesn=E2=80=99t.  You sa=
y =E2=80=9Cherd
>> status=E2=80=9D hangs; what about =E2=80=9Cherd status X=E2=80=9D, where=
 X is a service defined
>> for your user shepherd?
>
> Not sure how I can find out precicely what hangs. Operations on
> individual services seems to work fine:
>
> $ herd status emacs-daemon
> =E2=97=8F Status of emacs-daemon:
>   It is running since Sat 11 Jan 2025 07:35:36 PM CET (13 hours ago).
>   # (... snip ...)

Can you try something like:

--8<---------------cut here---------------start------------->8---
for s in xss-lock volctl unclutter redshift picom \
  network-manager-applet dunst cbatticon blueman-applet \
  emacs-daemon ssh-agent dbus x11-display
do
  echo "trying $s"; herd status "$s"
done
--8<---------------cut here---------------end--------------->8---

to try and determine whether one of these is hanging?

If you don=E2=80=99t mind, could you share ~/.local/state/shepherd/shepherd=
.log,
privately if you prefer?  (Preferably remove everything that comes
before its last boot.)

>> Last, could you share the config file of your user shepherd, or maybe
>> the Guix Home config if that=E2=80=99s what you=E2=80=99re using?
>
> https://git.sr.ht/~simendsjo/dotfiles/tree/main/item/sijo/home/simendsjo/=
home-environment.scm

[...]

>          (xss-lock volctl unclutter redshift picom network-manager-applet=
 dunst cbatticon blueman-applet emacs-daemon ssh-agent dbus x11-display))))

I checked these and the only one that looks fishy is =E2=80=98unclutter=E2=
=80=99, which
I would change like this:


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline

diff --git a/gnu/home/services/desktop.scm b/gnu/home/services/desktop.scm
index fc96ce9295..859dba776a 100644
--- a/gnu/home/services/desktop.scm
+++ b/gnu/home/services/desktop.scm
@@ -353,7 +353,6 @@ (define (home-unclutter-shepherd-service config)
     (modules '((shepherd support) ;for %user-log-dir
                (srfi srfi-1)
                (srfi srfi-26)))
-    (one-shot? #t)
     (start #~(lambda _
                (fork+exec-command
                 (list
@@ -369,7 +368,8 @@ (define (home-unclutter-shepherd-service config)
                       (remove (cut string-prefix? "DISPLAY=" <>)
                               (default-environment-variables)))
                 #:log-file
-                (string-append %user-log-dir "/unclutter.log")))))))
+                (string-append %user-log-dir "/unclutter.log"))))
+    (stop #~(make-kill-destructor)))))
 
 (define home-unclutter-service-type
   (service-type

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


That said, it cannot explain a hang.

Ludo=E2=80=99.

--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#75460; Package guix. Full text available.

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


Received: (at 75460) by debbugs.gnu.org; 12 Jan 2025 08:02:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 12 03:02:44 2025
Received: from localhost ([127.0.0.1]:46004 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tWsvj-0004RM-NO
	for submit <at> debbugs.gnu.org; Sun, 12 Jan 2025 03:02:44 -0500
Received: from fout-b1-smtp.messagingengine.com ([202.12.124.144]:48869)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <contact@HIDDEN>)
 id 1tWsvg-0004Qj-A7
 for 75460 <at> debbugs.gnu.org; Sun, 12 Jan 2025 03:02:40 -0500
Received: from phl-compute-04.internal (phl-compute-04.phl.internal
 [10.202.2.44])
 by mailfout.stl.internal (Postfix) with ESMTP id C91BB11400E2;
 Sun, 12 Jan 2025 03:02:34 -0500 (EST)
Received: from phl-mailfrontend-01 ([10.202.2.162])
 by phl-compute-04.internal (MEProxy); Sun, 12 Jan 2025 03:02:34 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simendsjo.me; h=
 cc:cc:content-type:content-type:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:subject
 :subject:to:to; s=fm2; t=1736668954; x=1736755354; bh=2laz2LxuU5
 1fF/2Pi1s/EEr98PsPsuDEZomD61t9UIY=; b=FtGnJFUKlo3yY9GGW83kgm98bu
 6KpgAuzD9YLLhppS4BLSHQ9GmgoiKLWz+22YVsg7Os7sfuJS0M3XK8nnzzweL8GI
 RRyGScQPdrvbxD1wvIpOPhu0pixnLABeXgbihnd0SRiEWuUFfSL3lUQFOVaJ2MfH
 VUCU8xMyhAzwEJKDRBFld1Rtuf3KbUd0Znhe26hC9AvWBlEsJVkGCIwdSmc07G9v
 FnsjwRKPA7PgX7nU/fx58HOb0h6O9gal3TqE9y1V0lQqEvipq6YO0spIuo3HCzUU
 pRN7VMdRnKDFkSa3pEv6y/i8V3a/uooR1zkyzPqp0Sakt9V78T0YXCdC5InA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=
 1736668954; x=1736755354; bh=2laz2LxuU51fF/2Pi1s/EEr98PsPsuDEZom
 D61t9UIY=; b=PoRZ2DKLssM1nGHr+InwzTv0FZUa5sspwck5M38diQgNxsDj2i5
 YQL/BR8wAGfm/v5xuutdMFoVL+jgyLCC03l9UqEHpt8UVubnS6S/opNfQNGLvnfJ
 yqIZttuDyA0oRLbGGxky/Vq+QR9k7o/YKskx9dCueDO4Zkk62IbsZMQTzLYIE91R
 6qj7MXQrxyUkix4AM33C46chv/Du3025rf6V1bkMTPKe+BdDXrLJToEl+nsRwf+2
 8uMTg71govEGkmhp0B8b6IG1UDBS7Vl6WfXjjDqOuUfpIIJibr8ar2tBi2nj43yZ
 seXPpfBRCmKlqcBFCSXw2MSjld43CJ7EAdg==
X-ME-Sender: <xms:GneDZ6FhFW_Yipt5Hfnk4lShjIuL7Pw48yIAaIfHdbGRg95NqeuuFA>
 <xme:GneDZ7VTM2gBYkUpbKjxdlNwRuBCCQ6kKEnJMEIdPRZcFPnY-3EHQzuxe4Eue_FNt
 uOn-EazzGlTW7WhR5o>
X-ME-Received: <xmr:GneDZ0KaS5NsDCTQ5rGp-ltl6bslwTzm9UgGFLfF3yVNYwMDB3pSKLJBLNoV>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudehuddgudduvdcutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
 hnthhsucdlqddutddtmdenucfjughrpefhvfevufgjfhgffffkgggtsehgtderredtreej
 necuhfhrohhmpefuihhmvghnucfgnhgushhjppcuoegtohhnthgrtghtsehsihhmvghnug
 hsjhhordhmvgeqnecuggftrfgrthhtvghrnhepjeeuudetgefgfeevtdfhuedtgffgveev
 vdelieeluddtgedvhfevfeeugfelfeetnecuffhomhgrihhnpegthhgvtghkihhnghdrlh
 hotggrlhdpshhrrdhhthenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr
 ihhlfhhrohhmpegtohhnthgrtghtsehsihhmvghnughsjhhordhmvgdpnhgspghrtghpth
 htohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeehgeeitdesuggvsggs
 uhhgshdrghhnuhdrohhrghdprhgtphhtthhopehluhguohesghhnuhdrohhrgh
X-ME-Proxy: <xmx:GneDZ0Fmg1lyBw3IXAmyXuO83Ye_kiZhlQEHfU2ogFNjg5hJJiBcNg>
 <xmx:GneDZwW0AAl9Ze_wIW-vWJ0dcSJMwdhMhxqWjT1wRzlyMkGCPtnyaw>
 <xmx:GneDZ3PAi0JY9ywCWI9OFsANRL6GEMY1lsPz2RfvJb1H5_c-9zJ30w>
 <xmx:GneDZ33UCXstYf_FSDu-xWfiZ9xs--1cbvH9-Y7fihbTEQ6XdiOR4A>
 <xmx:GneDZ9hcanUS4GtssV7x36WYJ3uAfKUJBrX9KXBHOCyTwtns00QJPnVR>
Feedback-ID: i08f14972:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun,
 12 Jan 2025 03:02:32 -0500 (EST)
From: =?utf-8?Q?Simen_Endsj=C3=B8?= <contact@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#75460: herd status hangs forever
In-Reply-To: <874j25lzbd.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Sun, 12 Jan 2025 00:12:54 +0100")
References: <87a5c0jjno.fsf@HIDDEN> <874j25lzbd.fsf@HIDDEN>
User-Agent: mu4e 1.12.7; emacs 29.4
Date: Sun, 12 Jan 2025 09:02:11 +0100
Message-ID: <87plks1mv0.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 75460
Cc: 75460 <at> debbugs.gnu.org
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.7 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Can you say which shepherd version you=E2=80=99re using, for your user sh=
epherd?
>
> You can find out by running =E2=80=9Ccat /proc/PID/cmdline | xargs -0=E2=
=80=9D for its
> PID, or by checking ~/.local/state/shepherd/shepherd.log (version 1.0.x
> prints its version string there at startup but previous versions
> didn=E2=80=99t.)

/gnu/store/vl55r8m4h0a2zw0hpfziijybvji21062-guile-3.0.9/bin/guile --no-auto=
-compile /gnu/store/kmv7ny45x2xirqz0y5pha8jm4v02h0lq-shepherd-1.0.0/bin/she=
pherd --silent --config /gnu/store/lwjnnpjca0kplrsm82vf1pjq7x4d8lq7-shepher=
d.conf
>
> Then please check precisely what hangs and what doesn=E2=80=99t.  You say=
 =E2=80=9Cherd
> status=E2=80=9D hangs; what about =E2=80=9Cherd status X=E2=80=9D, where =
X is a service defined
> for your user shepherd?

Not sure how I can find out precicely what hangs. Operations on
individual services seems to work fine:

$ herd status emacs-daemon
=E2=97=8F Status of emacs-daemon:
  It is running since Sat 11 Jan 2025 07:35:36 PM CET (13 hours ago).
  # (... snip ...)

> Last, could you share the config file of your user shepherd, or maybe
> the Guix Home config if that=E2=80=99s what you=E2=80=99re using?

https://git.sr.ht/~simendsjo/dotfiles/tree/main/item/sijo/home/simendsjo/ho=
me-environment.scm

And here is the shepherd configuration loaded (as per the command line
arguments above):

(begin
  (use-modules
   (srfi srfi-34)
   (system repl error-handling))
  (define
    (make-user-module)
    (let
        ((m
          (make-fresh-user-module)))
      (module-use! m
                   (resolve-interface
                    (quote
                     (shepherd service))))
      m))
  (register-services
   (map
    (lambda
        (file)
      (save-module-excursion
       (lambda
           ()
         (set-current-module
          (make-user-module))
         (load file))))
    (quote
     ("/gnu/store/d5kay849g8qsxa324h0bxclxvczkv4iw-shepherd-xss-lock.scm" "=
/gnu/store/b1i400q6wywi3zj2ij4gnrmndf2259yx-shepherd-volctl.scm" "/gnu/stor=
e/yhfgc8djxmavfx1k90yg0srs4iykd3ck-shepherd-unclutter.scm" "/gnu/store/6527=
xv4yp3yagkdz3vszcqv66xrkcg2w-shepherd-redshift.scm" "/gnu/store/jssmizyhlv6=
6a441nwrz57hggbqsssq9-shepherd-picom.scm" "/gnu/store/wn3q5w0li0hn7574cidkz=
3fs6iwjjl7d-shepherd-network-manager-applet.scm" "/gnu/store/k8w0vgcffya47d=
svbcad0ks3yfwgcm6z-shepherd-dunst.scm" "/gnu/store/2y6hkkw9dfynb45y9win9z41=
p6sn4sa2-shepherd-cbatticon.scm" "/gnu/store/6db7qbavk5q3vi50hnsz80sqzmz3vm=
ad-shepherd-blueman-applet.scm" "/gnu/store/v27fvdki9x0nq8aay6a2dd6rhfpb2sq=
h-shepherd-emacs-daemon.scm" "/gnu/store/rjwyyq6s9xlm87jjvnhhzd886zdfi6l2-s=
hepherd-ssh-agent.scm" "/gnu/store/ybxjna1g6m50hndl60hf3ybm6clzh4qa-shepher=
d-dbus.scm" "/gnu/store/s6dpkii7xsr4wa2jqzglfprz8cb0bb8h-shepherd-x11-displ=
ay.scm"))))
  (perform-service-action root-service
                          (quote daemonize))
  (format #t "Starting services...~%")
  (let
      ((services-to-start
        (quote
         (xss-lock volctl unclutter redshift picom network-manager-applet d=
unst cbatticon blueman-applet emacs-daemon ssh-agent dbus x11-display))))
    (start-in-the-background services-to-start)
    (redirect-port
     (open-input-file "/dev/null")
     (current-input-port))))

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQFJBAEBCAAzFiEEsPLWxSk2lf1XtdJVd7xjRbZdbPsFAmeDdwMVHGNvbnRhY3RA
c2ltZW5kc2pvLm1lAAoJEHe8Y0W2XWz7O00H/jI4/+pLAvwAHneq8hGt1mshJTSl
dyYIZ1XX3FaWWfvgjU+QCHqeOrVKhVox7KEzVBgTrRTz7ViGE4nudfK5Cy6j6Q7d
YABgW/d/S/luzERopXH0DkXkCjR7lhzdD8atY4ud40Ey/Ht4dmoJy2ITlIpiWOyS
T935c3f24DLFWMgC9q9GeJdLbMb0agSVn9dYgafiQaJIEuASu6po1jIvbOxcGX2D
W72n9nyuUio/5l/Kgpiy1tNy6yA4rfXbt5pTLXWfp1/mNjw/0IlqEzyUQmLF3QJW
Lqf81pfbY/VCnPsdy21JDo1rFcCBb/BI7fF9jWLtgrdsbOUiQLcqdmlNCGg=
=PrsY
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#75460; Package guix. Full text available.

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


Received: (at 75460) by debbugs.gnu.org; 11 Jan 2025 23:13:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 11 18:13:06 2025
Received: from localhost ([127.0.0.1]:45308 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tWkfB-0002A0-Uk
	for submit <at> debbugs.gnu.org; Sat, 11 Jan 2025 18:13:06 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:43598)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tWkf9-00029V-Mk
 for 75460 <at> debbugs.gnu.org; Sat, 11 Jan 2025 18:13:04 -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 1tWkf3-0003DL-94; Sat, 11 Jan 2025 18:12:57 -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=GR2dr4zBDcUBcn06AXKyGH/Tm5UuIq5K24XSK1iif4g=; b=QIbF48qaGgCjCL8XT7Kv
 bUQneRQqtb+nLJ3/mBdhuVvn5Zq1w27DTjyBRhh6tNFFaS8GkrBQL5dJlyJ31S4Ffd1NDMrLa2uly
 T2DxWnjTgXyc6ma5wzqO3GM1ZrmdFNRBTG2uTrZuhb/cI8ZfBmeqwmjDgOBbbET0wPJ/o2JlEyGBz
 2FAARvDkX4l0/26wllqz/tbidwX5x6pFt3mwFSjFVgijH59w47Icdw2pahzBMOUyEK07LM24Ad4E7
 wcZ52zfH4+0B1ggBEvcwGvYz5gfDN7H7H7v7IwTmPPIxofiW8tXC2nt6vora1YAcjr4PFyv6NSt7a
 EKhpDB44FxMvPQ==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Simen =?utf-8?Q?Endsj=C3=B8?= <contact@HIDDEN>
Subject: Re: bug#75460: herd status hangs forever
In-Reply-To: <87a5c0jjno.fsf@HIDDEN> ("Simen =?utf-8?Q?Endsj=C3=B8?=
 =?utf-8?Q?=22's?= message of "Thu, 09 Jan 2025 12:44:59 +0100")
References: <87a5c0jjno.fsf@HIDDEN>
Date: Sun, 12 Jan 2025 00:12:54 +0100
Message-ID: <874j25lzbd.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-Debbugs-Envelope-To: 75460
Cc: 75460 <at> debbugs.gnu.org
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,

Simen Endsj=C3=B8 <contact@HIDDEN> skribis:

> On one of my systems, `herd status` just hangs forever.
> `sudo herd status` works as expected, and I'm able to start and stop
> services as normal, just not list them.

The former talks to your user shepherd (perhaps you=E2=80=99re using Guix H=
ome?)
whereas the latter talks to the system shepherd (PID=C2=A01).

What you seem to be saying here is that your user shepherd is buggy.

> I understand this is not much to debug based on -- any idea how I can
> get more detailed information?

Can you say which shepherd version you=E2=80=99re using, for your user shep=
herd?

You can find out by running =E2=80=9Ccat /proc/PID/cmdline | xargs -0=E2=80=
=9D for its
PID, or by checking ~/.local/state/shepherd/shepherd.log (version 1.0.x
prints its version string there at startup but previous versions
didn=E2=80=99t.)

Then please check precisely what hangs and what doesn=E2=80=99t.  You say =
=E2=80=9Cherd
status=E2=80=9D hangs; what about =E2=80=9Cherd status X=E2=80=9D, where X =
is a service defined
for your user shepherd?

Last, could you share the config file of your user shepherd, or maybe
the Guix Home config if that=E2=80=99s what you=E2=80=99re using?

Thanks in advance,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#75460; Package guix. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 9 Jan 2025 11:45:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 09 06:45:50 2025
Received: from localhost ([127.0.0.1]:50660 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tVqyz-0002hm-NK
	for submit <at> debbugs.gnu.org; Thu, 09 Jan 2025 06:45:50 -0500
Received: from lists.gnu.org ([2001:470:142::17]:58516)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <contact@HIDDEN>)
 id 1tVqyy-0002h3-0b
 for submit <at> debbugs.gnu.org; Thu, 09 Jan 2025 06:45:48 -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 <contact@HIDDEN>)
 id 1tVqyN-0006W1-30
 for bug-guix@HIDDEN; Thu, 09 Jan 2025 06:45:14 -0500
Received: from fhigh-b7-smtp.messagingengine.com ([202.12.124.158])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <contact@HIDDEN>)
 id 1tVqyJ-0000nv-Jy
 for bug-guix@HIDDEN; Thu, 09 Jan 2025 06:45:10 -0500
Received: from phl-compute-08.internal (phl-compute-08.phl.internal
 [10.202.2.48])
 by mailfhigh.stl.internal (Postfix) with ESMTP id 20E5E254014E;
 Thu,  9 Jan 2025 06:45:04 -0500 (EST)
Received: from phl-mailfrontend-02 ([10.202.2.163])
 by phl-compute-08.internal (MEProxy); Thu, 09 Jan 2025 06:45:04 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simendsjo.me; h=
 cc:content-type:content-type:date:date:from:from:in-reply-to
 :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2;
 t=1736423103; x=1736509503; bh=aKiKTGkC1lmUCX/u4dNfR5QR+KLLJ+Ah
 AXasSsDT9lc=; b=gq4fi2yElQ5BdEpp3GclzRoTvJn7SDbSaVHd7KFzWooIB/kh
 4RgNSh6Lh4YEhrGAx6l1Bo7JLMSyI4KIiuUP0St12wV6Jr5wOrVUeAdenCtAPMi2
 DIePYgcgjGiVLNN7s0IZbnfruPUwroVaOiSmCojLUnVAzjOvE3wwrbQGr9YWLNzD
 kUKPxbR1RDPSp3TH4DJ7aFU4xTonm0s97aStJWQ1fkS7iEwc163OhSR2uDtRZYzI
 u5MLKqA2/9OlpDG+oLbiDuD4WbCOHw/DJHXa3wPeqeL9gE+b15ongkSMHBQ/XWM6
 4JqOTjBzRKBGchbO94DrsHCJRNlK6RQRo/Ak+A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:message-id
 :mime-version:reply-to:subject:subject:to:to:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1736423103; x=
 1736509503; bh=aKiKTGkC1lmUCX/u4dNfR5QR+KLLJ+AhAXasSsDT9lc=; b=t
 0D4NwI4L21tF/qIJa73wOVKc1JoWiY7EZctdmHQr+o79m0e7WMkOCt7fCQUxysYm
 pP2p+CsRovZ44KPLKgQqkVcXxR0C7Jd9QsTcyNzNNSbXKD7i0A9t99WLWEzIG0D2
 RTLl8lyWPnwn+TEwsqRjiGRUVzKtkev4tpem3WMFFldWz1rHzxQUhXgqnPdvBidn
 T3GMC2ZM2YJnZJJrO0jcRxoxkDH85rK3wJI5DS2ak2MoisEViH1++si+roS4Vt6+
 0beL11E/stUxNeEMhwe0gh68+Nq9gHRgq61KFMxciY7eQ+omWuTNT9ajZMveWQQG
 SnyudJJro8hzL/CoMQvIg==
X-ME-Sender: <xms:v7Z_Z_u4MDoRmaQmcYvYmKXVD9s1CWwjhxCQmcarc2v_6GCccvSt7w>
 <xme:v7Z_ZwdhSga2jZmfSq8kQe0c9XiE-exa2UjZ44fBsQK0DPM7oY8JWcX-XxeUQHnw8
 N9kEt-BxgIrKAt2fMQ>
X-ME-Received: <xmr:v7Z_Zyzyq_zNjXgxXjUczOQfolJhLV56KErGdAHGPLBHzX43vs8Ez-ZqBhk>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudegiedgfedtucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu
 rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufg
 ffkfggtgesghdtreertderjeenucfhrhhomhepufhimhgvnhcugfhnughsjhppuceotgho
 nhhtrggtthesshhimhgvnhgushhjohdrmhgvqeenucggtffrrghtthgvrhhnpefhudfhud
 etiedtgeevudeigefhffejudevgfffgffggeevvdefvdehjeehgfelfeenucevlhhushht
 vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegtohhnthgrtghtsehsih
 hmvghnughsjhhordhmvgdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhht
 pdhrtghpthhtohepsghughdqghhuihigsehgnhhurdhorhhg
X-ME-Proxy: <xmx:v7Z_Z-MQPb7inbPo9cHfcn-lGgYS0IZbyfIURJMTPa8aYF8T1i_3iA>
 <xmx:v7Z_Z__ms4TrO129QBxg6B3LNYmgR-q611U4SM5cEwDALeBrhMmZaA>
 <xmx:v7Z_Z-UQHbjTc1dcwaVIylG2ixdfxVha7NbbuNCxrsEmyUiMOBmN3Q>
 <xmx:v7Z_ZweBRx2Ef3frOyhyQZJ_wJ2CHEqKcNjNW_3Z2xEfe7a4D-hsLw>
 <xmx:v7Z_Z5k1gvw-vgTCmBJW7zjV2MNuBKe-2MVJvLrzPBgFxZvnt1y0f3uU>
Feedback-ID: i08f14972:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <bug-guix@HIDDEN>; Thu, 9 Jan 2025 06:45:03 -0500 (EST)
From: =?utf-8?Q?Simen_Endsj=C3=B8?= <contact@HIDDEN>
To: bug-guix@HIDDEN
Subject: herd status hangs forever
User-Agent: mu4e 1.12.7; emacs 29.4
Date: Thu, 09 Jan 2025 12:44:59 +0100
Message-ID: <87a5c0jjno.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
Received-SPF: pass client-ip=202.12.124.158; envelope-from=contact@HIDDEN;
 helo=fhigh-b7-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
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.3 (/)

--=-=-=
Content-Type: text/plain


On one of my systems, `herd status` just hangs forever.
`sudo herd status` works as expected, and I'm able to start and stop
services as normal, just not list them.

I understand this is not much to debug based on -- any idea how I can
get more detailed information?

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQFJBAEBCAAzFiEEsPLWxSk2lf1XtdJVd7xjRbZdbPsFAmd/trsVHGNvbnRhY3RA
c2ltZW5kc2pvLm1lAAoJEHe8Y0W2XWz73voIAKtoAezdM6NTD61qHImJ64HkPf15
cHIq9rCa/rV/AnTZbSXVEPUriCjvpWfoO9PVYODlIUyixgkgth3WwxrKmJlUg+DL
myAcTP+q3BdpCaigFHpGvryX12VMaN+SU9C5ZocZPvkc6UWq/v8aquO7JS54OAiS
G0XnT5zw+w/SiPgHT1cURX3nQlnu/vlrUwApDHUnyBvulRBHU9tQWkaXaMcxLYWl
UqIJL+X8ys7z8b7EwMiPtMblbB+LmiQL3YP1a0QaLgzpXZmkr6ZeIt9yr3JNrHyZ
uNKWHxLZYI8q2ghHZCYMvyUSoSGyO+6oWFE3TE76uVr9xrAl8gZaA2XYljY=
=zWhr
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Simen Endsjø <contact@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#75460; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 13 Feb 2025 09:45:01 UTC

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