Public bug reported:
I'm using package isc-dhcp-client version 4.4.1-2.1ubuntu5
I'm getting these messages in syslog:
dhclient[3308281]: Can't create /run/NetworkManager/dhclient-wlp23s1.pid:
Permission denied
audit: type=1400 audit(1606420037.168:811): apparmor="DENIED"
operation="mknod" profile="/{,usr/}sbin/dhclient"
name="/run/NetworkManager/dhclient-wlp23s1.pid" pid=3308281 comm="dhclient"
requested_mask="c" denied_mask="c" fsuid=0 ouid=0
dhclient[3308357]: Can't create /run/NetworkManager/dhclient6-wlp23s1.pid:
Permission denied
audit: type=1400 audit(1606420039.268:816): apparmor="DENIED"
operation="mknod" profile="/{,usr/}sbin/dhclient"
name="/run/NetworkManager/dhclient6-wlp23s1.pid" pid=3308357 comm="dhclient"
requested_mask="c" denied_mask="c" fsuid=0 ouid=0
Adding "/run/NetworkManager/dhclient{,6}-*.pid lrw," to the apparmor
profile in /etc/apparmor.d/sbin.dhclient fixes the issue.
** Affects: isc-dhcp (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/1905800
Title:
Apparmor denies pid file creation for dhclient when started by
network-manager
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1905800/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs