firejail/etc/profile-m-z/rhythmbox.profile
Kelvin M. Klann d35847f9a4
profiles: use only /usr/share/lua* (#6150)
To ensure that it includes luajit paths as well:

* /usr/share/lua
* /usr/share/luajit-2.1

And remove all entries of the same path without the wildcard, to avoid
redundancy.

Misc: The wildcard entries were added on commit 56b60dfd0 ("additional
Lua blacklisting (#3246)", 2020-02-24) and the entries without the
wildcard were partially removed on commit 721a984a5 ("Fix Lua in
disable-interpreters.inc", 2020-02-24).

This is a follow-up to #6128.

Reported-by: @pirate486743186
2024-01-08 11:56:27 +00:00

68 lines
1.6 KiB
Text

# Firejail profile for rhythmbox
# Description: Music player and organizer for GNOME
# This file is overwritten after every install/update
# Persistent local customizations
include rhythmbox.local
# Persistent global definitions
include globals.local
noblacklist ${MUSIC}
noblacklist ${HOME}/.cache/rhythmbox
noblacklist ${HOME}/.local/share/rhythmbox
# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc
# Allow lua (blacklisted by disable-interpreters.inc)
include allow-lua.inc
include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc
whitelist /usr/share/rhythmbox
whitelist /usr/share/lua*
whitelist /usr/share/libquvi-scripts
whitelist /usr/share/tracker
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc
apparmor
caps.drop all
netfilter
nogroups
noinput
nonewprivs
noroot
notv
nou2f
novideo
protocol unix,inet,inet6,netlink
seccomp
seccomp.block-secondary
tracelog
private-bin rhythmbox,rhythmbox-client
private-cache
private-dev
private-etc @tls-ca,@x11,python*
private-tmp
dbus-user filter
dbus-user.own org.gnome.Rhythmbox3
dbus-user.own org.mpris.MediaPlayer2.rhythmbox
dbus-user.own org.gnome.UPnP.MediaServer2.Rhythmbox
dbus-user.talk ca.desrt.dconf
dbus-user.talk org.gtk.vfs.*
dbus-user.talk org.freedesktop.Notifications
dbus-user.talk org.gnome.SettingsDaemon.MediaKeys
dbus-system filter
dbus-system.talk org.freedesktop.Avahi
restrict-namespaces