Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package supportutils for openSUSE:Factory checked in at 2024-01-11 21:05:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/supportutils (Old) and /work/SRC/openSUSE:Factory/.supportutils.new.21961 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "supportutils" Thu Jan 11 21:05:47 2024 rev:40 rq:1138139 version:3.2.5 Changes: -------- --- /work/SRC/openSUSE:Factory/supportutils/supportutils.changes 2023-12-18 22:57:36.879284771 +0100 +++ /work/SRC/openSUSE:Factory/.supportutils.new.21961/supportutils.changes 2024-01-11 21:06:17.349012263 +0100 @@ -1,0 +2,8 @@ +Thu Jan 11 14:01:52 UTC 2024 - jason.rec...@suse.com + +- Changes to version 3.2.5 + + Fixed smart disk error (bsc#1218282) + + Fixed ipvsadm logic error (bsc#1218324) + + Correctly detects Xen Dom0 (bsc#1218201) + +------------------------------------------------------------------- Old: ---- supportutils-3.2.4.tar.gz New: ---- supportutils-3.2.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ supportutils.spec ++++++ --- /var/tmp/diff_new_pack.vkHdEN/_old 2024-01-11 21:06:17.889032056 +0100 +++ /var/tmp/diff_new_pack.vkHdEN/_new 2024-01-11 21:06:17.893032203 +0100 @@ -18,7 +18,7 @@ %define support_libdir /usr/lib/supportconfig Name: supportutils -Version: 3.2.4 +Version: 3.2.5 Release: 0 Summary: Support Troubleshooting Tools License: GPL-2.0-only ++++++ supportutils-3.2.4.tar.gz -> supportutils-3.2.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.2.4/bin/supportconfig new/supportutils-3.2.5/bin/supportconfig --- old/supportutils-3.2.4/bin/supportconfig 2023-12-18 17:26:22.671033237 +0100 +++ new/supportutils-3.2.5/bin/supportconfig 2024-01-11 15:11:01.659559628 +0100 @@ -1,11 +1,11 @@ #!/bin/bash -SVER='3.2.0-13' -SDATE='2023 Dec 05' +SVER='3.2.0-16' +SDATE='2024 Jan 11' ############################################################################## # supportconfig - Gathers system troubleshooting information for SUSE Support -# Copyright (C) 2001-2023 SUSE LLC +# Copyright (C) 2001-2024 SUSE LLC # # Creates a tar ball to attach to the support case or send to support. # Collects comprehensive system information for troubleshooting and reducing @@ -1436,30 +1436,27 @@ fi # Xen Hypervisor - if egrep -iq "Hypervisor vendor.*Xen" <<< $LSCPU_OUT; then - NO_HYPER=0 - IDENT=$(egrep -i "Virtualization type" <<< $LSCPU_OUT | awk '{print $NF}') - log_write $OUT "Hypervisor: Xen" - case $IDENT in - 'none') - if systemctl is-enabled libvirtd.service &>/dev/null; then - log_write $OUT "Identity: Virtual Machine Server - Dom0" + if [[ -e /sys/hypervisor/type ]] && [[ -e /sys/hypervisor/uuid ]]; then + HYPER_TYPE=$(cat /sys/hypervisor/type | tr '[A-Z]' '[a-z]') + if [[ "$HYPER_TYPE" == "xen" ]]; then + NO_HYPER=0 + XEN_UUID=$(cat /sys/hypervisor/uuid | tr -d '-') + IDENT=$(egrep -i "Virtualization type" <<< $LSCPU_OUT | awk '{print $NF}') + log_write $OUT "Hypervisor: Xen" + if [[ $XEN_UUID =~ [[:alpha:]] ]]; then + log_write $OUT "Identity: Virtual Machine - DomU" else - log_write $OUT "Identity: libvirtd Disabled" + log_write $OUT "Identity: Virtual Machine Server - Dom0" fi - ;; - 'full') - log_write $OUT "Identity: Virtual Machine - DomU" - log_write $OUT "Type: Fully Virtualized" - ;; - 'para') - log_write $OUT "Identity: Virtual Machine - DomU" - log_write $OUT "Type: Para Virtualized" - ;; - *) - log_write $OUT "Identity: Unknown" - ;; - esac + case $IDENT in + 'full') + log_write $OUT "Type: Fully Virtualized" + ;; + 'para') + log_write $OUT "Type: Para Virtualized" + ;; + esac + fi fi # KVM Hypervisor @@ -1891,6 +1888,7 @@ IPVSADM_BIN=$(command -v ipvsadm) if [[ -x $IPVSADM_BIN ]]; then log_cmd $OF "${NS}${IPVSADM_BIN} -Ln" + fi IPSET_BIN=$(command -v ipset) if [[ -x $IPSET_BIN ]]; then @@ -1968,7 +1966,7 @@ done log_cmd $OF 'ls -lR --time-style=long-iso /dev/disk/' - log_cmd $OF 'ls -l --time-style=long-iso /dev/mapper/' + log_cmd $OF 'ls -l --time-style=long-iso /dev/mapper/' log_cmd $OF 'ls -l --time-style=long-iso /sys/block/' log_cmd $OF 'lslocks' log_cmd $OF 'ls -l /dev/disk/by-path/' @@ -3130,20 +3128,23 @@ addHeaderFile $OF if rpm_verify $OF smartmontools then + SMART_FOUND=0 log_cmd $OF 'systemctl status smartd.service' conf_files $OF /proc/partitions /etc/smartd.conf for DISK in $(cat /proc/partitions | grep -v ^m | grep -v ^$ | awk '{print $4}') do case $DISK in - sd[a-z]|sd[a-z][a-z]) log_cmd smartmon-$DISK "smartctl --all /dev/$DISK" ;; - hd[a-z]|hd[a-z][a-z]) log_cmd smartmon-$DISK "smartctl --all /dev/$DISK" ;; + sd[a-z]|sd[a-z][a-z]) log_cmd smartmon-$DISK "smartctl --all /dev/$DISK"; SMART_FOUND=1 ;; + hd[a-z]|hd[a-z][a-z]) log_cmd smartmon-$DISK "smartctl --all /dev/$DISK"; SMART_FOUND=1 ;; esac done - log_write $OF "#==[ Quick Status Check ]===========================#" - grep -i "^SMART overall" $LOG/smartmon-* | awk -F/ '{print $5}' >> $LOG/$OF - log_write $OF - cat $LOG/smartmon-* >> $LOG/$OF - rm -f $LOG/smartmon-* + if (( SMART_FOUND )); then + log_write $OF "#==[ Quick Status Check ]===========================#" + grep -i "^SMART overall" $LOG/smartmon-* | awk -F/ '{print $5}' >> $LOG/$OF + log_write $OF + cat $LOG/smartmon-* >> $LOG/$OF + rm -f $LOG/smartmon-* + fi echolog Done else echolog Skipped diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.2.4/bin/supportconfig.rc new/supportutils-3.2.5/bin/supportconfig.rc --- old/supportutils-3.2.4/bin/supportconfig.rc 2023-12-05 19:06:25.421913492 +0100 +++ new/supportutils-3.2.5/bin/supportconfig.rc 2024-01-11 15:11:01.659559628 +0100 @@ -1,6 +1,6 @@ ############################################################################## # supportconfig.rc - Resource file for supportconfig -# Copyright (C) 2001-2023 SUSE LLC +# Copyright (C) 2024 SUSE LLC RCVER='3.2.0-1' # # Contains supporting functions and variables used by supportconfig and diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.2.4/spec/supportutils.changes new/supportutils-3.2.5/spec/supportutils.changes --- old/supportutils-3.2.4/spec/supportutils.changes 2023-12-18 22:25:22.581324892 +0100 +++ new/supportutils-3.2.5/spec/supportutils.changes 2024-01-11 15:11:01.659559628 +0100 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Thu Jan 11 14:01:52 UTC 2024 - jason.rec...@suse.com + +- Changes to version 3.2.5 + + Fixed smart disk error (bsc#1218282) + + Fixed ipvsadm logic error (bsc#1218324) + + Correctly detects Xen Dom0 (bsc#1218201) + +------------------------------------------------------------------- Mon Dec 18 21:21:56 UTC 2023 - jason.rec...@suse.com - Changes in version 3.2.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.2.4/spec/supportutils.spec new/supportutils-3.2.5/spec/supportutils.spec --- old/supportutils-3.2.4/spec/supportutils.spec 2023-12-05 19:06:25.421913492 +0100 +++ new/supportutils-3.2.5/spec/supportutils.spec 2024-01-11 15:11:01.659559628 +0100 @@ -18,7 +18,7 @@ %define support_libdir /usr/lib/supportconfig Name: supportutils -Version: 3.2.4 +Version: 3.2.5 Release: 0 Summary: Support Troubleshooting Tools License: GPL-2.0-only