Message ID | cover.1704451578.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 EC45727BBEA; Fri, 5 Jan 2024 11:01:22 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 6729F27BBE9 for <patchwork@mira.cbaines.net>; Fri, 5 Jan 2024 11:01:22 +0000 (GMT) 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 1rLhwj-0004zA-4J; Fri, 05 Jan 2024 06:01:01 -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 <Debian-debbugs@debbugs.gnu.org>) id 1rLhwg-0004uK-G7 for guix-patches@gnu.org; Fri, 05 Jan 2024 06:00:59 -0500 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 1rLhwg-00055I-7i for guix-patches@gnu.org; Fri, 05 Jan 2024 06:00:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rLhwj-0004BP-Vc for guix-patches@gnu.org; Fri, 05 Jan 2024 06:01:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68258] [PATCH 0/7] Upgrading Shepherd and moving the Hurd to 0.10.x References: <d537001d43ef4a003895b721b983da092e6c2e55.1704451578.git.ludo@gnu.org> In-Reply-To: <d537001d43ef4a003895b721b983da092e6c2e55.1704451578.git.ludo@gnu.org> Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 Jan 2024 11:01:01 +0000 Resent-Message-ID: <handler.68258.B68258.17044524059145@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68258 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68258@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org>, Janneke Nieuwenhuizen <janneke@gnu.org> Received: via spool by 68258-submit@debbugs.gnu.org id=B68258.17044524059145 (code B ref 68258); Fri, 05 Jan 2024 11:01:01 +0000 Received: (at 68258) by debbugs.gnu.org; 5 Jan 2024 11:00:05 +0000 Received: from localhost ([127.0.0.1]:56459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1rLhvp-0002Ma-0V for submit@debbugs.gnu.org; Fri, 05 Jan 2024 06:00:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@gnu.org>) id 1rLhvm-0002Fx-86 for 68258@debbugs.gnu.org; Fri, 05 Jan 2024 06:00:03 -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@gnu.org>) id 1rLhvc-0004Yv-GE; Fri, 05 Jan 2024 05:59:52 -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:Subject:To:From:in-reply-to: references; bh=so9ps/WXplAALq5GBV9KVZKPBykMgL0BlxY1eTUKSvw=; b=XN4ztGRSWbqH3q +1XE+Duyzyf9lDShrNTMPUlHWajwUfPB104/k7A9blz6FFFIkRBDR176Db0yGbb5AxZpUD5lc4uQF LGMNpjlLuGhDLKl4qzDJNf3U2FUD4rNqUxwd6KanKfcaQF+6c8zj3MDBxkKcc9yV8Et0qzF0pBOwz Hs5dzUXdZQeYnG0Q25saLuz+IADugOeHikdvErmYosyy3oHzuIWa1bExjGFUD+aDGMmKhXg6CFWqL WlrhrXZ5bKs2XIkQvFGU3LYhr+R+lJHrHwl18yyLqY5tsg//HpSnT59ia01jW6koc6o1DazwureSs Rf1JRIxXprMGUEPzQLnQ==; From: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org> Date: Fri, 5 Jan 2024 11:59:28 +0100 Message-ID: <cover.1704451578.git.ludo@gnu.org> X-Mailer: git-send-email 2.41.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 |
Upgrading Shepherd and moving the Hurd to 0.10.x
|
|
Message
Ludovic Courtès
Jan. 5, 2024, 10:59 a.m. UTC
Hello Guix! With the upcoming Shepherd 0.10.3, which I plan to publish in the coming days, I’d like to make these changes: switching the Hurd to 0.10.x (instead of 0.8.x!) since it’s now functional, which in turn allows us to use the 0.10.x interfaces (GOOPS-less; this is a step before the Shepherd 1.0, which will not support the GOOPS interface at all¹). Thoughts? Ludo’. ¹ https://lists.gnu.org/archive/html/guix-devel/2023-04/msg00059.html Ludovic Courtès (7): services: openssh: Add dependency on ‘networking’. tests: childhurd: Increase SSH connection timeout. DRAFT gnu: shepherd: Update to 0.10.3. system: hurd: Use the Shepherd 0.10.x. services: shepherd: Use the 0.10.x GOOPS-less interface. home: services: shepherd: Use the 0.10.x interface. services: bitlbee: Use ‘make-inetd-constructor’ unconditionally. gnu/home/services/shepherd.scm | 12 +++----- gnu/packages/admin.scm | 6 ++-- gnu/services/messaging.scm | 51 ++++++++++++---------------------- gnu/services/shepherd.scm | 30 +++++++------------- gnu/services/ssh.scm | 7 +++-- gnu/system.scm | 4 +-- gnu/system/hurd.scm | 4 +-- gnu/tests/virtualization.scm | 3 +- 8 files changed, 45 insertions(+), 72 deletions(-) base-commit: 30bd86e0853ebef9f7e32315d00f67caa1880ef3
Comments
Ludovic Courtès writes: Hey! > With the upcoming Shepherd 0.10.3, which I plan to publish in the > coming days, I’d like to make these changes: switching the Hurd to > 0.10.x (instead of 0.8.x!) since it’s now functional, Yay! I had trouble building (running the test suite of?) fibers before on the Hurd, IIRC. I haven't re-checked this, so we might have to check this or disable (some) tests to allow native builds. Really just wildly guessing here. > which in turn allows us to use the 0.10.x interfaces (GOOPS-less; this > is a step before the Shepherd 1.0, which will not support the GOOPS > interface at all¹). > > Thoughts? Hmm, I've built a bare-hurd.tmpl but ssh doesn't start for me (see log). A line similar to --8<---------------cut here---------------start------------->8--- /gnu/store/3lqwp154zlj79ndm92ay9g0hwvjsf3m9-sshd_config line 13: Unsupported option UsePAM --8<---------------cut here---------------end--------------->8--- that used to appear second-last is now missing (see log). (I've tried reverting 1/7 but that doesn't work) Greetings, Janneke
Janneke Nieuwenhuizen writes: Hi, > Ludovic Courtès writes: > > Hey! > > Hmm, I've built a bare-hurd.tmpl but ssh doesn't start for me (see log). [..] > (I've tried reverting 1/7 but that doesn't work) So, I've tried without CONSOLE=COM0 using --display curses and the problem is that (ipv6) networking didn't, and won't start anymore: --8<---------------cut here---------------start------------->8--- root@guixydevel ~# herd start networking starting '/gnu/store/9mxaxp5nj70d5wkn8d32bxhybfvglvi3-hurd-v0.9.git20230216/hurd /pfinet "--ipv6" "/servers/socket/26" "--interface" "/dev/eth0" "--address" "10. 0.2.15" "--netmask" "255.255.255.0" "--gateway" "10.0.2.2"' herd: error: exception caught while executing 'start' on service 'networking': Throw to key `%exception' with args `("#<&invoke-error program: \"/gnu/store/9mxaxp5nj70d5wkn8d32bxhybfvglvi3-hurd-v0.9.git20230216/bin/settrans\" arguments: (\ "--active\" \"--create\" \"--keep-active\" \"/servers/socket/2\" \"/gnu/store/9mxaxp5nj70d5wkn8d32bxhybfvglvi3-hurd-v0.9.git20230216/hurd/pfinet\" \"--ipv6\" \"/servers/socket/26\" \"--interface\" \"/dev/eth0\" \"--address\" \"10.0.2.15\" \"--netmask\" \"255.255.255.0\" \"--gateway\" \"10.0.2.2\") exit-status: 4 term-signal: #f stop-signal: #f>")'. --8<---------------cut here---------------end--------------->8--- That doesn't tell us much, but running --8<---------------cut here---------------start------------->8--- settrans --active --create --keep-active /servers/socket/2 /gnu/store/9mxaxp5nj70d5wkn8d32bxhybfvglvi3-hurd-v0.9.git20230216/hurd/pfinet --ipv6 /servers/socket/26 --interface /dev/eth0 --address 10.0.2.15 --netmask 255.255.255.0 --gateway 10.0.2.2 --8<---------------cut here---------------end--------------->8--- Gives .../hurd/pfinet: /servers/socket/26: Device or resource busy Any ideas how this may have happenened?
Janneke Nieuwenhuizen writes:
> Any ideas how this may have happenened?
FWIW, reverting to shepherd-0.8
cd1100482d Revert "system: hurd: Use the Shepherd 0.10.x."
d82e9a0494 Revert "services: shepherd: Use the 0.10.x GOOPS-less interface."
"fixes" starting of networking. :-(
Log attached.
Hi! Janneke Nieuwenhuizen <janneke@gnu.org> skribis: > So, I've tried without CONSOLE=COM0 using --display curses and the > problem is that (ipv6) networking didn't, and won't start anymore: > > root@guixydevel ~# herd start networking > starting '/gnu/store/9mxaxp5nj70d5wkn8d32bxhybfvglvi3-hurd-v0.9.git20230216/hurd /pfinet "--ipv6" "/servers/socket/26" "--interface" "/dev/eth0" "--address" "10. 0.2.15" "--netmask" "255.255.255.0" "--gateway" "10.0.2.2"' > herd: error: exception caught while executing 'start' on service 'networking': > Throw to key `%exception' with args `("#<&invoke-error program: \"/gnu/store/9mxaxp5nj70d5wkn8d32bxhybfvglvi3-hurd-v0.9.git20230216/bin/settrans\" arguments: (\ "--active\" \"--create\" \"--keep-active\" \"/servers/socket/2\" \"/gnu/store/9mxaxp5nj70d5wkn8d32bxhybfvglvi3-hurd-v0.9.git20230216/hurd/pfinet\" \"--ipv6\" \"/servers/socket/26\" \"--interface\" \"/dev/eth0\" \"--address\" \"10.0.2.15\" \"--netmask\" \"255.255.255.0\" \"--gateway\" \"10.0.2.2\") exit-status: 4 term-signal: #f stop-signal: #f>")'. There were a couple of issues on the way. Most likely you hit <https://issues.guix.gnu.org/64653> (now fixed), which was marking ‘networking’ as failing to start even though pfinet had been correctly started. Consequently, re-running ‘herd start networking’ would fail as above because the translator was already running. So if you rebase above 4e431fda5f2ec76b6d6a271be7c30b1324431329, it should be fine! Ludo’.
Janneke Nieuwenhuizen <janneke@gnu.org> skribis: > Yay! I had trouble building (running the test suite of?) fibers before > on the Hurd, IIRC. > > I haven't re-checked this, so we might have to check this or disable > (some) tests to allow native builds. Really just wildly guessing here. Yeah, so far I was testing the Shepherd’s test suites with: guix build -s i586-gnu -f guix.scm --without-tests=guile-fibers I’ve already identified a bug in the libevent backend of Fibers; I’ll take a look at the test suite. Thanks for testing! Ludo’.
Ludovic Courtès writes: Hey, > Janneke Nieuwenhuizen <janneke@gnu.org> skribis: > >> So, I've tried without CONSOLE=COM0 using --display curses and the >> problem is that (ipv6) networking didn't, and won't start anymore: [..] > > There were a couple of issues on the way. Most likely you hit > <https://issues.guix.gnu.org/64653> (now fixed), which was marking > ‘networking’ as failing to start even though pfinet had been correctly > started. Consequently, re-running ‘herd start networking’ would fail as > above because the translator was already running. > > So if you rebase above 4e431fda5f2ec76b6d6a271be7c30b1324431329, it > should be fine! Yes, it now works for me. I'm not sure how I missed this, sorry :) Finally shepherd 0.10 on the Hurd, well done! Greetings, Janneke
Hello! Janneke Nieuwenhuizen <janneke@gnu.org> skribis: > Yes, it now works for me. I'm not sure how I missed this, sorry :) Wo0t! > Finally shepherd 0.10 on the Hurd, well done! Pushed as 3eac1c82f7f1547aa6819db867b071a4ee7de8e3! Commit 766ac72dba36657ce217d055d7672cbf01bd32ce also fixes a bug in the libevent backend of Fibers (fix is now upstream: <https://github.com/wingo/fibers/pull/102>). Ludo’.