aboutsummaryrefslogtreecommitdiffstats
path: root/etc/disable-programs.inc
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2018-03-26 18:59:29 +0200
committerLibravatar smitsohu <smitsohu@gmail.com>2018-03-26 18:59:29 +0200
commit1bc84f3e53f66abf4ee246e89f20f72626a199de (patch)
treea805f3b7068bbddddaa4efc8dfab3c1d03f0421e /etc/disable-programs.inc
parentdbus.c (diff)
downloadfirejail-1bc84f3e53f66abf4ee246e89f20f72626a199de.tar.gz
firejail-1bc84f3e53f66abf4ee246e89f20f72626a199de.tar.zst
firejail-1bc84f3e53f66abf4ee246e89f20f72626a199de.zip
rework akonadi integration
the usr.sbin.mysqld-akonadi apparmor profile, enforced by default in ubuntu and debian testing (and probably opensuse), doesn't play well with a number of firejail options. the reason for this is that once the no_new_privs bit is set, apparmor profile transitions are forbidden. enforcing our own apparmor policy instead is also no solution, because these programs don't even start without d-bus. relaxing the kmail profile was necessary so that kmail can fire up akonadi itself, just in case akonadi has not been started earlier already by another program. this is always an issue when kmail is the only installed akonadi client, but there may be more circumstances. for reasons outlined above this doesn't help debian and ubuntu (opensuse?) users though :-/ a brief summary of the seccomp exceptions: chroot is needed for qt webengine, io_prioset for the akonadi indexing agent, io_getevents, io_submit, io_setup are needed for mysqld. when akonadi has an sqlite3 backend, less exceptions to the seccomp filter are necessary, but mysqld is the default. in the future all kontact suite profiles (itm only kmail, knotes) should probably be redirections to akonadi_control, but the issues with apparmor make this somewhat impractical for now (options like 'protocol' couldn't go to akonadi_control.local any more, if current kmail redirected to there).
Diffstat (limited to 'etc/disable-programs.inc')
-rw-r--r--etc/disable-programs.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index de88cbc24..96cc9b48c 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -349,7 +349,7 @@ blacklist ${HOME}/.local/share/SuperHexagon
349blacklist ${HOME}/.local/share/TelegramDesktop 349blacklist ${HOME}/.local/share/TelegramDesktop
350blacklist ${HOME}/.local/share/Terraria 350blacklist ${HOME}/.local/share/Terraria
351blacklist ${HOME}/.local/share/TpLogger 351blacklist ${HOME}/.local/share/TpLogger
352blacklist ${HOME}/.local/share/akonadi/* 352blacklist ${HOME}/.local/share/akonadi*
353blacklist ${HOME}/.local/share/akregator 353blacklist ${HOME}/.local/share/akregator
354blacklist ${HOME}/.local/share/aspyr-media 354blacklist ${HOME}/.local/share/aspyr-media
355blacklist ${HOME}/.local/share/baloo 355blacklist ${HOME}/.local/share/baloo
@@ -495,6 +495,7 @@ blacklist ${HOME}/.xpdfrc
495blacklist ${HOME}/.zoom 495blacklist ${HOME}/.zoom
496blacklist ${HOME}/Arduino 496blacklist ${HOME}/Arduino
497blacklist ${HOME}/wallet.dat 497blacklist ${HOME}/wallet.dat
498blacklist /tmp/akonadi-*
498blacklist /tmp/ssh-* 499blacklist /tmp/ssh-*
499 500
500# ~/.cache directory 501# ~/.cache directory