Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-24622

Deprecate support for dhclient in NetworkManager

    • 1
    • rhel-sst-network-management
    • ssg_networking
    • 23
    • 3
    • False
    • Hide

      None

      Show
      None
    • Yes
    • NMT - RHEL-9.5 DTM 20
    • Hide

      Given a system administrator configures a RHEL-9.5 system with NetworkManager,
      When they attempt to set up a DHCP for network interfaces using dhclient,
      Then, NetworkManager should warn the user about its deprecation.

      Definition of Done:

      • The implementation meets the acceptance criteria
      • Unit test and integration test are written and pass
      • The fix is part of a downstream build attached to an errata
      • The initial text for this enhancement in the feature-reason-result format (More details here)
      • An entry to the NEWS file is added mentioning the deprecation
      • Mention in the NetworkManager.conf man page the deprecation
      • Add a warning when dhclient is enabled during the build
      • Log a warning when NetworkManager starts with dhclient configured
      Show
      Given a system administrator configures a RHEL-9.5 system with NetworkManager, When they attempt to set up a DHCP for network interfaces using dhclient, Then, NetworkManager should warn the user about its deprecation. Definition of Done: The implementation meets the acceptance criteria Unit test and integration test are written and pass The fix is part of a downstream build attached to an errata The initial text for this enhancement in the feature-reason-result format (More details  here ) An entry to the NEWS file is added mentioning the deprecation Mention in the NetworkManager.conf man page the deprecation Add a warning when dhclient is enabled during the build Log a warning when NetworkManager starts with dhclient configured
    • None
    • Manual
    • Deprecated Functionality
    • Hide
      .The `dhcp-client` package is deprecated

      Previously, you could configure NetworkManager in RHEL 9 to use a DHCP client from the `dhcp-client` package. However, the option to use the `dhclient` utility is now deprecated and results in a warning being displayed at the NetworkManager startup. To configure NetworkManager as described above, switch to the internal DHCP library. In RHEL 10, the `dhcp-client` package is no longer available and the applications configured to use the `dhclient` utility use the internal DHCP library instead.
      Show
      .The `dhcp-client` package is deprecated Previously, you could configure NetworkManager in RHEL 9 to use a DHCP client from the `dhcp-client` package. However, the option to use the `dhclient` utility is now deprecated and results in a warning being displayed at the NetworkManager startup. To configure NetworkManager as described above, switch to the internal DHCP library. In RHEL 10, the `dhcp-client` package is no longer available and the applications configured to use the `dhclient` utility use the internal DHCP library instead.
    • Done
    • None

      As `dhclient` is no longer being developed as of early 2022, continuing to support `dhclient` in NetworkManager may not be in the best interest.

      This ticket is to track its deprecation from NetworkManager to use more actively maintained DHCP clients and ensure that NetworkManager remains aligned with current networking practices.
      The goal is to:

      • add an entry to the NEWS file
      • say that it is deprecated in the NetworkManager.conf man page
      • perhaps add a warning when enabling it during the build
      •  log a warning when NM starts and it is configured to use dhclient

              lrintel Lubomir Rintel
              rh-ee-sfaye Stanislas Faye
              Network Management Team Network Management Team
              Matej Berezny Matej Berezny
              Jaroslav Klech Jaroslav Klech
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: