firejail/etc/profile-a-l/gnome-system-log.profile
rusty-snake d8d97acbd9 Add ld.so.preload to all private-etc lines
Command:

    sed -i -E "s/^private-etc /private-etc ld.so.preload,/" \
        $(grep -LE "^private-etc .*ld.so.preload" etc/profile-*/*) \
        && python3 contrib/sort.py etc/profile-*/*
2021-09-18 22:57:55 +02:00

56 lines
1.3 KiB
Text

# Firejail profile for gnome-system-log
# Description: View your system logs
# This file is overwritten after every install/update
# Persistent local customizations
include gnome-system-log.local
# Persistent global definitions
include globals.local
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 /var/log
include whitelist-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc
apparmor
caps.drop all
ipc-namespace
# net none - breaks dbus
no3d
nodvd
# When using 'volatile' storage (https://www.freedesktop.org/software/systemd/man/journald.conf.html),
# put 'ignore nogroups' and 'ignore noroot' in your gnome-system-log.local.
nogroups
noinput
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol unix
seccomp
shell none
disable-mnt
private-bin gnome-system-log
private-cache
private-dev
private-etc alternatives,fonts,ld.so.preload,localtime,machine-id
private-lib
private-tmp
writable-var-log
# dbus-user none
# dbus-system none
memory-deny-write-execute
# Add 'ignore read-only ${HOME}' to your gnome-system-log.local if you export logs to a file under your ${HOME}.
read-only ${HOME}