Skip to content

Commit

Permalink
actual path
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodysu committed Aug 19, 2021
1 parent f30f88c commit 9a0bd3c
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions usr.sbin.yadifad
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# vim:syntax=apparmor

#include <tunables/global>

profile yadifad /usr/sbin/yadifad {
#include <abstractions/base>
#include <abstractions/nameservice>
# #include <abstractions/3rd/nameservice-strict>
#include <abstractions/openssl>
#include <abstractions/nis>

capability dac_override,
capability chown,
capability setgid,
capability setuid,

/etc/yadifa/yadifad.conf r,

/var/lib/yadifa/** r,
owner /var/lib/yadifa/ydf.?????? rw,
owner /var/lib/yadifa/keys/ydf.?????? rw,
owner /var/lib/yadifa/xfr/ydf.?????? rw,

owner /{,var/}run/yadifa/yadifad.pid rwk,
owner /{,var/}run/yadifa/ydf.?????? rw,

/var/log/yadifa/*.log rw,
/var/log/yadifa/ydf.?????? rw,

# #include <local/usr.sbin.yadifad>
}

0 comments on commit 9a0bd3c

Please sign in to comment.