From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qLhMJfrfkmHSIgAAgWs5BA (envelope-from ) for ; Mon, 15 Nov 2021 23:32:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8H3aIPrfkmFLUgAAbx9fmQ (envelope-from ) for ; Mon, 15 Nov 2021 22:32:26 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 59A06167F5 for ; Mon, 15 Nov 2021 23:32:26 +0100 (CET) Received: from localhost ([::1]:56392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmkWX-0000fU-4Q for larch@yhetil.org; Mon, 15 Nov 2021 17:32:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmkWA-0008VL-Fh for guix-patches@gnu.org; Mon, 15 Nov 2021 17:32:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmkWA-0002A8-6W for guix-patches@gnu.org; Mon, 15 Nov 2021 17:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmkWA-0003lC-2t for guix-patches@gnu.org; Mon, 15 Nov 2021 17:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51440] [PATCH v2 00/10] Declarative static networking interface Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Nov 2021 22:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51440 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51440@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 51440-submit@debbugs.gnu.org id=B51440.163701546914265 (code B ref 51440); Mon, 15 Nov 2021 22:32:02 +0000 Received: (at 51440) by debbugs.gnu.org; 15 Nov 2021 22:31:09 +0000 Received: from localhost ([127.0.0.1]:56420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmkVC-0003hg-Bq for submit@debbugs.gnu.org; Mon, 15 Nov 2021 17:31:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmkVA-0003gl-HI for 51440@debbugs.gnu.org; Mon, 15 Nov 2021 17:31:00 -0500 Received: from [2001:470:142:3::e] (port=52016 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmkV4-0001yS-Up; Mon, 15 Nov 2021 17:30:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=LZLjxIIlgf1IdNnzBLbG3qrn1y5Z/awTGy01oaCGgYE=; b=OzGeefZb7fnxo6BrTj5s ojv6IzF9DOA6TxK1ZBduTZtoshRtxLuWLa0VSTFJt2bLoAX+VhPW6pZulrQdXOQuFSIOBZKzvv/LP jEO134nF8dyURCKku3W7zQ8obXRsYaMsd/VASFNe6bgy65uuALCSL1f6ycthEN04UW0qEeEFiyLDm 0RTxtTxRI85WeDDV5cgAKFhq9QAx5yE4GGrknfY6fRURNd2j3mgaMpOozSo3y3a9w8pIolfhQPQKS KugAiRdli0joQXSBuXUb050ZXOeoVSv34iRq74VcEZJkGXKnwluaxD53yA1xSdYboXNqX0OTNwfth OSiefyWIsK2xgg==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44414 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmkV4-0001jO-Mn; Mon, 15 Nov 2021 17:30:54 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 15 Nov 2021 23:30:34 +0100 Message-Id: <20211115223044.10943-1-ludo@gnu.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211027135918.18833-1-ludo@gnu.org> References: <20211027135918.18833-1-ludo@gnu.org> 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637015546; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=LZLjxIIlgf1IdNnzBLbG3qrn1y5Z/awTGy01oaCGgYE=; b=hAS4Z3Ptomdd4fKGG/czwqYpD2D4bfmOWS9Eh+UIpiq6X/crhYz94aQXFnTpiqvkq1moLb T3mEsYv6GKOYvA6GS/EqlIS7CcBERk5n4m20x3WEvrUVKVtkqdKFguxsSo2MJ7XNIRXfSg PCEGP+ss5Gw87W8R83xolvrD04Y3nfYEUw6O8bm/5M6qZ4Qk4FFtZ3NzjybZfc90h31Lnp K8FUREl3ACEroSgJsdicBB8JWHZKf1FTSzyAcYRKutG7YC+IgOjJY3jmbehBbkJAogHOLz 8opUV2XhDRfok6CZMZfylNqHxBuqilVkF+/6dFJq35ro59DchrDqx7ibWYJZgg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637015546; a=rsa-sha256; cv=none; b=R/wDEcg0NVSwx5Qi+PQWx1/VyFyO0Rb9gTUlHoXIZL2LyCPKOqfh6bIHV/FPXU3iVUuLDa UUjoID2XMEOZkuWi1VA7p1hVvpMXBcWXWKVR7mWeYBhsjcHRN9qyoQRsHTtY5RaErPUv/h xRGrPuL/DlZafz2YboaZoRStZxq9xZA9cRC/jw36PjtoxWTPl8Yy+N3FnXerGNp6VLrlpO GkZWtssA8l42hljjI5a8fjNPLzmNfEvIddZYors1x9A2iq/baYM7pd/BwHz+WQcSTBs2oX 7kMrkaR7++zL0om61CphUeZU4oOM7QUlExyK3Ge7bxS7LBbE5Bvjrb7mlQF1zQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=OzGeefZb; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.04 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=OzGeefZb; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 59A06167F5 X-Spam-Score: -1.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4ucBvJvgLIWb Hi! Changes since v1: • ‘herd stop networking’ fixed, as reported by David Aaron Fendley. • Guile-Netlink cross-compilation simplified thanks to changes in Guile-Netlink 1.1. • ‘provision’ field of defaults to '(networking), as suggested by Julien. • “network-tear-down” script wraps calls in ‘false-if-netlink-error’ to go as far as possible. • Documentation fixed as suggested by Julien. Thoughts? Test reports? :-) Note: It requires Guile-Netlink 1.1 as added in 46432cceebe392a1744980f370a48ef73afbac2c (it fixes another issue David reported earlier.) Ludo’. Ludovic Courtès (10): tests: Add 'static-networking' test. tests: openvswitch: Check whether ovs0 is up. doc: Add new "Networking Setup" node for the main setup options. gnu: guile-netlink: Allow cross-compilation. services: static-networking: Use Guile-Netlink on GNU/Linux. services: secret-service: Turn into a Shepherd service. services: static-networking: Change interface to mimic netlink. services: Define '%qemu-static-networking'. services: Define '%loopback-static-networking'. tests: Replace uses of deprecated 'static-networking-service'. doc/guix.texi | 504 ++++++++++++++++++++++---------- gnu/build/hurd-boot.scm | 10 +- gnu/build/secret-service.scm | 17 +- gnu/packages/guile-xyz.scm | 3 +- gnu/services/base.scm | 406 +++++++++++++++++++------ gnu/services/virtualization.scm | 45 ++- gnu/system/hurd.scm | 12 +- gnu/system/install.scm | 5 +- gnu/tests/ganeti.scm | 7 +- gnu/tests/networking.scm | 141 ++++++++- 10 files changed, 855 insertions(+), 295 deletions(-) base-commit: 21332f3b8cb8f407a89cdfe7d0460a9947675872 -- 2.33.0