Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package monitoring-plugins-sar-perf for 
openSUSE:Factory checked in at 2021-04-29 22:46:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-sar-perf (Old)
 and      /work/SRC/openSUSE:Factory/.monitoring-plugins-sar-perf.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "monitoring-plugins-sar-perf"

Thu Apr 29 22:46:57 2021 rev:12 rq:889342 version:0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/monitoring-plugins-sar-perf/monitoring-plugins-sar-perf.changes
  2020-08-04 20:26:06.277056871 +0200
+++ 
/work/SRC/openSUSE:Factory/.monitoring-plugins-sar-perf.new.1947/monitoring-plugins-sar-perf.changes
        2021-04-29 22:53:37.245830989 +0200
@@ -1,0 +2,7 @@
+Thu Apr 22 12:25:03 UTC 2021 - Lars Vogdt <[email protected]>
+
+- include abstractions/bash in apparmor profile - otherwise 
+  the 'which iostat' command fails
+- reload the apparmor profile in postun to make the changes effective
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ monitoring-plugins-sar-perf.spec ++++++
--- /var/tmp/diff_new_pack.G0Mrlz/_old  2021-04-29 22:53:37.653829108 +0200
+++ /var/tmp/diff_new_pack.G0Mrlz/_new  2021-04-29 22:53:37.657829091 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package monitoring-plugins-sar-perf
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -66,6 +66,17 @@
 install -m755 %{SOURCE1} %{buildroot}/%{nagios_plugindir}/check_iostat
 install -Dm0644 %{SOURCE2} 
%{buildroot}/%{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_iostat
 
+%postun
+if [ "$YAST_IS_RUNNING" != "instsys" ]; then
+     if [ -x /sbin/apparmor_parser ]; then
+         if /usr/bin/systemctl is-active --quiet apparmor.service; then
+             /sbin/apparmor_parser -r -T -W  
%{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_iostat &> /dev/null || :
+         fi
+     else
+         echo "Could not reload the Apparmor profile: /sbin/apparmor_parser is 
missing or not executable."
+     fi
+fi
+
 %clean
 rm -rf %{buildroot}
 

++++++ usr.lib.nagios.plugins.check_iostat ++++++
--- /var/tmp/diff_new_pack.G0Mrlz/_old  2021-04-29 22:53:37.701828888 +0200
+++ /var/tmp/diff_new_pack.G0Mrlz/_new  2021-04-29 22:53:37.705828869 +0200
@@ -1,6 +1,7 @@
 #include <tunables/global>
 /usr/lib/nagios/plugins/check_iostat {
    #include <abstractions/base>
+   #include <abstractions/bash>
    #include <abstractions/consoles>
    #include <abstractions/perl>
    /usr/bin/iostat rix,

Reply via email to