summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSören Tempel <[email protected]>2025-05-30 00:38:20 +0200
committerHilton Chain <[email protected]>2025-06-08 22:56:48 +0800
commita9f0a0635df10bfbf4af72be789968ae26e6b1d3 (patch)
tree341f5b1cbdef69060cf0c6341a8aa3367c5ef811
parent0d213d29f324afbba19fd3b1f255099a45a3f22b (diff)
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 <[email protected]>
-rw-r--r--gnu/services/networking.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 4bda102986..52e37d20ab 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>
dhcpd-configuration make-dhcpd-configuration