From dd55390120efe17550ddcec1b336d8c1c44806a4 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Sat, 23 Sep 2023 01:42:08 +0000 Subject: profiles: refactor log viewers (#5996) * profiles: refactor log viewers Introduces system-log-common.profile as a common profile for existing GUI log viewer applications. * system-log-common: enable no3d --- etc/profile-a-l/gnome-logs.profile | 42 ++++---------------------------------- 1 file changed, 4 insertions(+), 38 deletions(-) (limited to 'etc/profile-a-l/gnome-logs.profile') 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 # 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 /usr/share/gnome-logs -whitelist /var/log/journal -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 -noinput -nonewprivs -nosound -notv -nou2f -novideo -protocol unix -seccomp -tracelog - -disable-mnt private-bin gnome-logs -private-cache -private-dev -private-etc private-lib gdk-pixbuf-2.*,gio,gvfs/libgvfscommon.so,libgconf-2.so.*,librsvg-2.so.* -private-tmp -writable-var-log dbus-user filter dbus-user.own org.gnome.Logs dbus-user.talk ca.desrt.dconf -dbus-system none +ignore dbus-user none -# Add 'ignore read-only ${HOME}' to your gnome-logs.local if you export logs to a file under your ${HOME}. -read-only ${HOME} -restrict-namespaces +# Redirect +include system-log-common.profile -- cgit v1.2.3-70-g09d2