add sthortwave (#1139) and remove gjs from firecf…

…g.config (#3333).
This commit is contained in:
rusty-snake 2020-04-13 17:39:20 +02:00
parent 58f44a4b28
commit 2cbdc4399a
4 changed files with 55 additions and 2 deletions

View file

@ -501,6 +501,7 @@ blacklist ${HOME}/.local/share/QGIS
blacklist ${HOME}/.local/share/QMediathekView
blacklist ${HOME}/.local/share/QuiteRss
blacklist ${HOME}/.local/share/Ricochet
blacklist ${HOME}/.local/share/Shortwave
blacklist ${HOME}/.local/share/Steam
blacklist ${HOME}/.local/share/SuperHexagon
blacklist ${HOME}/.local/share/TelegramDesktop
@ -758,6 +759,7 @@ blacklist ${HOME}/.cache/Franz
blacklist ${HOME}/.cache/INRIA
blacklist ${HOME}/.cache/MusicBrainz
blacklist ${HOME}/.cache/QuiteRss
blacklist ${HOME}/.cache/Shortwave
blacklist ${HOME}/.cache/Tox
blacklist ${HOME}/.cache/Zeal
blacklist ${HOME}/.cache/agenda

50
etc/shortwave.profile Normal file
View file

@ -0,0 +1,50 @@
# Firejail profile for shortwave
# Description: Listen to internet radio
# This file is overwritten after every install/update
# Persistent local customizations
include shortwave.local
# Persistent global definitions
include globals.local
noblacklist ${HOME}/.cache/Shortwave
noblacklist ${HOME}/.local/share/Shortwave
include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-passwdmgr.inc
include disable-programs.inc
include disable-xdg.inc
mkdir ${HOME}/.cache/Shortwave
mkdir ${HOME}/.local/share/Shortwave
whitelist ${HOME}/.cache/Shortwave
whitelist ${HOME}/.local/share/Shortwave
whitelist /usr/share/shortwave
include whitelist-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc
apparmor
caps.drop all
netfilter
nodvd
nogroups
nonewprivs
noroot
notv
nou2f
novideo
protocol unix,inet,inet6
seccomp
shell none
tracelog
disable-mnt
private-bin shortwave
private-cache
private-dev
private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,dconf,fonts,gconf,group,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,machine-id,mime.types,nsswitch.conf,pango,passwd,pki,pulse,resolv.conf,ssl,X11,xdg
private-tmp

View file

@ -119,7 +119,7 @@ include globals.local
##mkfile PATH
#whitelist PATH
#include whitelist-common.inc
#GTK3 only: include whitelist-runuser-common.inc
#include whitelist-runuser-common.inc
#include whitelist-usr-share-common.inc
#include whitelist-var-common.inc

View file

@ -258,7 +258,7 @@ gist-paste
gitg
github-desktop
gitter
gjs
# gjs -- https://github.com/netblue30/firejail/issues/3333#issuecomment-612601102
globaltime
gmpc
gnome-2048
@ -601,6 +601,7 @@ seamonkey
seamonkey-bin
secret-tool
shellcheck
shortwave
shotcut
signal-cli
signal-desktop