From unknown Fri Jun 20 07:23:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#78758 <78758@debbugs.gnu.org> To: bug#78758 <78758@debbugs.gnu.org> Subject: Status: shepherd: 'herd graph' shows root node Reply-To: bug#78758 <78758@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:23:25 +0000 retitle 78758 shepherd: 'herd graph' shows root node reassign 78758 guix submitter 78758 burban@opopop.net severity 78758 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 11 10:54:31 2025 Received: (at submit) by debbugs.gnu.org; 11 Jun 2025 14:54:31 +0000 Received: from localhost ([127.0.0.1]:50005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uPMqU-000225-Va for submit@debbugs.gnu.org; Wed, 11 Jun 2025 10:54:31 -0400 Received: from lists.gnu.org ([2001:470:142::17]:57224) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uP5kp-0003BI-6L for submit@debbugs.gnu.org; Tue, 10 Jun 2025 16:39:31 -0400 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 ) id 1uP5kj-0004qx-Jk for bug-guix@gnu.org; Tue, 10 Jun 2025 16:39:25 -0400 Received: from [2a03:9da0:11:108::2] (helo=hagen2.opopop.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uP5kh-00034W-U8 for bug-guix@gnu.org; Tue, 10 Jun 2025 16:39:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=opopop.net; s=202504; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From:Sender: Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mbSNRhCrXlK0Sr+3pHsHrI/V8PjD7oiO5dew06yMkQ8=; b=OjLz5SXnMWZFFY0QHgZq+X5lT0 yLO0ZCAdzFR5nwyTqy+vPzoXRbL3X9sldcSfhegJyPZDL2NrRjGCnQKg15xrwu+qU/OIicM5vzhKF mnHCIRRtqASYCzNcNaAy1JjeNOgyQuF8AtJaCofExUXVijnf9HSxE6XVPM5uzCu5MC+TecXILUM/g iUrfzFAhS3FAgd/KmC0jCize7gc7QY5erPKUQodSKNkEoGhKWGtOzEmF66wuu9vICjPtRRDYqXzD4 HldIi6+3dbreXLablM36zotcj7dLVUFuy+arxJSrgQwE8kLDcajrTidb8MmKHXKKCS4exsd4Nq/k+ BQa3SuKw==; Received: from localhost ([127.0.0.1] helo=hagen2) by hagen2 with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uP5CO-000F3H-1d for bug-guix@gnu.org; Tue, 10 Jun 2025 20:03:56 +0000 From: burban@opopop.net To: bug-guix@gnu.org Subject: shepherd: herd graph issue Date: Tue, 10 Jun 2025 20:03:30 +0000 Message-ID: <87wm9jpdnx.fsf@opopop.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a03:9da0:11:108::2 (failed) Received-SPF: pass client-ip=2a03:9da0:11:108::2; envelope-from=burban@opopop.net; helo=hagen2.opopop.net X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 11 Jun 2025 10:54:26 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Hello, I noticed that "herd graph" always creates a link to root, which IMO clobbers the picture (I can send pictures if that is allowed on this list or their source) This is due to these lines in herd.scm (around line 782): (if (memq 'root (live-service-provision service)) (live-service-requirement service) (cons 'root (live-service-requirement service))))) The line (live-service-requirement service) is enough to produce an understandable dependency graph. Sincerely. -- Bernard From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 13 18:53:37 2025 Received: (at submit) by debbugs.gnu.org; 13 Jun 2025 22:53:37 +0000 Received: from localhost ([127.0.0.1]:53849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uQDHF-0004Wo-Dz for submit@debbugs.gnu.org; Fri, 13 Jun 2025 18:53:37 -0400 Received: from lists.gnu.org ([2001:470:142::17]:43984) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uQDHA-0004VZ-TA for submit@debbugs.gnu.org; Fri, 13 Jun 2025 18:53:33 -0400 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 ) id 1uQDH4-0007xI-QR for bug-guix@gnu.org; Fri, 13 Jun 2025 18:53:26 -0400 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 ) id 1uQDH4-0003ye-IF; Fri, 13 Jun 2025 18:53:26 -0400 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=4XL8cuiZ/edJGMuHjKXjYoDaif3osS4gawvb0iX738k=; b=cJwvzRzqsbbsdTzZi6bh UqTGk/WXyLo9jIlVyuqkC37F8IdjlpTYyHjlNaWWlXmhKF6n2seDRdRV/fWH+A+pkJ0lSJE62S7fF CpDkukpuI+iWQbPwnaBzL6C68wLk21AqDdKRowBd0hoRVetqDVUL8NoQWv5f+Y4ptqvJZIb7hIxCs OnvTwPI1/No5NvKkd/zvJ0BhBjGmTOy7DFC0r2WBBkXozTc+a1GUKIAI283gLpNT558Oqh/MtmZw2 nQGjX/YgUaAWOGgsb3BQCSjzqvqLsMJ1ZA2Nc4hGO4dIEhY0WJ+msmvdSL2wDE0thCbA4ZEmrmIoS kMHoW3GjxGGDKg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: burban--- via Bug reports for GNU Guix Subject: Re: bug#78758: shepherd: herd graph issue In-Reply-To: <87wm9jpdnx.fsf@opopop.net> (burban's message of "Tue, 10 Jun 2025 20:03:30 +0000") References: <87wm9jpdnx.fsf@opopop.net> User-Agent: mu4e 1.12.11; emacs 29.4 X-URL: https://people.bordeaux.inria.fr/lcourtes/ X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu X-Revolutionary-Date: Sextidi 26 Prairial an 233 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour du Jasmin Date: Sat, 14 Jun 2025 00:50:04 +0200 Message-ID: <87tt4j5k9v.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit Cc: 78758@debbugs.gnu.org, burban@opopop.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, burban--- via Bug reports for GNU Guix writes: > I noticed that "herd graph" always creates a link to root, which IMO > clobbers the picture (I can send pictures if that is allowed on this > list or their source) Yeah I wondered about that at the time but found that not having a clear source node on the graph looked weird (and inaccurate). So hmm, I don=E2=80=99t know! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 13 18:53:38 2025 Received: (at control) by debbugs.gnu.org; 13 Jun 2025 22:53:38 +0000 Received: from localhost ([127.0.0.1]:53851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uQDHF-0004Wt-PP for submit@debbugs.gnu.org; Fri, 13 Jun 2025 18:53:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47610) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uQDHB-0004Vs-Ie for control@debbugs.gnu.org; Fri, 13 Jun 2025 18:53:33 -0400 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 ) id 1uQDH6-0003z1-8f for control@debbugs.gnu.org; Fri, 13 Jun 2025 18:53:28 -0400 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=DdNqYXpUSleC9tNwAafgLeADPtISiKxvdSz9rwf+w/w=; b=dAzcOPa0eVbuag COrXyPcprvvplqAXgRpLuGA09GzV000Id7tLv94CeoAf9r5aA6U2c0ZsR9H6r0h3LK/5fX/1HZM7l FYGgCzTT8JHxHPslGDdSLwGkzc/G3W/4rtT0iYoWQf0yLiwdlZ4Dmr69AWulBmbNrtp1BPWQPB+Sw DixMzxYKaTKdRSb91y0vspTBDRSeBGNJbHELzqxmUxVRlsU8RvvBdIKm8ugLqyIAvd9DLQDZ8Zvoq VAsuAlMeRGLWt/ggItVWRmLcRFhfFptXxZPDXqHbFiQAmgGZlCkpCgvT+mjADlVrFIQVf561uWeJq /RJu4MiFjEMcPSfikZjg==; Date: Sat, 14 Jun 2025 00:50:32 +0200 Message-Id: <87sek35k93.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #78758 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) retitle 78758 shepherd: 'herd graph' shows root node quit From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 14 18:37:34 2025 Received: (at 78758) by debbugs.gnu.org; 14 Jun 2025 22:37:34 +0000 Received: from localhost ([127.0.0.1]:47052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uQZVF-0006KD-N6 for submit@debbugs.gnu.org; Sat, 14 Jun 2025 18:37:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35710) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uQZV9-0006Ij-Ui for 78758@debbugs.gnu.org; Sat, 14 Jun 2025 18:37:29 -0400 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 ) id 1uQZV4-0004lR-57; Sat, 14 Jun 2025 18:37:22 -0400 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=RtFyE9GwVCWpkMs8hPqhqoOyTc8rtPKfrHj2/297dGI=; b=I7zeT5/DxDnF1Z+y5uLm datpriyi5Rue6YGm/Bk+VyUq1BLDJQ0myWQG9zL6zqWxk+MtztfZsqrZjxTeFMHcMH52cc3XhQpoH sRMtAjhf5s9IHWdOhYRPyL5YgPRw5xemJ+AMf5WJkYxNjFGo3vDx4kOJYKdRD5A5tUEwcZu+U6pk8 1pts44tTTJpzsDc+N+rdPpQgBsuBoB8lCbDrRfW+UhVACcP3m6UHEPtiuqX+3zPTKNiGz8W8Bjft9 xxaFPe+oYugTzDJVBbLUmhI2WT/BSZ/6709TDUJylbZd5DF5lgzAMeLlWx7bLngqiqSDCeLaXIXBo Xs9XFaKCB+NcAg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: burban@opopop.net Subject: Re: bug#78758: shepherd: herd graph issue In-Reply-To: <87ikkygm9e.fsf@opopop.net> (burban@opopop.net's message of "Sat, 14 Jun 2025 19:23:57 +0000") References: <87wm9jpdnx.fsf@opopop.net> <87tt4j5k9v.fsf@gnu.org> <87ikkygm9e.fsf@opopop.net> User-Agent: mu4e 1.12.11; emacs 29.4 X-URL: https://people.bordeaux.inria.fr/lcourtes/ X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu X-Revolutionary-Date: Septidi 27 Prairial an 233 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour de la Verveine Date: Sun, 15 Jun 2025 00:19:07 +0200 Message-ID: <87tt4i2ch0.fsf@gnu.org> 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: 78758 Cc: 78758@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, burban@opopop.net writes: > It would perhaps make everyone happy to add the root service in the > graph only if #:requirement is empty. I think it would be confusing. It should either always show the =E2=80=98r= oot=E2=80=99 node, or never show it. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 15 02:58:20 2025 Received: (at 78758) by debbugs.gnu.org; 15 Jun 2025 06:58:20 +0000 Received: from localhost ([127.0.0.1]:52941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uQhJr-0005QM-3J for submit@debbugs.gnu.org; Sun, 15 Jun 2025 02:58:19 -0400 Received: from [2a03:9da0:11:108::2] (port=50006 helo=hagen2.opopop.net) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uQWU2-0003sn-38 for 78758@debbugs.gnu.org; Sat, 14 Jun 2025 15:24:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=opopop.net; s=202504; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=kuw2HiYpZtqSgZ0ZD2ZlXtll25uJoNfR2mHR68BJAKE=; b=NkgDCG4LUJhnuLzu43kbTIGQ5W Qy+viHqhtDV++z9W/ablKLSm9CSftOeOkwVCuvlavSPNxpQZkeckUSmKzFBA0gnrzRRmdNC4m7HP6 FuQbK6jxXKwNFv/h8A6RQfbfPQQFSmfEy3TVKjl0SQRdn/mveLqdLxeoLSJitiYMFM0K31oeBpl1y zM8zxFaYFRpF93nbL0vG46mm4pJNHZ3qWohe8bbG1NW+C41JLRUqHs+OchCgiuX002E/ex/Oc+DOR ZY6JoSni8kpr3+YCWlfbHPUknDkgfzIJ8PYTY1KndSkgQq/zwOEhLIEFEGAFZQzivsbb0FALWPCvD 4b0ZLQrw==; Received: from localhost ([127.0.0.1] helo=hagen2) by hagen2 with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uQWTv-000GDc-0w; Sat, 14 Jun 2025 19:23:59 +0000 From: burban@opopop.net To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#78758: shepherd: herd graph issue References: <87wm9jpdnx.fsf@opopop.net> <87tt4j5k9v.fsf@gnu.org> Date: Sat, 14 Jun 2025 19:23:57 +0000 In-Reply-To: <87tt4j5k9v.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sat, 14 Jun 2025 00:50:04 +0200") Message-ID: <87ikkygm9e.fsf@opopop.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello, My remark was in the context of booting, where a service depends always on some #:requirement (file systems mounted, udev present etc...), and transitiveley to an ultimate ancestor (which #:requiremen [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 78758 X-Mailman-Approved-At: Sun, 15 Jun 2025 02:58:17 -0400 Cc: 78758@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Hello, My remark was in the context of booting, where a service depends always on some #:requirement (file systems mounted, udev present etc...), and transitiveley to an ultimate ancestor (which #:requirement I force to be root, may be this isn't necessary) If you run shepherd for user services, it makes sense to have #:requirement empty. It would perhaps make everyone happy to add the root service in the graph only if #:requirement is empty. Ludovic Court=C3=A8s writes: > Hi, > > burban--- via Bug reports for GNU Guix writes: > >> I noticed that "herd graph" always creates a link to root, which IMO >> clobbers the picture (I can send pictures if that is allowed on this >> list or their source) > > Yeah I wondered about that at the time but found that not having a clear > source node on the graph looked weird (and inaccurate). > > So hmm, I don=E2=80=99t know! > > Ludo=E2=80=99. Sincerely. -- Bernard