diff options
| author | Sören Tempel <soeren@soeren-tempel.net> | 2025-05-30 00:38:20 +0200 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2025-06-08 22:56:48 +0800 |
| commit | a9f0a0635df10bfbf4af72be789968ae26e6b1d3 (patch) | |
| tree | 341f5b1cbdef69060cf0c6341a8aa3367c5ef811 /gnu | |
| parent | 0d213d29f324afbba19fd3b1f255099a45a3f22b (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 <hako@ultrarare.space>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/services/networking.scm | 7 |
1 files 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.")) | |||
| 455 | (dhcp-client-configuration | 455 | (dhcp-client-configuration |
| 456 | (package package)))))) | 456 | (package package)))))) |
| 457 | 457 | ||
| 458 | (define dhcp-client-service-type | 458 | (define-deprecated dhcp-client-service-type |
| 459 | dhcpcd-service-type | ||
| 459 | (service-type (name 'dhcp-client) | 460 | (service-type (name 'dhcp-client) |
| 460 | (extensions | 461 | (extensions |
| 461 | (list (service-extension shepherd-root-service-type | 462 | (list (service-extension shepherd-root-service-type |
| 462 | dhcp-client-shepherd-service))) | 463 | dhcp-client-shepherd-service))) |
| 463 | (default-value (dhcp-client-configuration)) | 464 | (default-value (dhcp-client-configuration)) |
| 464 | (description "Run @command{dhcp}, a Dynamic Host Configuration | 465 | (description "Run @command{dhcp}, a Dynamic Host Configuration |
| 465 | Protocol (DHCP) client, on all the non-loopback network interfaces."))) | 466 | Protocol (DHCP) client, on all the non-loopback network interfaces. |
| 467 | |||
| 468 | This services is deprecated as ISC's DHCP client reached its end-of-life."))) | ||
| 466 | 469 | ||
| 467 | (define-record-type* <dhcpd-configuration> | 470 | (define-record-type* <dhcpd-configuration> |
| 468 | dhcpd-configuration make-dhcpd-configuration | 471 | dhcpd-configuration make-dhcpd-configuration |
