File ulogd.apparmor of Package ulogd

# vim:syntax=apparmor
# Last Modified: Thu May 31 19:14:10 2007
# $Id$
# ------------------------------------------------------------------
#
#    Copyright (C) 2007 Novell/SUSE
#
#    This program is free software; you can redistribute it and/or
#    modify it under the terms of version 2 of the GNU General Public
#    License published by the Free Software Foundation.
#
# ------------------------------------------------------------------

#include <tunables/global>

/usr/sbin/ulogd {
  #include <abstractions/base>
  #include <abstractions/consoles>
  #include <abstractions/mysql>
  #include <abstractions/nameservice>

  capability net_admin,
  capability setgid,
  capability setuid,

  /etc/ulogd.conf r,
  /usr/sbin/ulogd mr,
  /usr/lib/ulogd/*.so mr,
  /usr/lib64/ulogd/*.so mr,
  # ulogd user home
  /var/lib/ulogd r,
  # new ulogd log dir
  /var/log/ulogd r,
  /var/log/ulogd/* rw,
  # old log files
  /var/log/ulogd.* rw,
}
openSUSE Build Service is sponsored by