Hello community,

here is the log from the commit of package monitoring-plugins for 
openSUSE:Factory checked in at 2018-08-24 17:12:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/monitoring-plugins (Old)
 and      /work/SRC/openSUSE:Factory/.monitoring-plugins.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "monitoring-plugins"

Fri Aug 24 17:12:52 2018 rev:10 rq:631188 version:2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/monitoring-plugins/monitoring-plugins.changes    
2017-11-12 18:03:15.294833344 +0100
+++ 
/work/SRC/openSUSE:Factory/.monitoring-plugins.new/monitoring-plugins.changes   
    2018-08-24 17:13:45.350760216 +0200
@@ -1,0 +2,7 @@
+Fri Aug 10 00:48:01 CEST 2018 - [email protected]
+
+- copy usr.lib.nagios.plugins.check_procs as
+  usr.lib.nagios.plugins.check_procs.sle15 and use that for sle15
+  and above. "ptrace" to enable ptrace globally is needed here.
+
+-------------------------------------------------------------------

New:
----
  usr.lib.nagios.plugins.check_procs.sle15

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ monitoring-plugins.spec ++++++
--- /var/tmp/diff_new_pack.pFdAlj/_old  2018-08-24 17:13:46.002760993 +0200
+++ /var/tmp/diff_new_pack.pFdAlj/_new  2018-08-24 17:13:46.006760998 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package monitoring-plugins
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 Version:        2.2
 Release:        0
 Summary:        The Monitoring Plug-Ins
-License:        GPL-2.0+ and GPL-3.0
+License:        GPL-2.0-or-later AND GPL-3.0-only
 Group:          System/Monitoring
 Url:            http://monitoring-plugins.org/
 Source0:        %{name}-%{version}.tar.bz2
@@ -48,6 +48,7 @@
 Source32:       usr.lib.nagios.plugins.check_procs
 Source33:       usr.lib.nagios.plugins.check_swap
 Source34:       usr.lib.nagios.plugins.check_users
+Source35:       usr.lib.nagios.plugins.check_procs.sle15
 # PATCH-FIX-UPSTREAM Quote the options comming in from users (path names might 
contain whitespaces)
 Patch1:         %{name}-2.1.1-check_logfile.patch
 # PATCH-FIX-OPENSUSE do not use chown in Makefile (not possible when building 
as normal user)
@@ -1175,7 +1176,11 @@
 install -m 644 %{SOURCE25} %{buildroot}%{_sysconfdir}/apparmor.d/
 install -m 644 %{SOURCE30} %{buildroot}%{_sysconfdir}/apparmor.d/
 install -m 644 %{SOURCE31} %{buildroot}%{_sysconfdir}/apparmor.d/
+%if 0%{?suse_version} >= 1500
+install -m 644 %{SOURCE35} 
%{buildroot}%{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_procs
+%else
 install -m 644 %{SOURCE32} %{buildroot}%{_sysconfdir}/apparmor.d/
+%endif
 install -m 644 %{SOURCE33} %{buildroot}%{_sysconfdir}/apparmor.d/
 install -m 644 %{SOURCE34} %{buildroot}%{_sysconfdir}/apparmor.d/
 

++++++ usr.lib.nagios.plugins.check_procs.sle15 ++++++
#include <tunables/global>
/usr/lib/nagios/plugins/check_procs {
  #include <abstractions/nameservice>
  #include <abstractions/base>
  #include <abstractions/consoles>

  ptrace,

  /bin/ps rix,
  /proc/ r,
  /proc/** r,
  /usr/lib/nagios/plugins/check_procs mr,
}

Reply via email to