From 0ef023c7319f7bf398250dac2938b870b95ac4cb1c6e093e642c3cb2b221e7ba Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Tue, 7 Jul 2020 15:29:46 +0000 Subject: [PATCH 1/3] include a comment why the check needs to read nsswitch.conf and passwd OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=29 --- usr.lib.nagios.plugins.check_iostat | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/usr.lib.nagios.plugins.check_iostat b/usr.lib.nagios.plugins.check_iostat index c10ff90..f61ab6b 100644 --- a/usr.lib.nagios.plugins.check_iostat +++ b/usr.lib.nagios.plugins.check_iostat @@ -14,8 +14,10 @@ /proc/diskstats r, /proc/uptime r, / r, - /etc/nsswitch.conf r, - /etc/passwd r, /etc/sysstat/sysstat.ioconf r, + # once the service tries to lookup which user is + # invoking the programm, it needs access to the + # following files + /etc/nsswitch.conf r, + /etc/passwd r, } - From 2c395551ed45e9332bc610f4d4c3a98bf465d6362f796db67c33300462af3d97 Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Tue, 14 Jul 2020 19:48:04 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=30 --- monitoring-plugins-sar-perf.changes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/monitoring-plugins-sar-perf.changes b/monitoring-plugins-sar-perf.changes index 29bdb12..752a9f7 100644 --- a/monitoring-plugins-sar-perf.changes +++ b/monitoring-plugins-sar-perf.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jul 14 19:47:32 UTC 2020 - Andreas Stieger + +- update AppArmor profiles to include a comment why the check + needs to read nsswitch.conf and passwd + ------------------------------------------------------------------- Sun May 31 13:31:20 UTC 2020 - Christian Boltz From 8d326ca04b288ca9d35d516f5581ca5911a4e1f9fbcdc38629d1d5f11988c6c6 Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Tue, 14 Jul 2020 19:50:08 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=31 --- monitoring-plugins-sar-perf.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitoring-plugins-sar-perf.changes b/monitoring-plugins-sar-perf.changes index 752a9f7..03162e1 100644 --- a/monitoring-plugins-sar-perf.changes +++ b/monitoring-plugins-sar-perf.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Tue Jul 14 19:47:32 UTC 2020 - Andreas Stieger +Tue Jul 07 15:29:46 UTC 2020 - lars@linux-schulserver.de - update AppArmor profiles to include a comment why the check needs to read nsswitch.conf and passwd