mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
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-*/*
56 lines
1.3 KiB
Text
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}
|