Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package supportutils for openSUSE:Factory 
checked in at 2023-09-02 22:07:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/supportutils (Old)
 and      /work/SRC/openSUSE:Factory/.supportutils.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "supportutils"

Sat Sep  2 22:07:25 2023 rev:35 rq:1108455 version:3.1.26

Changes:
--------
--- /work/SRC/openSUSE:Factory/supportutils/supportutils.changes        
2023-06-01 17:19:50.718275940 +0200
+++ /work/SRC/openSUSE:Factory/.supportutils.new.1766/supportutils.changes      
2023-09-02 22:08:00.756034563 +0200
@@ -1,0 +2,19 @@
+Fri Sep  1 12:11:07 UTC 2023 - [email protected]
+
+- Changes in version 3.1.26
+  + powerpc plugin to collect the slots and active memory (bsc#1210950)
+  + A Cleartext Storage of Sensitive Information vulnerability CVE-2022-45154
+  + supportconfig: collect BPF information (pr#154)
+  + Added additional iscsi information (pr#155)
+
+-------------------------------------------------------------------
+Wed Jul 26 15:05:45 UTC 2023 - [email protected]
+
+- Added run time detection (bsc#1213127)
+
+-------------------------------------------------------------------
+Mon Jun 26 14:11:15 UTC 2023 - [email protected]
+
+- ha_info sle15 uses /var/log/pacemaker/ (pq#153)
+
+-------------------------------------------------------------------

Old:
----
  supportutils-3.1.25.tar.gz

New:
----
  supportutils-3.1.26.tar.gz

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

Other differences:
------------------
++++++ supportutils.spec ++++++
--- /var/tmp/diff_new_pack.emtkHZ/_old  2023-09-02 22:08:01.744069868 +0200
+++ /var/tmp/diff_new_pack.emtkHZ/_new  2023-09-02 22:08:01.748070011 +0200
@@ -23,7 +23,7 @@
 %define support_libdir /usr/lib/supportconfig
 
 Name:           supportutils
-Version:        3.1.25
+Version:        3.1.26
 Release:        0
 Summary:        Support Troubleshooting Tools
 License:        GPL-2.0-only
@@ -88,7 +88,6 @@
 %dir %{support_libdir}/resources
 %dir %{support_libdir}/plugins
 %dir %{_docdir}/%{name}
-%doc %{_docdir}/%{name}/*
 
 %if 0%{?suse_version} < 1500
 %doc %{_docdir}/%{name}/COPYING.GPLv2

++++++ supportutils-3.1.25.tar.gz -> supportutils-3.1.26.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/supportutils-3.1.25/bin/supportconfig 
new/supportutils-3.1.26/bin/supportconfig
--- old/supportutils-3.1.25/bin/supportconfig   2023-05-31 18:55:46.888130519 
+0200
+++ new/supportutils-3.1.26/bin/supportconfig   2023-08-17 17:04:55.241837269 
+0200
@@ -1,7 +1,7 @@
 #!/bin/bash
 
-SVER='3.1.15-11.6'
-SDATE='2023 05 31'
+SVER='3.1.15-11.9'
+SDATE='2023 Aug 09'
 
 ##############################################################################
 #  supportconfig - Gathers system troubleshooting information for SUSE Support
@@ -814,6 +814,42 @@
        echolog Done
 }
 
+bpf_info() {
+       printlog "BPF..."
+       test $OPTION_BPF -eq 0 && { echolog Excluded; return 1; }
+       OF=bpf.txt
+       addHeaderFile $OF
+       bpf_present=$(zgrep 'CONFIG_BPF=y' /proc/config.gz)
+       if [[ "$bpf_present" ]]; then
+               if rpm_verify $OF bpftool; then
+                       log_cmd $OF 'grep -E bpf_prog_[a-f0-9]{16} 
/proc/kallsyms'
+                       for bpfsub in prog map net
+                       do
+                               log_cmd $OF "bpftool $bpfsub list";
+                       done
+                       log_cmd $OF 'bpftool cgroup tree';
+                       log_cmd $OF 'bpftool struct_ops dump';
+
+                       for bpfid in $(bpftool prog list | grep -E '^[0-9]+:' | 
cut -d: -f1)
+                       do
+                               log_cmd $OF "bpftool prog dump xlated id $bpfid"
+                       done
+                       if (( $INCLUDE_NETWORK_NAMESPACES )); then
+                               NAMESPACES=$(ip netns list)
+                               if [[ -n "${NAMESPACES}" ]] ; then
+                                       ip netns list | while read NAMESPACE 
rest; do
+                                               log_cmd $OF "ip netns exec 
${NAMESPACE} bpftool net list"
+                                       done
+                               fi
+                       fi
+               else
+                       log_cmd $OF 'grep -E bpf_prog_[a-f0-9]{16} 
/proc/kallsyms'
+               fi
+               echolog Done
+       else
+               echolog Skipped
+       fi
+}
 smt_info() {
        printlog "SMT..."
        test $OPTION_SMT -eq 0 && { echolog Excluded; return 1; }
@@ -2304,9 +2340,15 @@
                log_cmd $OF 'systemctl status iscsid.service'
                log_cmd $OF 'systemctl status iscsid.socket'
                conf_files $OF "/etc/iscsi/initiatorname.iscsi 
/etc/iscsi/iscsid.conf"
-               log_cmd $OF 'iscsiadm -m session'
+               for MODE in discovery iface host session
+               do
+                       log_cmd $OF "iscsiadm -m $MODE"
+                       log_cmd $OF "iscsiadm -m $MODE -P 1"
+               done
+               log_cmd $OF 'iscsiadm -m fw'
                if log_cmd $OF 'iscsiadm -m node'
                then
+                       log_cmd $OF 'iscsiadm -m node -P 1'
                        NODES=$(iscsiadm -m node -P 1 | grep -i Target | awk 
'{print $2}')
                        IBIN='iscsiadm -m node -T'
                        for NODE in $NODES
@@ -3106,7 +3148,7 @@
                        fi
                        log_cmd $OF 'cibadmin -Q'
                        conf_files $OF $CURRENT_CIB $FILES
-                       FILES="/var/log/ha-log /var/log/pacemaker.log 
/var/log/ctdb/log.ctdb"
+                       FILES="/var/log/ha-log /var/log/pacemaker/pacemaker.log 
/var/log/ctdb/log.ctdb"
                        test $ADD_OPTION_LOGS -gt 0 && log_files $OF 0 $FILES 
|| log_files $OF $VAR_OPTION_LINE_COUNT $FILES
                        CORBIN="/usr/sbin/corosync-fplay"
                        if [[ -x $CORBIN ]]; then
@@ -4599,6 +4641,14 @@
                fi
        fi
        test $VAR_OPTION_SILENT -gt 0 && title >> $LOG/$BASIC_ENVF || title | 
tee -a $LOG/$BASIC_ENVF
+       if run_status; then
+               echo "Error: A supportconfig instance is already running, PID 
$(cat ${RUN_PID_FILE})"
+               echo
+               exit_code 10
+       else
+               run_status start
+       fi
+
        RPM_QA_FILE_PATH=$(mktemp ${LOG}/rpm_qa.XXXXXXXXXX)
        RPM_DIST_FILE_PATH=$(mktemp ${LOG}/rpm_dist.XXXXXXXXXX)
        RPM_QA_FILE=$(basename $RPM_QA_FILE_PATH)
@@ -4662,6 +4712,7 @@
        slert_info
        update_info
        nvme_info
+       bpf_info
        smt_info
        ha_info
        ocfs2_info
@@ -4768,6 +4819,7 @@
 test -n "$VAR_OPTION_GPG_UID" && encrypt_tarball
 upload_tarball
 remove_local_tarball
+run_status stop
 log2sys "END"
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/supportutils-3.1.25/bin/supportconfig.rc 
new/supportutils-3.1.26/bin/supportconfig.rc
--- old/supportutils-3.1.25/bin/supportconfig.rc        2023-05-31 
15:34:32.709312424 +0200
+++ new/supportutils-3.1.26/bin/supportconfig.rc        2023-08-17 
17:02:14.487983058 +0200
@@ -1,7 +1,7 @@
 ##############################################################################
 #  supportconfig.rc - Resource file for supportconfig
 #  Copyright (C) 2001-2023 SUSE LLC
-RCVER='3.1.11-35.4.1'
+RCVER='3.1.11-36.2'
 #
 #  Contains supporting functions and variables used by supportconfig and
 #  supportconfig plugins.
@@ -20,7 +20,7 @@
 #  You should have received a copy of the GNU General Public License
 #  along with this program; if not, see <http://www.gnu.org/licenses/>.
 #
-#  Modified: 2023 May 03
+#  Modified: 2023 Aug 09
 #  Authors/Contributors:
 #     Jason Record <[email protected]>
 #
@@ -37,6 +37,7 @@
 OPTION_AUDIT=1
 OPTION_AUTOFS=1
 OPTION_BOOT=1
+OPTION_BPF=1
 OPTION_BTRFS=1
 OPTION_DAEMONS=1
 OPTION_CIMOM=1
@@ -191,6 +192,9 @@
 PROC_DIRS_DEPTH_ONE_FILTER_OUT="rt_acct$|/sched_domain/"
 
PROC_DIRS_DEPTH_FULL_FILTER_OUT="fs/binfmt_misc/register|net/ipv4/route/flush|net/ipv6/route/flush|vm/compact_memory|base_reachable_time|scan_unevictable_pages|/sched_domain/"
 
+RUN_VAR_DIR="/var/run/supportconfig"
+RUN_PID_FILE="${RUN_VAR_DIR}/supportconfig.pid"
+
 INCLUDE_NETWORK_NAMESPACES=1
 
 # These are minimum options and should never be unset.
@@ -220,6 +224,35 @@
        fi
 }
 
+run_status() {
+       [[ -d $RUN_VAR_DIR ]] || mkdir -p $RUN_VAR_DIR
+       case $1 in
+       "start")
+               echo $$ > $RUN_PID_FILE
+               chmod 644 $RUN_PID_FILE
+               RC=0
+               ;;
+       "stop")
+               rm -f $RUN_PID_FILE
+               RC=1
+               ;;
+       *)
+               if [[ -s $RUN_PID_FILE ]]; then
+                       RUN_PROC_DIR="/proc/$(cat $RUN_PID_FILE)"
+                       if [[ -d $RUN_PROC_DIR ]]; then
+                               RC=0
+                       else
+                               rm -f $RUN_PID_FILE
+                               RC=1
+                       fi
+               else
+                       RC=1
+               fi
+               ;;
+       esac
+       return $RC
+}
+
 wait_trace_on() {
        if (( $VAR_OPTION_WAIT_TRACE )); then
                OPT=$1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/supportutils-3.1.25/spec/supportutils.changes 
new/supportutils-3.1.26/spec/supportutils.changes
--- old/supportutils-3.1.25/spec/supportutils.changes   2023-06-01 
06:30:44.360117473 +0200
+++ new/supportutils-3.1.26/spec/supportutils.changes   2023-09-01 
14:12:54.309076298 +0200
@@ -1,4 +1,23 @@
 -------------------------------------------------------------------
+Fri Sep  1 12:11:07 UTC 2023 - [email protected]
+
+- Changes in version 3.1.26
+  + powerpc plugin to collect the slots and active memory (bsc#1210950)
+  + A Cleartext Storage of Sensitive Information vulnerability CVE-2022-45154
+  + supportconfig: collect BPF information (pr#154)
+  + Added additional iscsi information (pr#155)
+
+-------------------------------------------------------------------
+Wed Jul 26 15:05:45 UTC 2023 - [email protected]
+
+- Added run time detection (bsc#1213127)
+
+-------------------------------------------------------------------
+Mon Jun 26 14:11:15 UTC 2023 - [email protected]
+
+- ha_info sle15 uses /var/log/pacemaker/ (pq#153)
+
+-------------------------------------------------------------------
 Thu Jun  1 04:29:14 UTC 2023 - [email protected]
 
 - Changes for supportutils version 3.1.25
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/supportutils-3.1.25/spec/supportutils.spec 
new/supportutils-3.1.26/spec/supportutils.spec
--- old/supportutils-3.1.25/spec/supportutils.spec      2023-06-01 
06:30:47.808150242 +0200
+++ new/supportutils-3.1.26/spec/supportutils.spec      2023-09-01 
14:12:59.369133685 +0200
@@ -23,7 +23,7 @@
 %define support_libdir /usr/lib/supportconfig
 
 Name:           supportutils
-Version:        3.1.25
+Version:        3.1.26
 Release:        0
 Summary:        Support Troubleshooting Tools
 License:        GPL-2.0-only
@@ -88,7 +88,6 @@
 %dir %{support_libdir}/resources
 %dir %{support_libdir}/plugins
 %dir %{_docdir}/%{name}
-%doc %{_docdir}/%{name}/*
 
 %if 0%{?suse_version} < 1500
 %doc %{_docdir}/%{name}/COPYING.GPLv2

Reply via email to