feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-02-28 17:17:20 +00:00
parent 1c999ca921
commit 555b5e3c3f
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
43 changed files with 142 additions and 124 deletions

View file

@ -35,6 +35,7 @@ profile initd-kexec @{exec_path} {
/etc/default/kexec.d/ r,
include if exists <local/initd-kexec_run-parts>
}
profile systemctl {

View file

@ -10,10 +10,8 @@ include <tunables/global>
@{exec_path} = @{bin}/kerneloops-applet
profile kerneloops-applet @{exec_path} {
include <abstractions/base>
include <abstractions/gtk>
include <abstractions/fonts>
include <abstractions/fontconfig-cache-read>
include <abstractions/freedesktop.org>
include <abstractions/desktop>
@{exec_path} mr,
@ -21,14 +19,8 @@ profile kerneloops-applet @{exec_path} {
owner @{HOME}/.kerneloops rw,
owner @{HOME}/.Xauthority r,
owner /tmp/xauth-[0-9]*-_[0-9] r,
# When found a kernel OOPS make a tmp file and fill it with the OOPS message
/tmp/kerneloops.* rw,
# Fonts
/usr/share/poppler/cMap/Adobe-Japan2/ r,
include if exists <local/kerneloops-applet>
}

View file

@ -15,6 +15,7 @@ profile landscape-sysinfo.wrapper @{exec_path} {
@{sh_path} rix,
@{bin}/bc rix,
@{bin}/cat rix,
@{bin}/chmod rix,
@{bin}/cut rix,
@{bin}/date rix,
@{bin}/find rix,