From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sGoIGdflr2WIaAAAe85BDQ:P1 (envelope-from ) for ; Tue, 23 Jan 2024 17:14:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id sGoIGdflr2WIaAAAe85BDQ (envelope-from ) for ; Tue, 23 Jan 2024 17:14:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=soeren-tempel.net header.s=opensmtpd header.b=aL2LX+R4; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=soeren-tempel.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706026455; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: 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=3EooFAFVfO7wRLR+ag5Z2qHG4YOLv7CbE7c40HtJ7xc=; b=QFnd6qh0qolsgFTWmiqJY4Pe0ltgfMVcs7zL/MUdM42GIVcFRFoG5lPQrOK8Rj8QT7oucg bEM3AueX89c4uOxvG8Q7OItrAcOqY8iaQLF62IYwSisGSMC4RG63GrGf7epRwsN3HuGVpj xnmjYgibIlkafWoIYc2c4GrOx53f0zzIPNNj3j9VaCLEF8P11o6v0+dWeQIGf+qpV46Z7A ommw22hAg2ko2JOfMVANTtM01F7jHWaUQW3J/bbvakmA3gXHYqw3iXxNH/anl4ar88akEM f28misI0L7qOy9QNPINOkb/lt9jdEESlUcQEX6gT7vkS4fAwc1mzv8Cbed3paA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=soeren-tempel.net header.s=opensmtpd header.b=aL2LX+R4; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=soeren-tempel.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706026455; a=rsa-sha256; cv=none; b=PGklTxbNxKJCDE88b3p//C1Ylp/Ad1jWHmXD8Ytc0FsyesIRgXaGsg1CTBtIvBQCS/I3/n lIuDbW+Nv1rlTzpQnFMkDS8QzAulbCYM0yxQSPlPkB5T3gga8ty8YV8a+LkkfsxBJ5NcSn z7tneK0ysiXllEQCWGWOudjZXmeF4k7tNmmR+UHrmd2pMOzu3vsm8KiQjfk0sP6nrEjgbl xKEknAIIJRzjsi6LzOKtLUECy6+E4AqSg1+6DM4+15x2DDZ1O16dis6xLkGgzr2/MtXMWP +CA3bXfqY1fzmcOfguV58K48vdixmXiCeW+nLprASt4lxtY9Cv0xfPnwVON7+A== 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 245B23C788 for ; Tue, 23 Jan 2024 17:14:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSJPV-0002hk-KT; Tue, 23 Jan 2024 11:14: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 ) id 1rSJPT-0002hM-7f for guix-patches@gnu.org; Tue, 23 Jan 2024 11:13: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 ) id 1rSJPR-0006bK-Nc for guix-patches@gnu.org; Tue, 23 Jan 2024 11:13:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rSJPW-0002wj-2u for guix-patches@gnu.org; Tue, 23 Jan 2024 11:14:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68675] [PATCH] Support dhcpcd in dhcp-client-service-type Resent-From: soeren@soeren-tempel.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Jan 2024 16:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68675@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170602641511275 (code B ref -1); Tue, 23 Jan 2024 16:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jan 2024 16:13:35 +0000 Received: from localhost ([127.0.0.1]:43825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSJP5-0002vn-2t for submit@debbugs.gnu.org; Tue, 23 Jan 2024 11:13:35 -0500 Received: from lists.gnu.org ([2001:470:142::17]:44664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSJP3-0002va-Lk for submit@debbugs.gnu.org; Tue, 23 Jan 2024 11:13:34 -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 ) id 1rSJOs-0002eG-Ql for guix-patches@gnu.org; Tue, 23 Jan 2024 11:13:22 -0500 Received: from magnesium.8pit.net ([45.76.88.171]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rSJOq-0006YR-BF; Tue, 23 Jan 2024 11:13:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=opensmtpd; bh=dcnBEwsmPw MV6v6Wu6OMFNP1AaxSrHjSk2p4oVl0mmk=; h=date:subject:to:from; d=soeren-tempel.net; b=aL2LX+R49g44u1gktpjyxRR5sUv/hk/kLFAbYIiQbsdmNuu n+pzXv56CPKwKu0MWOFqZdSPSk50AE2FPacYNMkeXvacJF2uTyc2LRngb7CQJL4oisTmg4 +Lh36fvgeqW28ayxdmltMsH47CK8anzwQlJqk2YVwMr4JRuXPUDpq4= Received: from localhost (dynamic-2a02-3102-49da-001b-1300-cfa0-a067-980d.310.pool.telefonica.de [2a02:3102:49da:1b:1300:cfa0:a067:980d]) by magnesium.8pit.net (OpenSMTPD) with ESMTPSA id 32adb324 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:YES); Tue, 23 Jan 2024 17:13:14 +0100 (CET) From: soeren@soeren-tempel.net Date: Tue, 23 Jan 2024 17:12:43 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=45.76.88.171; envelope-from=soeren@soeren-tempel.net; helo=magnesium.8pit.net 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, T_SCC_BODY_TEXT_LINE=-0.01 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 3.34 X-Migadu-Queue-Id: 245B23C788 X-Spam-Score: 3.34 X-Migadu-Scanner: mx11.migadu.com X-TUID: Mo0PSLZV9vc5 From: Sören Tempel This patch series add support for an alternative DHCP client to dhcp-client-service-type. This is necessary as, currently, dhcp-client-service-type only supports the ISC DHCP implementation and this implementation has reached its end-of-life in 2022(!). For more information, refer to . Specifically, this patch series adds support for dhcpcd. However, it is not yet enabled by default. Nonetheless, I would strongly suggest enabling it by default at a later point in time. In order to enable dhcpcd add the following to /etc/config.scm: (service dhcp-client-service-type (dhcp-client-configuration (package dhcpcd))) I have done some basics tests with this change applied with both dhcpcd and isc-dhcp. Further tests and feedback would be much appreciated! Sören Tempel (2): gnu: Add dhcpcd. services: dhcp: Support the dhcpcd implementation. gnu/packages/admin.scm | 42 +++++++++++++++++++ gnu/services/networking.scm | 84 ++++++++++++++++++++++++++----------- 2 files changed, 102 insertions(+), 24 deletions(-) base-commit: 29c26a8d308286cf378ce9cfa3d73e3d1454263d