Public bug reported:
On an upgraded Ubuntu 24.04 system using NetworkManager and DHCP (IPv4),
the interface fails to obtain an IPv4 address automatically. The problem
is traced to an outdated path in the AppArmor profile for dhclient.
In the file: /etc/apparmor.d/sbin.dhclient
The following line references a now-invalid path:
/usr/lib/NetworkManager/nm-dhcp-helper
But in Ubuntu 24.04, the actual path is:
/usr/libexec/nm-dhcp-helper
Because of this mismatch, dhclient cannot launch the helper script,
resulting in silent failure to obtain an IPv4 lease. The log shows:
dhclient: execve (/usr/libexec/nm-dhcp-helper,...) : Permission denied
**Fix:**
Edit the AppArmor profile and replace the correct path.
Thanks for your attention to this issue.
** Affects: network-manager (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2116733
Title:
nm-dhcp-helper path incorrect in AppArmor profile on Ubuntu 24.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2116733/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs