1
0

Accepting request 1166211 from home:oertel:branches:server:monitoring

- update apparmor profiles:
  - check_load: allow to read /run/systemd/sessions/1 while we
    still have to use "uptime" (upstream issue 1999)
  - check_disk: allow to read /proc/pid/mountinfo

OBS-URL: https://build.opensuse.org/request/show/1166211
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=122
This commit is contained in:
Lars Vogdt 2024-04-09 09:39:04 +00:00 committed by Git OBS Bridge
parent b25473109b
commit 63d0309470
3 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Apr 8 15:31:23 CEST 2024 - ro@suse.de
- update apparmor profiles:
- check_load: allow to read /run/systemd/sessions/1 while we
still have to use "uptime" (upstream issue 1999)
- check_disk: allow to read /proc/pid/mountinfo
-------------------------------------------------------------------
Tue Feb 27 15:19:55 UTC 2024 - Lars Vogdt <lars@linux-schulserver.de>

View File

@ -4,6 +4,7 @@
#include <abstractions/consoles>
#include <abstractions/nameservice>
/etc/mtab r,
@{PROC}/[0-9]*/mounts r,
@{PROC}/@{pid}/mounts r,
@{PROC}/@{pid}/mountinfo r,
/usr/lib/nagios/plugins/check_disk rm,
}

View File

@ -8,4 +8,5 @@
/proc/uptime r,
/proc/meminfo r,
/proc/loadavg r,
/run/systemd/sessions/1 r,
}