From a9f0a0635df10bfbf4af72be789968ae26e6b1d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Fri, 30 May 2025 00:38:20 +0200 Subject: [PATCH] services: Deprecate dhcp-client-service-type. ISC's dhcclient has reached its end-of-life in 2022 and is since unsupported [1]. I have added a service for dhcpcd as an alternative a few months ago [2]. Presently, I am not aware of any issues with it; hence, I believe it is now time to deprecate dhcp-client-service-type in favor of dhcpcd-service-type. See also: https://issues.guix.gnu.org/68619 * gnu/services/networking.scm (dhcp-client-service-type): Deprecate. [1]: https://www.isc.org/blogs/isc-dhcp-eol/ [2]: https://issues.guix.gnu.org/75934 Change-Id: I282c6a68570ccc5dfbb21176758c71cf03864ddd Signed-off-by: Hilton Chain --- gnu/services/networking.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm index 4bda1029867..52e37d20ab9 100644 --- a/gnu/services/networking.scm +++ b/gnu/services/networking.scm @@ -455,14 +455,17 @@ record instead of a package. Please adjust your configuration accordingly.")) (dhcp-client-configuration (package package)))))) -(define dhcp-client-service-type +(define-deprecated dhcp-client-service-type + dhcpcd-service-type (service-type (name 'dhcp-client) (extensions (list (service-extension shepherd-root-service-type dhcp-client-shepherd-service))) (default-value (dhcp-client-configuration)) (description "Run @command{dhcp}, a Dynamic Host Configuration -Protocol (DHCP) client, on all the non-loopback network interfaces."))) +Protocol (DHCP) client, on all the non-loopback network interfaces. + +This services is deprecated as ISC's DHCP client reached its end-of-life."))) (define-record-type* dhcpd-configuration make-dhcpd-configuration