Apparmor results in denying operation mknod for isc-dhcp-server
Bug #776945 reported by
koolhead17
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
isc-dhcp (Ubuntu) |
Invalid
|
Medium
|
Ubuntu Server |
Bug Description
Binary package hint: isc-dhcp-server
I have isc-dhcp-server installed , i have configured the needed /etc/dhcpd.conf file but when i try to execute
#dhcpd
it results in
can`t create PID file /var/run/dhcpd.pid :Permission denied.
My syslog suggests me apparmor is denying the operation.
#tail -f /var/log/syslog
May 3 23:31:26 natty kernel: [ 354.126130] type=1400 audit(130449068
Changed in isc-dhcp (Ubuntu): | |
assignee: | Jamie Strandboge (jdstrand) → nobody |
status: | Incomplete → New |
Changed in isc-dhcp (Ubuntu): | |
assignee: | nobody → Ubuntu Server Team (ubuntu-server) |
tags: | added: server-o-rs |
Changed in isc-dhcp (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
Thank you for using Ubuntu and filing a bug. By default, isc-dhcp-server's dhcpd will use /var/run/ dhcp-server/ dhcpd.pid, and this is allowed by the AppArmor profile. /etc/dhcpd.conf is also a non-default (though common outside of Ubuntu) location for the configuration file, so it appears you are using non-default configuration options (and therefore either need to adjust the AppArmor profile, or your configuration). Can you attach your /etc/dhcpd.conf file?