From 233e17263ae9656c95091f448b81995c9c9c29dec932ed94f95a3e4bca1f2f38 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Mon, 15 Apr 2019 13:54:09 +0000 Subject: [PATCH] Accepting request 694064 from home:cboltz:branches:server:monitoring - update AppArmor profiles for usrMerge (related to boo#1132350) - grep in check_cups - ps in check_procs and check_procs.sle15 Note: ps currently still lives in /bin/, but also allowing /usr/bin/ to be prepared can't hurt ;-) OBS-URL: https://build.opensuse.org/request/show/694064 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=61 --- monitoring-plugins.changes | 7 +++++++ usr.lib.nagios.plugins.check_cups | 2 +- usr.lib.nagios.plugins.check_procs | 2 +- usr.lib.nagios.plugins.check_procs.sle15 | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/monitoring-plugins.changes b/monitoring-plugins.changes index ff54bf9..4bfa5f2 100644 --- a/monitoring-plugins.changes +++ b/monitoring-plugins.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Apr 14 15:57:26 UTC 2019 - Christian Boltz + +- update AppArmor profiles for usrMerge (related to boo#1132350) + - grep in check_cups + - ps in check_procs and check_procs.sle15 + ------------------------------------------------------------------- Fri Apr 12 14:20:08 CEST 2019 - ro@suse.de diff --git a/usr.lib.nagios.plugins.check_cups b/usr.lib.nagios.plugins.check_cups index efc55cd..11b47ef 100644 --- a/usr.lib.nagios.plugins.check_cups +++ b/usr.lib.nagios.plugins.check_cups @@ -11,7 +11,7 @@ network inet stream, /{usr/,}bin/bash rix, - /bin/grep rix, + /{usr/,}bin/grep rix, /{usr/,}bin/which rix, /{usr/,}bin/lpstat rix, /{usr/,}bin/basename rix, diff --git a/usr.lib.nagios.plugins.check_procs b/usr.lib.nagios.plugins.check_procs index d0bd880..95a8d32 100644 --- a/usr.lib.nagios.plugins.check_procs +++ b/usr.lib.nagios.plugins.check_procs @@ -6,7 +6,7 @@ capability sys_ptrace, - /bin/ps rix, + /{usr/,}bin/ps rix, /proc/ r, /proc/** r, /usr/lib/nagios/plugins/check_procs mr, diff --git a/usr.lib.nagios.plugins.check_procs.sle15 b/usr.lib.nagios.plugins.check_procs.sle15 index fe1465a..7bc5ebd 100644 --- a/usr.lib.nagios.plugins.check_procs.sle15 +++ b/usr.lib.nagios.plugins.check_procs.sle15 @@ -7,7 +7,7 @@ ptrace, ptrace (read) peer=unconfined, - /bin/ps rix, + /{usr/,}bin/ps rix, /proc/ r, /proc/** r, /usr/lib/nagios/plugins/check_procs mr,