07a11c242d
- add apparmor-profiles-samba-create-dirs.diff to allow samba to mkdir /var/run/samba and /var/cache/samba (bnc#856651) - add abstractions/samba to usr.sbin.winbindd profile - add capabilities ipc_lock and setuid to usr.sbin.winbindd profile (bnc#851131) - update dovecot profiles to support dovecot 2.x, and add profiles for the parts of dovecot that were not covered yet (bnc#851984) NOTE: Please adjust /etc/apparmor.d/tunables/dovecot to your needs. - %restart_on_update (in parser %postun) is "translated" to stop/start by the systemd wrapper, which removes AppArmor protection from running processes. Fixed by using a custom script instead (bnc#853019) NOTE: The %postun from the previously installed apparmor-parser package will remove AppArmor protection from running processes a last time. Run aa-status to get a list of processes you need to restart, or reboot your computer. - reload profiles in %post of the apparmor-profiles package OBS-URL: https://build.opensuse.org/request/show/212635 OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=69
28 lines
788 B
Plaintext
28 lines
788 B
Plaintext
# ------------------------------------------------------------------
|
|
#
|
|
# Copyright (C) 2013 Christian Boltz
|
|
#
|
|
# 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.
|
|
#
|
|
# ------------------------------------------------------------------
|
|
# vim: ft=apparmor
|
|
|
|
#include <tunables/global>
|
|
|
|
/usr/lib/dovecot/ssl-params {
|
|
#include <abstractions/base>
|
|
|
|
deny capability block_suspend,
|
|
|
|
capability setgid,
|
|
|
|
/usr/lib/dovecot/ssl-params mr,
|
|
/var/lib/dovecot/ssl-parameters.dat rw,
|
|
/var/lib/dovecot/ssl-parameters.dat.tmp rwk,
|
|
|
|
# Site-specific additions and overrides. See local/README for details.
|
|
#include <local/usr.lib.dovecot.ssl-params>
|
|
}
|