New profile: journal-viewer (#5943)

This commit is contained in:
glitsj16 2023-08-10 09:09:53 +00:00 committed by GitHub
parent 9f648994e1
commit 3a088f1e69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 71 additions and 0 deletions

View file

@ -142,6 +142,7 @@ blacklist ${HOME}/.cache/inkscape
blacklist ${HOME}/.cache/inox
blacklist ${HOME}/.cache/io.github.lainsce.Notejot
blacklist ${HOME}/.cache/iridium
blacklist ${HOME}/.cache/journal-viewer
blacklist ${HOME}/.cache/kcmshell5
blacklist ${HOME}/.cache/kdenlive
blacklist ${HOME}/.cache/keepassxc
@ -901,6 +902,7 @@ blacklist ${HOME}/.local/share/cdprojektred
blacklist ${HOME}/.local/share/chatterino
blacklist ${HOME}/.local/share/clipit
blacklist ${HOME}/.local/share/com.github.johnfactotum.Foliate
blacklist ${HOME}/.local/share/com.vmingueza.journal-viewer
blacklist ${HOME}/.local/share/contacts
blacklist ${HOME}/.local/share/cor-games
blacklist ${HOME}/.local/share/data/Mendeley Ltd.

View file

@ -0,0 +1,68 @@
# Firejail profile for journal-viewer
# Description: Visualize systemd logs
# This file is overwritten after every install/update
# Persistent local customizations
include journal-viewer.local
# Persistent global definitions
include globals.local
noblacklist ${HOME}/.cache/journal-viewer
noblacklist ${HOME}/.local/share/com.vmingueza.journal-viewer
include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-proc.inc
include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc
mkdir ${HOME}/.cache/journal-viewer
mkdir ${HOME}/.local/share/com.vmingueza.journal-viewer
whitelist ${HOME}/.cache/journal-viewer
whitelist ${HOME}/.local/share/com.vmingueza.journal-viewer
whitelist /run/log/journal
whitelist /var/log/journal
include whitelist-common.inc
include whitelist-run-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc
apparmor
caps.drop all
ipc-namespace
net none
no3d
nodvd
nogroups
noinput
nonewprivs
noprinters
noroot
nosound
notv
nou2f
novideo
protocol unix
seccomp
seccomp.block-secondary
tracelog
disable-mnt
private-bin journal-viewer
private-cache
private-dev
private-etc machine-id
private-lib webkit2gtk-*
private-tmp
dbus-user none
dbus-system none
restrict-namespaces
read-only ${HOME}
read-write ${HOME}/.cache/journal-viewer
read-write ${HOME}/.local/share/com.vmingueza.journal-viewer
writable-var-log

View file

@ -432,6 +432,7 @@ jdownloader
jerry
jitsi
jitsi-meet-desktop
journal-viewer
jumpnbump
jumpnbump-menu
k3b