aboutsummaryrefslogtreecommitdiffstats
path: root/etc/mpDris2.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/mpDris2.profile')
-rw-r--r--etc/mpDris2.profile53
1 files changed, 53 insertions, 0 deletions
diff --git a/etc/mpDris2.profile b/etc/mpDris2.profile
new file mode 100644
index 000000000..7d551a96f
--- /dev/null
+++ b/etc/mpDris2.profile
@@ -0,0 +1,53 @@
1# Firejail profile for mpDris2
2# Description: MPRIS2 support for MPD
3# This file is overwritten after every install/update
4# Persistent local customizations
5include mpDris2.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/mpDris2
10
11# Allow python (blacklisted by disable-interpreters.inc)
12noblacklist ${PATH}/python2*
13noblacklist ${PATH}/python3*
14noblacklist /usr/lib/python2*
15noblacklist /usr/lib/python3*
16
17include disable-common.inc
18include disable-devel.inc
19include disable-interpreters.inc
20include disable-passwdmgr.inc
21include disable-programs.inc
22include disable-xdg.inc
23
24caps.drop all
25# machine-id breaks audio; it should work fine in setups where sound is not required
26machine-id
27netfilter
28no3d
29nodvd
30nogroups
31nonewprivs
32noroot
33nosound
34notv
35nou2f
36novideo
37protocol unix,inet,inet6
38seccomp
39shell none
40
41private-bin mpDris2,notify-send,python*
42private-cache
43private-dev
44private-etc alternatives,hosts,nsswitch.conf
45private-lib libgirepository-1.0.so.*,libnotify.so.*,libpython*,python2*,python3*
46private-tmp
47
48# memory-deny-write-execute - Breaks on Arch
49noexec ${HOME}
50noexec /tmp
51
52# mpDris2 will never write anything
53read-only ${HOME}