Message ID | cover.1745163830.git.ludo@gnu.org |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0A6CF27BC4B; Sun, 20 Apr 2025 16:54:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B019227BC49 for <patchwork@mira.cbaines.net>; Sun, 20 Apr 2025 16:54:19 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1u6Wzc-0006vX-Di; Sun, 20 Apr 2025 11:54:04 -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 <Debian-debbugs@debbugs.gnu.org>) id 1u6Wzb-0006uT-0Y for guix-patches@gnu.org; Sun, 20 Apr 2025 11:54:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1u6Wza-0007Hm-Nj; Sun, 20 Apr 2025 11:54:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=yn1UJvz5M2nYMskEtUQ3mm5vPuOisaiDlkR3ZR77JdI=; b=ELntsR1NK0BI/NxpvmM48P8UdH2uoP3r/sHaqofzboIMY0AdbqOCEDcSRB77HiLG7vsD4YbPGwx5J0SrepEqnfY/7DYWN1iTnsr/H88KCPgLzchNufySQkcA+i1CDgUKOd5YPhNKOJJQ5pOEpwlZsWT4wYo/EV5sUOtigmHzccRBLdycFjsBxBYTvUqe0W7iEb8DGTtIoQ5DaTOTLpYK3E2CVQfe1/37op3juuwUZLqZwM+AE6iIfJ6zk02V6yaQA6ghdCv8DTEqbI2B1UgaMPR9XETaFhFCdfQ1wRlKOtSYDhfSlErcCbTfsn3GXusznAkFUUGcAzrqIhWn5iATUg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1u6Wza-0001k9-Io; Sun, 20 Apr 2025 11:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77943] [PATCH 0/2] Using the Shepherd's system log on the Hurd Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: janneke@gnu.org, guix-patches@gnu.org Resent-Date: Sun, 20 Apr 2025 15:54:02 +0000 Resent-Message-ID: <handler.77943.B.17451643906498@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77943 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77943@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org>, Yelninei <yelninei@tutamail.com>, Janneke Nieuwenhuizen <janneke@gnu.org> X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Janneke Nieuwenhuizen <janneke@gnu.org> Received: via spool by submit@debbugs.gnu.org id=B.17451643906498 (code B ref -1); Sun, 20 Apr 2025 15:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Apr 2025 15:53:10 +0000 Received: from localhost ([127.0.0.1]:51149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1u6Wyj-0001gc-9a for submit@debbugs.gnu.org; Sun, 20 Apr 2025 11:53:10 -0400 Received: from lists.gnu.org ([2001:470:142::17]:33688) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ludo@gnu.org>) id 1u6Wyf-0001eB-5U for submit@debbugs.gnu.org; Sun, 20 Apr 2025 11:53:06 -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 <ludo@gnu.org>) id 1u6WyX-0006l0-2x for guix-patches@gnu.org; Sun, 20 Apr 2025 11:52:57 -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 <ludo@gnu.org>) id 1u6WyW-0007FP-Cg; Sun, 20 Apr 2025 11:52:56 -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:Subject:To:From:in-reply-to: references; bh=yn1UJvz5M2nYMskEtUQ3mm5vPuOisaiDlkR3ZR77JdI=; b=MrW7i8mq2TBkVh 2Nq4JBG55kzdK8MpFWFGegJ1e5G9G5LHfGm/lsyr4tz6xBkEOzyhHGUj3scKo3C1AY/8QqVh6tZut 09+6Y+11i8L2665+1zLo1BftBup9ztbpNitud6C3EzgBW+XUesE1kEg5+ik2/zCHTR/K3jQSPQJd+ SDYD9Ed48agy74XE93rvP8HJfyx99PgaxSGqy+kVPgJ7Q/EzfgjjSdZitJ8uL33fibuYDA8rq/7nq zv4s93/r4zxYrq7Wi9c9Av5LchD13lIYutaobfagAPaW1Etj4IcsRNuY4sPaoq2SUw1qT/rf997+/ oDQsFZZVPL5MfqOFiQxw==; From: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org> Date: Sun, 20 Apr 2025 17:52:37 +0200 Message-ID: <cover.1745163830.git.ludo@gnu.org> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
Using the Shepherd's system log on the Hurd
|
|
Message
Ludovic Courtès
April 20, 2025, 3:52 p.m. UTC
Hello! This changes the Hurd to use the Shepherd’s system log instead of syslogd from Inetutils, as is already the case on Linux. I wanted to try now that Yelninei and I have addressed most of the issues they reported in this area: <https://issues.guix.gnu.org/77634>. It works, but maybe we should hold on a bit though, because of this: --8<---------------cut here---------------start------------->8--- shepherd[1]: GNU Shepherd 1.0.4 (Guile 3.0.9, i586-pc-gnu) shepherd[1]: Starting service root... […] shepherd[1]: Service root-file-system running with value #t. shepherd[1]: Service root-file-system has been started. Uncaught exception in task: In fibers.scm: 172:8 7 (_) In shepherd/service/system-log.scm: 240:7 6 (run-system-log #<<channel> getq: #<atomic-box 33088d0?> ?) In ice-9/suspendable-ports.scm: 681:11 5 (read-delimited _ _ _) 613:2 4 (read-char _) 184:27 3 (fill-input #<input: /dev/klog 44> _ _) 72:4 2 (read-bytes #<input: /dev/klog 44> #vu8(51 98 120 121 ?) ?) In unknown file: 1 (port-read #<input: /dev/klog 44> #vu8(51 98 120 121 ?) ?) In ice-9/boot-9.scm: 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure fport_read: (os/device) operation would block --8<---------------cut here---------------end--------------->8--- It’s non-fatal but I think everything going to /dev/log after that is dismissed—IOW, the system log doesn’t log anything. There’s also the "\0" sender that appears in /var/log/messages: it works, but it’s not nice. I reported it on bug-hurd and hopefully it has an easy solution. Ludovic Courtès (2): services: shepherd: Provide the right #:kernel-log-file on the Hurd. system: hurd: Switch to the Shepherd’s system log. gnu/services/shepherd.scm | 9 +++++++++ gnu/system/hurd.scm | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) base-commit: d14663b94a7428eccbfa27aa620dc3d8ba67d752