| 1 |
# Firejail profile for akonadi_control |
| 2 |
# Persistent local customizations |
| 3 |
include akonadi_control.local |
| 4 |
# Persistent global definitions |
| 5 |
include globals.local |
| 6 |
|
| 7 |
noblacklist ${HOME}/.cache/akonadi* |
| 8 |
noblacklist ${HOME}/.config/akonadi* |
| 9 |
noblacklist ${HOME}/.config/baloorc |
| 10 |
noblacklist ${HOME}/.config/emaildefaults |
| 11 |
noblacklist ${HOME}/.config/emailidentities |
| 12 |
noblacklist ${HOME}/.config/kmail2rc |
| 13 |
noblacklist ${HOME}/.config/mailtransports |
| 14 |
noblacklist ${HOME}/.config/specialmailcollectionsrc |
| 15 |
noblacklist ${HOME}/.local/share/akonadi* |
| 16 |
noblacklist ${HOME}/.local/share/apps/korganizer |
| 17 |
noblacklist ${HOME}/.local/share/contacts |
| 18 |
noblacklist ${HOME}/.local/share/local-mail |
| 19 |
noblacklist ${HOME}/.local/share/notes |
| 20 |
noblacklist ${RUNUSER}/akonadi |
| 21 |
noblacklist /sbin |
| 22 |
noblacklist /tmp/akonadi-* |
| 23 |
noblacklist /usr/sbin |
| 24 |
|
| 25 |
include disable-common.inc |
| 26 |
include disable-devel.inc |
| 27 |
include disable-exec.inc |
| 28 |
include disable-interpreters.inc |
| 29 |
include disable-programs.inc |
| 30 |
|
| 31 |
include whitelist-run-common.inc |
| 32 |
include whitelist-var-common.inc |
| 33 |
|
| 34 |
# disabled options below are not compatible with the apparmor profile for mysqld-akonadi. |
| 35 |
# this affects ubuntu and debian currently |
| 36 |
|
| 37 |
#apparmor |
| 38 |
caps.drop all |
| 39 |
ipc-namespace |
| 40 |
netfilter |
| 41 |
no3d |
| 42 |
nodvd |
| 43 |
nogroups |
| 44 |
noinput |
| 45 |
#nonewprivs |
| 46 |
noroot |
| 47 |
nosound |
| 48 |
notv |
| 49 |
nou2f |
| 50 |
novideo |
| 51 |
#protocol unix,inet,inet6,netlink |
| 52 |
#seccomp !io_destroy,!io_getevents,!io_setup,!io_submit,!ioprio_set |
| 53 |
tracelog |
| 54 |
|
| 55 |
private-dev |
| 56 |
#private-tmp # breaks programs that depend on akonadi |
| 57 |
|
| 58 |
#restrict-namespaces |