isc-dhcp-server AppArmor Denied on /proc/sys/net/ipv4/ip_local_port_range
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
isc-dhcp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The following AppArmor denial errors are shown on startup:
Oct 25 00:52:00 xxx kernel: [ 556.231990] audit: type=1400 audit(160360152
Oct 25 00:52:00 xxx kernel: [ 556.232257] audit: type=1400 audit(160360152
Fix is to edit /etc/apparmor.
@{PROC}
'lsb_release -rd':
Description: Ubuntu 20.04.1 LTS
Release: 20.04
isc-dhcp-server:
Installed: 4.4.1-2.1ubuntu5
Candidate: 4.4.1-2.1ubuntu5
Version table:
*** 4.4.1-2.1ubuntu5 500
500 http://
100 /var/lib/
apparmor:
Installed: 2.13.3-7ubuntu5.1
Candidate: 2.13.3-7ubuntu5.1
Version table:
*** 2.13.3-7ubuntu5.1 500
500 http://
100 /var/lib/
2.
500 http://
I can confirm that I am seeing this same behavior. The proposed fix also worked for me.