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 <hako@ultrarare.space>
This commit is contained in:
Sören Tempel 2025-05-30 00:38:20 +02:00 committed by Hilton Chain
parent 0d213d29f3
commit a9f0a0635d
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -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