aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/profile-a-l/gnome-logs.profile42
-rw-r--r--etc/profile-a-l/gnome-system-log.profile48
-rw-r--r--etc/profile-a-l/journal-viewer.profile50
-rw-r--r--etc/profile-m-z/profile-m-z/profile-m-z/system-log-common.profile60
4 files changed, 72 insertions, 128 deletions
diff --git a/etc/profile-a-l/gnome-logs.profile b/etc/profile-a-l/gnome-logs.profile
index 61f4f4107..4d2681fbc 100644
--- a/etc/profile-a-l/gnome-logs.profile
+++ b/etc/profile-a-l/gnome-logs.profile
@@ -6,49 +6,15 @@ include gnome-logs.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9include disable-common.inc 9whitelist /usr/share/gnome-logs
10include disable-devel.inc
11include disable-exec.inc
12include disable-interpreters.inc
13include disable-programs.inc
14include disable-shell.inc
15include disable-xdg.inc
16 10
17whitelist /var/log/journal
18include whitelist-runuser-common.inc
19include whitelist-usr-share-common.inc
20include whitelist-var-common.inc
21
22apparmor
23caps.drop all
24ipc-namespace
25net none
26no3d
27nodvd
28noinput
29nonewprivs
30nosound
31notv
32nou2f
33novideo
34protocol unix
35seccomp
36tracelog
37
38disable-mnt
39private-bin gnome-logs 11private-bin gnome-logs
40private-cache
41private-dev
42private-etc
43private-lib gdk-pixbuf-2.*,gio,gvfs/libgvfscommon.so,libgconf-2.so.*,librsvg-2.so.* 12private-lib gdk-pixbuf-2.*,gio,gvfs/libgvfscommon.so,libgconf-2.so.*,librsvg-2.so.*
44private-tmp
45writable-var-log
46 13
47dbus-user filter 14dbus-user filter
48dbus-user.own org.gnome.Logs 15dbus-user.own org.gnome.Logs
49dbus-user.talk ca.desrt.dconf 16dbus-user.talk ca.desrt.dconf
50dbus-system none 17ignore dbus-user none
51 18
52# Add 'ignore read-only ${HOME}' to your gnome-logs.local if you export logs to a file under your ${HOME}. 19# Redirect
53read-only ${HOME} 20include system-log-common.profile
54restrict-namespaces
diff --git a/etc/profile-a-l/gnome-system-log.profile b/etc/profile-a-l/gnome-system-log.profile
index b3bc7499c..0d6116f4f 100644
--- a/etc/profile-a-l/gnome-system-log.profile
+++ b/etc/profile-a-l/gnome-system-log.profile
@@ -6,51 +6,13 @@ include gnome-system-log.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9include disable-common.inc 9# 'net none' breaks dbus
10include disable-devel.inc 10ignore net none
11include disable-exec.inc
12include disable-interpreters.inc
13include disable-programs.inc
14include disable-shell.inc
15include disable-xdg.inc
16 11
17whitelist /var/log
18include whitelist-common.inc
19include whitelist-usr-share-common.inc
20include whitelist-var-common.inc
21
22apparmor
23caps.drop all
24ipc-namespace
25#net none # breaks dbus
26no3d
27nodvd
28# When using 'volatile' storage (https://www.freedesktop.org/software/systemd/man/journald.conf.html),
29# put 'ignore nogroups' and 'ignore noroot' in your gnome-system-log.local.
30nogroups
31noinput
32nonewprivs
33noroot
34nosound
35notv
36nou2f
37novideo
38protocol unix
39seccomp
40
41disable-mnt
42private-bin gnome-system-log 12private-bin gnome-system-log
43private-cache
44private-dev
45private-etc
46private-lib 13private-lib
47private-tmp
48writable-var-log
49
50#dbus-user none
51#dbus-system none
52 14
53memory-deny-write-execute 15memory-deny-write-execute
54# Add 'ignore read-only ${HOME}' to your gnome-system-log.local if you export logs to a file under your ${HOME}. 16
55read-only ${HOME} 17# Redirect
56restrict-namespaces 18include system-log-common.profile
diff --git a/etc/profile-a-l/journal-viewer.profile b/etc/profile-a-l/journal-viewer.profile
index f73595fb1..eb007b765 100644
--- a/etc/profile-a-l/journal-viewer.profile
+++ b/etc/profile-a-l/journal-viewer.profile
@@ -9,60 +9,16 @@ include globals.local
9noblacklist ${HOME}/.cache/journal-viewer 9noblacklist ${HOME}/.cache/journal-viewer
10noblacklist ${HOME}/.local/share/com.vmingueza.journal-viewer 10noblacklist ${HOME}/.local/share/com.vmingueza.journal-viewer
11 11
12include disable-common.inc
13include disable-devel.inc
14include disable-exec.inc
15include disable-interpreters.inc
16include disable-proc.inc
17include disable-programs.inc
18include disable-shell.inc
19include disable-xdg.inc
20
21mkdir ${HOME}/.cache/journal-viewer 12mkdir ${HOME}/.cache/journal-viewer
22mkdir ${HOME}/.local/share/com.vmingueza.journal-viewer 13mkdir ${HOME}/.local/share/com.vmingueza.journal-viewer
23whitelist ${HOME}/.cache/journal-viewer 14whitelist ${HOME}/.cache/journal-viewer
24whitelist ${HOME}/.local/share/com.vmingueza.journal-viewer 15whitelist ${HOME}/.local/share/com.vmingueza.journal-viewer
25whitelist /run/log/journal
26whitelist /var/log/journal
27include whitelist-common.inc
28include whitelist-run-common.inc
29include whitelist-runuser-common.inc
30include whitelist-usr-share-common.inc
31include whitelist-var-common.inc
32
33apparmor
34caps.drop all
35ipc-namespace
36net none
37no3d
38nodvd
39nogroups
40noinput
41nonewprivs
42noprinters
43noroot
44nosound
45notv
46nou2f
47novideo
48protocol unix
49seccomp
50seccomp.block-secondary
51tracelog
52 16
53disable-mnt
54private-bin journal-viewer 17private-bin journal-viewer
55private-cache
56private-dev
57private-etc machine-id
58private-lib webkit2gtk-* 18private-lib webkit2gtk-*
59private-tmp
60 19
61dbus-user none
62dbus-system none
63
64restrict-namespaces
65read-only ${HOME}
66read-write ${HOME}/.cache/journal-viewer 20read-write ${HOME}/.cache/journal-viewer
67read-write ${HOME}/.local/share/com.vmingueza.journal-viewer 21read-write ${HOME}/.local/share/com.vmingueza.journal-viewer
68writable-var-log 22
23# Redirect
24include system-log-common.profile
diff --git a/etc/profile-m-z/profile-m-z/profile-m-z/system-log-common.profile b/etc/profile-m-z/profile-m-z/profile-m-z/system-log-common.profile
new file mode 100644
index 000000000..dda8bdc47
--- /dev/null
+++ b/etc/profile-m-z/profile-m-z/profile-m-z/system-log-common.profile
@@ -0,0 +1,60 @@
1# Firejail profile for system-log-common
2# Description: Common profile for GUI system log viewers
3# This file is overwritten after every install/update
4# Persistent local customizations
5include system-log-common.local
6# Persistent global definitions
7# added by caller profile
8#include globals.local
9
10include disable-common.inc
11include disable-devel.inc
12include disable-exec.inc
13include disable-interpreters.inc
14include disable-proc.inc
15include disable-programs.inc
16include disable-shell.inc
17include disable-xdg.inc
18
19whitelist /run/log/journal
20whitelist /var/log/journal
21include whitelist-common.inc
22include whitelist-run-common.inc
23include whitelist-runuser-common.inc
24include whitelist-usr-share-common.inc
25include whitelist-var-common.inc
26
27apparmor
28caps.drop all
29ipc-namespace
30net none
31no3d
32nodvd
33#nogroups
34noinput
35nonewprivs
36noprinters
37#noroot
38nosound
39notv
40nou2f
41novideo
42protocol unix
43seccomp
44seccomp.block-secondary
45tracelog
46
47disable-mnt
48private-cache
49private-dev
50private-etc machine-id
51private-tmp
52
53dbus-user none
54dbus-system none
55
56restrict-namespaces
57# Add 'ignore read-only ${HOME}' to your system-log-common.local
58# if you export logs to a file under your ${HOME}.
59read-only ${HOME}
60writable-var-log