Public bug reported:

After upgrading Kubuntu from Ocular (24.10) to Plucky (25.04), I could
not retrieve an IP address from my corporate network which requires the
user-class (option 77) to be set in the dhclient configuration file.

Before the upgrade I was able to get an IP address from the DHCP server
through NetworkManager that was set to use the dhclient (isc-dhcp-client
package installed) and with the following lines in the configuration

[main]
dhcp=dhclient

see
https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/configuring-
networkmanager-dhcp-settings_configuring-and-managing-
networking#proc_changing-the-dhcp-client-of-networkmanager_configuring-
networkmanager-dhcp-settings

Everything worked well up until network-manager 1.48.8-1ubuntu3 (Ocular
/ 25.10)

But with the recent upgrade to Plucky/25.10 and network-manager 1.52.0-1ubuntu1
there seems to be a regression as I cannot request an IP address anymore with 
the same configuration

Here are the errors in syslog

2025-05-05T08:06:49.162450+02:00 myhost NetworkManager[1116]: <warn>  
[1746425209.1623] dhcp: init: DHCP client 'dhclient' not available
2025-05-05T08:06:49.162551+02:00 myhost NetworkManager[1116]: <info>  
[1746425209.1623] dhcp: init: Using DHCP client 'internal'

and no IP address is assigned to my network card (wired)

NB: there is no IPv6 at stake, only IPv4 address is assigned


the isc-dhcp-client is in version 4.4.3-P1-4ubuntu2 since 24.04 (LTS/Noble) and 
no newer version exists, so it doesn't seem to be the culprit


unfortunately, I have to still rely on ISC DHCP client as this is the only way 
to configure the user-class option
here is the line I need in the /etc/dhcp/dhclient.conf
send user-class "blabla-XXXX";

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: plucky

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2109975

Title:
  NetworkManager cannot work in conjonction with dhclient (isc-dhcp-
  client) after Plucky/25.04 upgrade

Status in network-manager package in Ubuntu:
  New

Bug description:
  After upgrading Kubuntu from Ocular (24.10) to Plucky (25.04), I could
  not retrieve an IP address from my corporate network which requires
  the user-class (option 77) to be set in the dhclient configuration
  file.

  Before the upgrade I was able to get an IP address from the DHCP
  server through NetworkManager that was set to use the dhclient (isc-
  dhcp-client package installed) and with the following lines in the
  configuration

  [main]
  dhcp=dhclient

  see
  
https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/configuring-
  networkmanager-dhcp-settings_configuring-and-managing-
  networking#proc_changing-the-dhcp-client-of-
  networkmanager_configuring-networkmanager-dhcp-settings

  Everything worked well up until network-manager 1.48.8-1ubuntu3
  (Ocular / 25.10)

  But with the recent upgrade to Plucky/25.10 and network-manager 
1.52.0-1ubuntu1
  there seems to be a regression as I cannot request an IP address anymore with 
the same configuration

  Here are the errors in syslog

  2025-05-05T08:06:49.162450+02:00 myhost NetworkManager[1116]: <warn>  
[1746425209.1623] dhcp: init: DHCP client 'dhclient' not available
  2025-05-05T08:06:49.162551+02:00 myhost NetworkManager[1116]: <info>  
[1746425209.1623] dhcp: init: Using DHCP client 'internal'

  and no IP address is assigned to my network card (wired)

  NB: there is no IPv6 at stake, only IPv4 address is assigned

  
  the isc-dhcp-client is in version 4.4.3-P1-4ubuntu2 since 24.04 (LTS/Noble) 
and no newer version exists, so it doesn't seem to be the culprit

  
  unfortunately, I have to still rely on ISC DHCP client as this is the only 
way to configure the user-class option
  here is the line I need in the /etc/dhcp/dhclient.conf
  send user-class "blabla-XXXX";

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2109975/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to