[Bug 2064007] Re: execve from NetworkManager fails - wrong path in app-armor profile?

Seth Arnold 2064007 at bugs.launchpad.net
Fri May 3 01:50:13 UTC 2024


Hello Christopher, thanks for the bug report. Note that due to ISC
stepping back from their DHCP packages, we've switched to dhcpcd as the
"default" dhcp client. Probably a patch to fix this would be accepted,
but it might not be anybody's priority to work on it.

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/2064007

Title:
  execve from NetworkManager fails - wrong path in app-armor profile?

Status in isc-dhcp package in Ubuntu:
  New

Bug description:
  Linux <hostname> 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat
  Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

  
  ```/etc/os-release
  PRETTY_NAME="Ubuntu 24.04 LTS"
  NAME="Ubuntu"
  VERSION_ID="24.04"
  VERSION="24.04 LTS (Noble Numbat)"
  VERSION_CODENAME=noble
  ID=ubuntu
  ID_LIKE=debian
  HOME_URL="https://www.ubuntu.com/"
  SUPPORT_URL="https://help.ubuntu.com/"
  BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
  PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
  UBUNTU_CODENAME=noble
  LOGO=ubuntu-logo
  ```

  
  ```/etc/apparmor.d/sbin.dhclient
  [...]
    # Support the new executable helper from NetworkManager.
    /usr/lib/NetworkManager/nm-dhcp-helper          Pxrm,
    signal (receive) peer=/usr/lib/NetworkManager/nm-dhcp-helper,
  [...]
  ```

  Starting network manager results in
  ```
  /var/log/syslog:2024-04-28T13:35:22.453634+02:00 <hostname> dhclient[<pid>]: execve (/usr/libexec/nm-dhcp-helper, ...): Permission denied
  ```

  `/usr/lib/NetworkManager/nm-dhcp-helper` does not exist on the system.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/2064007/+subscriptions




More information about the foundations-bugs mailing list