/etc/apparmor.d/usr.sbin.dhcpd is in isc-dhcp-server 4.3.5-3ubuntu7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | # vim:syntax=apparmor
# Last Modified: Mon Jan 25 11:06:45 2016
# Author: Jamie Strandboge <jamie@canonical.com>
#include <tunables/global>
/usr/sbin/dhcpd {
#include <abstractions/base>
#include <abstractions/nameservice>
#include <abstractions/ssl_keys>
capability chown,
capability net_bind_service,
capability net_raw,
capability setgid,
capability setuid,
network inet raw,
network packet packet,
network packet raw,
@{PROC}/[0-9]*/net/dev r,
@{PROC}/[0-9]*/net/{dev,if_inet6} r,
/etc/hosts.allow r,
/etc/hosts.deny r,
/etc/dhcp/ r,
/etc/dhcp/** r,
/etc/dhcpd{,6}.conf r,
/etc/dhcpd{,6}_ldap.conf r,
/usr/sbin/dhcpd mr,
/var/lib/dhcp/dhcpd{,6}.leases* lrw,
/var/log/ r,
/var/log/** rw,
/{,var/}run/{,dhcp-server/}dhcpd{,6}.pid rw,
# isc-dhcp-server-ldap
/etc/ldap/ldap.conf r,
# LTSP. See:
# http://www.ltsp.org/~sbalneav/LTSPManual.html
# https://wiki.edubuntu.org/
/etc/ltsp/ r,
/etc/ltsp/** r,
/etc/dhcpd{,6}-k12ltsp.conf r,
/etc/dhcpd{,6}.leases* lrw,
/ltsp/ r,
/ltsp/** r,
# Eucalyptus
/{,var/}run/eucalyptus/net/ r,
/{,var/}run/eucalyptus/net/** r,
/{,var/}run/eucalyptus/net/*.pid lrw,
/{,var/}run/eucalyptus/net/*.leases* lrw,
/{,var/}run/eucalyptus/net/*.trace lrw,
# wicd
/var/lib/wicd/* r,
# access to bind9 keys for dynamic update
# It's expected that users will generate one key per zone and have it
# stored in both /etc/bind9 (for bind to access) and /etc/dhcp/ddns-keys
# (for dhcpd to access).
/etc/dhcp/ddns-keys/** r,
# allow packages to re-use dhcpd and provide their own specific directories
#include <dhcpd.d>
# Site-specific additions and overrides. See local/README for details.
#include <local/usr.sbin.dhcpd>
}
|