From 1e7f2b14fb49338b57c2ad91c9f883ae0f84b4e3c13167f3cea729a78820b123 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Wed, 12 Apr 2023 17:37:10 +0000 Subject: [PATCH] - add configuration files for nrpe and sudo: + sudoers_check_bind9 - allowing to execute nrpe check as root + nrpe_check_bind9 - nrpe check - add hard requirement for sudo - add soft requirement for nrpe OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=102 --- ...ng-plugins-1.4.6-Makefile_-_no_chown.patch | 28 ------------------- monitoring-plugins.changes | 8 +++++- 2 files changed, 7 insertions(+), 29 deletions(-) delete mode 100644 monitoring-plugins-1.4.6-Makefile_-_no_chown.patch diff --git a/monitoring-plugins-1.4.6-Makefile_-_no_chown.patch b/monitoring-plugins-1.4.6-Makefile_-_no_chown.patch deleted file mode 100644 index fbc5a0f..0000000 --- a/monitoring-plugins-1.4.6-Makefile_-_no_chown.patch +++ /dev/null @@ -1,28 +0,0 @@ -Index: monitoring-plugins-2.3.1/plugins-root/Makefile.am -=================================================================== ---- monitoring-plugins-2.3.1.orig/plugins-root/Makefile.am -+++ monitoring-plugins-2.3.1/plugins-root/Makefile.am -@@ -47,7 +47,6 @@ INSTALL_SUID = \ - echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$p"; \ - $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$p; \ - echo " chown root $(DESTDIR)$(libexecdir)/$$p"; \ -- chown root $(DESTDIR)$(libexecdir)/$$p; \ - echo " chmod $(setuid_root_mode) $(DESTDIR)$(libexecdir)/$$p"; \ - chmod $(setuid_root_mode) $(DESTDIR)$(libexecdir)/$$p; \ - done -@@ -66,11 +65,11 @@ install-exec-local: $(noinst_PROGRAMS) - && chmod $(setuid_root_mode) $$TMPFILE > /dev/null 2>&1 \ - && can_create_suid_root_executable=yes; \ - rm -f $$TMPFILE; \ -- if test $$can_create_suid_root_executable = yes; then \ -- $(INSTALL_SUID); \ -- else \ -- echo "WARNING: insufficient access; not installing setuid plugins"; \ -+ $(INSTALL_SUID); \ -+ if test $$can_create_suid_root_executable != yes; then \ -+ echo "WARNING: insufficient access; not installing plugins as setuid"; \ - echo "NOTE: to install setuid plugins, run 'make install-root' as root"; \ -+ echo "NOTE: or fix this in your packaging (like the specfile)"; \ - fi - - # /* Author Coreutils team sub-citation */ diff --git a/monitoring-plugins.changes b/monitoring-plugins.changes index a46902b..3c8d199 100644 --- a/monitoring-plugins.changes +++ b/monitoring-plugins.changes @@ -1,5 +1,11 @@ ------------------------------------------------------------------- -Thu Feb 2 17:11:00 UTC 2023 - Lars Vogdt -2.3.3 +Wed Apr 12 17:35:53 UTC 2023 - Lars Vogdt - 2.3.3 + +- finally remove monitoring-plugins-1.4.6-Makefile_-_no_chown.patch: + obsoleted by monitoring-plugins-2.3.3-root-plugins-Makefile_-_no_chown.patch + +------------------------------------------------------------------- +Thu Feb 2 17:11:00 UTC 2023 - Lars Vogdt - 2.3.3 - Update to 2.3.3 Enhancements