mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #221] a kmail profile #155
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#155
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Jan 12, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/221
kmail is not trivial to set up, because it calls akonadi in order to function. So bellow, i propose a profile, the best i could make it. (the commented out parts, definitely brake it). Launching links and encrypting messages worked.
kmail profile
noblacklist ${HOME}/.gnupg
include /etc/firejail/disable-mgmt.inc
include /etc/firejail/disable-secret.inc
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
blacklist ${HOME}/.pki/nssdb
blacklist ${HOME}/.lastpass
blacklist ${HOME}/.keepassx
blacklist ${HOME}/.password-store
blacklist ${HOME}/.wine
caps.drop all
seccomp
protocol unix,inet,inet6
netfilter
noroot
tracelog
@netblue30 commented on GitHub (Jan 12, 2016):
Thanks, I'll put it in.
@netblue30 commented on GitHub (Jan 14, 2016):
I added the profile, you'll find it in /etc/firejail/kmail.profile, thanks!
@ghost commented on GitHub (Jan 14, 2016):
beh... i messed up. Actually i had akonadi not to launch on start up to save memory XD .You could have said so, that there's something strange here :P
Just mention in a comment, that it needs akonadi to launch before kmail, easily scripted with "akonadictl start ; sleep 2 ; firejail kmail". And also "akonadictl stop", when you want it to shut-down.
Normally it is launched at start up. They are also some other akonadi apps that might confuse some users.