From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ePe9Iqw8OGMBhAAAbAwnHQ (envelope-from ) for ; Sat, 01 Oct 2022 15:12:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AMWfIqw8OGP+TwAAauVa8A (envelope-from ) for ; Sat, 01 Oct 2022 15:12:12 +0200 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 46E61A535 for ; Sat, 1 Oct 2022 15:12:12 +0200 (CEST) Received: from localhost ([::1]:46892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oecHr-000800-C1 for larch@yhetil.org; Sat, 01 Oct 2022 09:12:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oecHk-0007zs-Ip for guix-patches@gnu.org; Sat, 01 Oct 2022 09:12:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44875) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oecHi-0003w9-GN for guix-patches@gnu.org; Sat, 01 Oct 2022 09:12:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oecHi-0000PA-A4 for guix-patches@gnu.org; Sat, 01 Oct 2022 09:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58223] [PATCH 0/1] dhclient record configuration Resent-From: Alexey Abramov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Oct 2022 13:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58223 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58223@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16646298991524 (code B ref -1); Sat, 01 Oct 2022 13:12:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Oct 2022 13:11:39 +0000 Received: from localhost ([127.0.0.1]:43953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oecHL-0000OU-Cj for submit@debbugs.gnu.org; Sat, 01 Oct 2022 09:11:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:49386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oecHJ-0000OM-Kt for submit@debbugs.gnu.org; Sat, 01 Oct 2022 09:11:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oecHJ-0007zQ-Fz for guix-patches@gnu.org; Sat, 01 Oct 2022 09:11:37 -0400 Received: from mail.mmer.org ([178.22.65.174]:39216) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oecHH-0003pa-SP for guix-patches@gnu.org; Sat, 01 Oct 2022 09:11:37 -0400 Received: from mail.mmer.org (localhost [127.0.0.1]) by mail.mmer.org (OpenSMTPD) with ESMTP id 4225233b for ; Sat, 1 Oct 2022 13:11:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=mmer.org; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=dkim; bh=8fCoUZW7TMIMj4uQap/uy3y7AG/qsKS6/wX5UT4vgKw=; b=L6wD Wwg5e+atYtWsLaaurzRUnOaS7233occblNCKwh2+nMlYr5Xr4aOz2VtZ2KA/WS4A L1eTUGkE7vsSo+rYMTEeWbilNHP/XyDiIf+lW4cVWUNXiYoEsC0QhgYlDJLE9Ci+ WzfQ3wOTKwpsjcuEGB187DcZOAfm1VaISgAXkaM= Received: from delta (j74210.upc-j.chello.nl [24.132.74.210]) by mail.mmer.org (OpenSMTPD) with ESMTPSA id d66160e6 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Sat, 1 Oct 2022 13:11:30 +0000 (UTC) Date: Sat, 1 Oct 2022 15:11:12 +0200 Message-Id: <20221001131112.2649-1-levenson@mmer.org> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.22.65.174; envelope-from=levenson@mmer.org; helo=mail.mmer.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: Alexey Abramov X-ACL-Warn: , Alexey Abramov via Guix-patches From: Alexey Abramov via Guix-patches via 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=1664629932; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=6QeblY7pmdURS/KKmu1zZQLkDk0xA/VXRJsEB+cSwYc=; b=JaBEHfBuCpc6QZRx8//I8m7dlW3NRJf/JB6PfLhSR+6UlVeAdu0mNvlrW91C0vWmIefQU+ 8ZUtfSA/4g8F0cLlzyertvCdL8edjrjE31q2dLWOkHLWfe9rWpNH9LGkR1/Ge2p7lneoFV slfqJJ4XaiFSQZ+uGkZpL2sb4TJM+SU8q/GYNv+yjwFNE3DXx08Dj+mDH0LlBVlxnP8xdo +Er7bvHMgPpoDmiDm5Ave43ciWw2A//JzsdjB+YMU8M9v0og7y6hb15FrMEPi8G6MnDrKj qEjX59Gut52wK19UyFlGDmarL04ix+T63Lhz5jZmuzE3pwwOOoDsOpgYwwShGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664629932; a=rsa-sha256; cv=none; b=i3tB9/4ceqzSRJI9tr/WetzNobd64b+zU3elx7Mo0GIghgzydonKE8Waq2KcSReUIEVoJm nwOKEusMQJmmmyxXqCkqCL4K11ox8eKkPlEhVqxU9c/O0TiEIe0vb9VZsy+mYushICaU/0 qTW0xJlH0I451di/saLqCVNha4DfgYwG/tMw93bt857v7dCSx/LLPcNMXgFSEbqR5g2h7O Vhg9jvAImmDfGXUsa7ebQ2rapfjG9896E+cNZY636UP9ymjIbcj27FXWArUMYTGvg1HtjY 1Bs+GnhHS+wViA4UQs4NvhgiNNTY7PqodVWM+xON+vXQfUY4xiW5H9+xCtUboA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mmer.org header.s=dkim header.b="L6wD Wwg"; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.04 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mmer.org header.s=dkim header.b="L6wD Wwg"; dmarc=pass (policy=none) header.from=gnu.org; 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: 46E61A535 X-Spam-Score: -3.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: ROMAwMf2Qot0 With this patch, dhclient will get its configuration record. The main reason for this is to be able to define a list of interfaces dhclient should be listening to. Such cases are common for routers and other network devices. This patch provides a deprecation message in case someone uses a custom dhclient package for this service, and recommends switching to a proper configuration. However, there is one thing that is not clear to me. I am configuring my router, where I have to have dhclient service which has to get an IP from the upstream, and also have dhcpd configuration for my private internal networks. Both services provision '(networking), which is not allowed right now. Alexey Abramov (1): services: dhcp-client: Implement and use a configuration record doc/guix.texi | 18 +++++- gnu/services/networking.scm | 114 ++++++++++++++++++++++-------------- 2 files changed, 85 insertions(+), 47 deletions(-) -- 2.36.1