Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package supportutils for openSUSE:Factory checked in at 2021-04-23 17:49:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/supportutils (Old) and /work/SRC/openSUSE:Factory/.supportutils.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "supportutils" Fri Apr 23 17:49:38 2021 rev:22 rq:886776 version:3.1.15 Changes: -------- --- /work/SRC/openSUSE:Factory/supportutils/supportutils.changes 2021-03-29 18:21:02.842217392 +0200 +++ /work/SRC/openSUSE:Factory/.supportutils.new.12324/supportutils.changes 2021-04-23 17:49:40.834696681 +0200 @@ -1,0 +2,19 @@ +Mon Apr 19 17:05:13 UTC 2021 - Jason Record <[email protected]> + +- Additions to version 3.1.15 + + Checks package signatures in rpm.txt (bsc#1021918) + + Optimize find (bsc#1184912) +- Using zypper --xmlout (bsc#1181351) +- Error fix for sysfs.txt (bsc#1089870) + +------------------------------------------------------------------- +Thu Apr 15 18:14:10 UTC 2021 - Jason Record <[email protected]> + +- Additions to version 3.1.15 + + Added drbd-overview to drbd.txt + + Added list-timers to systemd.txt (bsc#1169348) + + Including nfs4 in search (bsc#1184829) +- Minor: Fix a typo (executible -> executable) #99 +- Changed minor wording to loaded module + +------------------------------------------------------------------- Old: ---- supportutils-3.1.14.tar.gz New: ---- supportutils-3.1.15.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ supportutils.spec ++++++ --- /var/tmp/diff_new_pack.YE5Rbf/_old 2021-04-23 17:49:41.214697335 +0200 +++ /var/tmp/diff_new_pack.YE5Rbf/_new 2021-04-23 17:49:41.218697342 +0200 @@ -1,7 +1,7 @@ # # spec file for package supportutils # -# Copyright (c) 2018-2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018-2021 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 @@ -19,7 +19,7 @@ %define support_libdir /usr/lib/supportconfig Name: supportutils -Version: 3.1.14 +Version: 3.1.15 Release: 0 Summary: Support Troubleshooting Tools License: GPL-2.0-only ++++++ supportutils-3.1.14.tar.gz -> supportutils-3.1.15.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.1.14/bin/scplugin.rc new/supportutils-3.1.15/bin/scplugin.rc --- old/supportutils-3.1.14/bin/scplugin.rc 2021-02-04 22:17:07.444181909 +0100 +++ new/supportutils-3.1.15/bin/scplugin.rc 2021-04-15 18:53:05.494941690 +0200 @@ -89,7 +89,7 @@ EXIT_STATUS=$? else echo "# $CMDLINE_ORIG" - echo "ERROR: Command not found or not executible" + echo "ERROR: Command not found or not executable" EXIT_STATUS=1 fi echo diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.1.14/bin/supportconfig new/supportutils-3.1.15/bin/supportconfig --- old/supportutils-3.1.14/bin/supportconfig 2021-03-19 17:42:38.181233776 +0100 +++ new/supportutils-3.1.15/bin/supportconfig 2021-04-19 19:20:58.071211757 +0200 @@ -1,7 +1,7 @@ #!/bin/bash -SVER='3.1.11-4' -SDATE='2021 03 11' +SVER='3.1.11-14' +SDATE='2021 04 19' ############################################################################## # supportconfig - Gathers system troubleshooting information for SUSE Support @@ -464,6 +464,11 @@ rpm -qa --queryformat "%-35{NAME} %-35{DISTRIBUTION} %{VERSION}-%{RELEASE}\n" | sort -k 1,2 -t " " -i >> $LOGFILE 2>&1 log_write $RPMFILE log_cmd $RPMFILE "rpm -qa --last" + log_write $RPMFILE "#==[ Command ]======================================#" + log_write $RPMFILE '# rpm -qa --queryformat "%{SIGPGP:pgpsig} %-35{VENDOR} %{NAME}-%{VERSION}-%{RELEASE}\n" | sort -k 11 -t " " -i' + printf "%-63s %-35s %s\n" SIGNATURE VENDOR PACKAGE >> $LOGFILE + rpm -qa --queryformat "%{SIGPGP:pgpsig} %-35{VENDOR} %{NAME}-%{VERSION}-%{RELEASE}\n" | sort -k 11 -t " " -i >> $LOGFILE 2>&1 + log_write $RPMFILE # Jul 12, 2018 ; Added by Ahmad AL Zayed to get a list of RPM DB Backups RETURN=$(grep RPMDB_BACKUP_DIR /etc/sysconfig/backup 2>/dev/null | grep -v "^#" | cut -d= -f2 | tr -d "\"") [[ -d $RETURN ]] && { log_cmd $RPMFILE "ls -ltr $RETURN" ;} @@ -505,7 +510,7 @@ for FILE in $LIST do if [ -d $FILE ]; then - FILES="$FILES $(find -L $FILE -type f)" + FILES="$FILES $(find $FILE -type f)" else FILES="$FILES $FILE" fi @@ -607,7 +612,7 @@ FILES="/etc/auditd.conf /etc/audit.rules" fi conf_files $OF $FILES - FILES=$(find -L /var/log/audit/ -type f | egrep -v "/ltaudit/" | grep log$) + FILES=$(find /var/log/audit/ -type f | egrep -v "/ltaudit/" | grep log$) test $ADD_OPTION_LOGS -gt 0 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES echolog Done else @@ -640,7 +645,7 @@ if rpm -q perl-Bootloader &> /dev/null; then rpm_verify $OF perl-Bootloader fi - test -d /var/log/YaST2 && FILES=$(find -L /var/log/YaST2/ -type f | egrep -v "_dev_|\.tbz$|\.tgz$|\.gz$|\.bz2$|\.zip$") || unset FILES + test -d /var/log/YaST2 && FILES=$(find /var/log/YaST2/ -type f | egrep -v "_dev_|\.tbz$|\.tgz$|\.gz$|\.bz2$|\.zip$") || unset FILES conf_files $OF /etc/youservers /etc/sysconfig/onlineupdate /etc/wgetrc log_files $OF 0 /var/log/pbl.log (( ADD_OPTION_MAXYAST > 0 )) && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES @@ -682,9 +687,9 @@ ELILOFILE=$(rpm -ql elilo | grep elilo.efi) ELILODIR=$(dirname $ELILOFILE) log_cmd $OF "ls -l --time-style=long-iso $ELILODIR" - FILES="$(find -L /boot/ -type f 2>/dev/null | grep elilo.[conf,cfg]) $(find -L /etc/ -type f 2>/dev/null | grep elilo.[conf,cfg])" + FILES="$(find /boot/ -type f 2>/dev/null | grep elilo.[conf,cfg]) $(find -L /etc/ -type f 2>/dev/null | grep elilo.[conf,cfg])" conf_files $OF $FILES - log_cmd $OF "cksum $(ls -1 $ELILOFILE) $(find -L /boot/ -type f 2>/dev/null | grep elilo.efi)" + log_cmd $OF "cksum $(ls -1 $ELILOFILE) $(find /boot/ -type f -name 'elilo.efi' 2>/dev/null)" fi if [[ -x /usr/sbin/bootlist ]]; then log_cmd $OF 'bootlist -m normal -o' @@ -705,8 +710,8 @@ conf_files $OF /proc/cmdline /etc/sysconfig/kernel $FILES /etc/init.d/boot.local /etc/init.d/before.local /etc/init.d/after.local /etc/init.d/halt.local log_cmd $OF 'ls -lR --time-style=long-iso /boot/' - if [ $SLES_VER -gt 90 ]; then - for i in $(find -L /boot -maxdepth 1 -type f 2>/dev/null | grep initrd) + if (( $SLES_VER > 90 )); then + for i in $(find /boot/ -maxdepth 1 -type f -name \*initrd\* 2>/dev/null) do if file $i | grep -i "gzip compressed" &>/dev/null; then log_cmd $OF "zcat $i | cpio -itv 2>/dev/null" @@ -770,9 +775,9 @@ log_cmd $OF 'smt-list-registrations' log_cmd $OF 'smt-list-products' if [ -d /srv/www/htdocs/repo ]; then - log_cmd $OF 'find -L /srv/www/htdocs/repo -print0 | sort -z | xargs -0 ls -ld --time-style=long-iso' + log_cmd $OF 'find /srv/www/htdocs/repo -print0 | sort -z | xargs -0 ls -ld --time-style=long-iso' fi - FILES=$(find -L /var/log/ -type f | grep smt- | grep log$) + FILES=$(find /var/log/ -type f | grep smt- | grep log$) test $ADD_OPTION_LOGS -gt 0 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES echolog Done else @@ -826,7 +831,7 @@ log_cmd $OF 'ls -lA --time-style=long-iso /etc/products.d/' log_cmd $OF 'zypper locks' log_cmd $OF 'zypper patterns --installed-only' - for CMDOPT in services 'repos -d' patch-check patches list-patches list-updates products '--xml products' 'packages --orphaned' + for CMDOPT in services 'repos -d' patch-check patches list-patches list-updates products '--xmlout products' 'packages --orphaned' do if [ $TIMEOUT -ge 10 ]; then log_write $OF "#==[ Command ]======================================#" @@ -846,7 +851,7 @@ then rpm_verify $OF ruby2.1-rubygem-suse-connect log_cmd $OF "SUSEConnect --status" - FILES=$(find /etc/zypp/credentials.d/ -type f 2>/dev/null) + FILES=$(find -L /etc/zypp/credentials.d/ -type f 2>/dev/null) conf_files $OF /etc/SUSEConnect $FILES fi fi @@ -868,7 +873,7 @@ FILES='/etc/suseRegister.conf /etc/sysconfig/suse_register' conf_files $OF $FILES if [ -d /var/lib/suseRegister/ ]; then - FILES=$(find -L /var/lib/suseRegister/ -type f) + FILES=$(find /var/lib/suseRegister/ -type f) conf_files $OF $FILES fi fi @@ -922,7 +927,7 @@ fi #zypper - FILES=$(find -L /var/log/ -type f | grep zypp) + FILES=$(find /var/log/ -type f -name \*zypp\*) test $ADD_OPTION_LOGS -gt 0 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES #suseregister @@ -1121,6 +1126,7 @@ log_cmd $OF 'systemctl --no-pager --all list-sockets' log_cmd $OF 'systemctl --no-pager list-unit-files' log_cmd $OF 'systemctl --no-pager list-jobs' + log_cmd $OF 'systemctl --no-pager list-timers --all' for i in $(systemctl --no-pager --all list-units | sed 's/^[^-_:\\a-zA-Z0-9]*//' | egrep -v '^UNIT |^LOAD |^ACTIVE |^SUB |^To |^[[:digit:]]* ' | awk '{print $1}') do if [[ -z "$i" ]] @@ -1188,7 +1194,7 @@ fi conf_files $OF /var/spool/cron/allow /var/spool/cron/deny log_write $OF "### Individual User Cron Jobs ###" - test -d /var/spool/cron/tabs && FILES=$(find -L /var/spool/cron/tabs/ -type f) || FILES="" + test -d /var/spool/cron/tabs && FILES=$(find /var/spool/cron/tabs/ -type f) || FILES="" conf_files $OF $FILES CRONS="cron.d cron.hourly cron.daily cron.weekly cron.monthly" log_write $OF "### System Cron Job File List ###" @@ -1218,9 +1224,9 @@ check_service $OF atd fi log_write $OF "### System at Job File List ###" - log_cmd $OF "find -L /var/spool/atjobs/ -type f" + log_cmd $OF "find /var/spool/atjobs/ -type f" log_write $OF "### System at Job File Content ###" - FILES=$(find -L /var/spool/atjobs/ -type f) + FILES=$(find /var/spool/atjobs/ -type f) conf_files $OF $FILES echolog Done else @@ -1415,7 +1421,7 @@ else KVMID="Virtual Machine Server (No QEMU Virtual CPU)" fi - log_write $OUT "Hypervisor: KVM (kvm loaded)" + log_write $OUT "Hypervisor: KVM (kvm kernel module loaded)" log_write $OUT "Identity: $KVMID" elif echo $CPUMODEL | grep -i 'QEMU Virtual CPU' &>/dev/null; then NO_HYPER=0 @@ -1804,7 +1810,7 @@ fi done if [[ -z "${NS}" ]] ; then - test -d /etc/sysconfig/network && FILES=$(find -L /etc/sysconfig/network/ -maxdepth 1 -type f) || FILES="" + test -d /etc/sysconfig/network && FILES=$(find /etc/sysconfig/network/ -maxdepth 1 -type f) || FILES="" conf_files $OF /etc/sysconfig/proxy $FILES sed -i -e 's/.*_PASSWORD[[:space:]]*=.*/*REMOVED BY SUPPORTCONFIG*/g' $LOG/$OF (( SLES_VER >= 120 )) && FILES=$(find /etc/wicked -type f 2>/dev/null | grep '\.xml$') || FILES='' @@ -1992,7 +1998,7 @@ log_cmd $OF 'systemctl status targetcli.service' log_cmd $OF 'lsmod | grep target_' log_cmd $OF 'targetcli ls' - [[ -d /etc/target ]] && FILES=$(find /etc/target -type f) + [[ -d /etc/target ]] && FILES=$(find -L /etc/target -type f) fi conf_files $OF $FILES @@ -2047,7 +2053,7 @@ log_cmd $OF 'showmount -a' fi conf_files $OF /etc/exports /etc/sysconfig/nfs - log_cmd $OF "grep '[[:space:]]nfs[[:space:]]' /etc/fstab" + log_cmd $OF "egrep '[[:space:]]nfs[[:space:]]|[[:space:]]nfs4[[:space:]]' /etc/fstab" IPADDRS=$(egrep '[[:space:]]nfs[[:space:]]|[[:space:]]nfs4[[:space:]]' /etc/fstab | egrep -v '^#|^;' | cut -d\: -f1 | sort | uniq) for IPADDR in $IPADDRS do @@ -2166,7 +2172,7 @@ KEYNAME=logdir LOGDIR=$(grep ^${KEYNAME} $CONFFILE | awk '{print $2}') [[ -z "$LOGDIR" ]] && LOGDIR='/var/log/chrony/' - FILES=$(find -L $LOGDIR -type f) + FILES=$(find $LOGDIR -type f) test $ADD_OPTION_LOGS -gt 0 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES FILES="/var/log/messages" test $ADD_OPTION_LOGS -gt 0 && grep_log_files chrony $OF 0 $FILES || grep_log_files chrony $OF $VAR_OPTION_LINE_COUNT $FILES @@ -2239,7 +2245,7 @@ for UDEV_DIR in /usr/lib/udev/rules.d ${udev_rules:=/etc/udev/rules.d} do if [[ -d $UDEV_DIR ]]; then - FILES=$(find -L $UDEV_DIR/ -type f) + FILES=$(find $UDEV_DIR/ -type f) conf_files $OF $FILES fi done @@ -2285,7 +2291,7 @@ if rpm -q kdump &>/dev/null; then DUMPDIR=$(kdumptool dump_config | grep ^KDUMP_SAVEDIR | sed -e 's/"//g;s!file://!!g' | cut -d= -f2) if [[ -d $DUMPDIR ]]; then - log_cmd $OF "find -L ${DUMPDIR}/" + log_cmd $OF "find ${DUMPDIR}/" else log_entry $OF conf "KDUMP_SAVEDIR not found: ${DUMPDIR}" fi @@ -2309,7 +2315,7 @@ fi log_cmd $OF "sysctl kernel.sysrq" log_cmd $OF 'grep -A20 -i "saving lkcd dump" /var/log/boot.msg' - test -d /var/log/dump && FILES=$(find -L /var/log/dump/ -type f 2>/dev/null | grep analysis) || FILES="" + test -d /var/log/dump && FILES=$(find /var/log/dump/ -type f 2>/dev/null | grep analysis) || FILES="" test -z "$FILES" || conf_files $OF $FILES fi if rpm -q kernel-kdump &>/dev/null; then @@ -2324,7 +2330,7 @@ if [ -f $DUMPCFG ]; then DUMPDIR=$(grep ^KDUMP_SAVEDIR $DUMPCFG | sed -e 's/"//g;s!file://!!g' | cut -d= -f2) if [ -d $DUMPDIR ]; then - log_cmd $OF "find -L ${DUMPDIR}/" + log_cmd $OF "find ${DUMPDIR}/" else log_entry $OF conf "KDUMP_SAVEDIR not found: ${DUMPDIR}" fi @@ -2342,7 +2348,7 @@ if [ -f $DUMPCFG ]; then DUMPDIR=$(grep ^KDUMP_SAVEDIR $DUMPCFG | sed -e 's/"//g;s!file://!!g' | cut -d= -f2) if [ -d $DUMPDIR ]; then - log_cmd $OF "find -L ${DUMPDIR}/" + log_cmd $OF "find ${DUMPDIR}/" else log_entry $OF conf "KDUMP_SAVEDIR not found: ${DUMPDIR}" fi @@ -2652,15 +2658,15 @@ CURRENT_CIB='' FILES='' if [[ -d /var/lib/heartbeat/ ]]; then - FILES=$(find -L /var/lib/heartbeat/ -type f | egrep -v "cores|pengine|hb_uuid|cib\.xml") + FILES=$(find /var/lib/heartbeat/ -type f | egrep -v "cores|pengine|hb_uuid|cib\.xml") [[ -e /var/lib/heartbeat/crm/cib.xml ]] && CURRENT_CIB='/var/lib/heartbeat/crm/cib.xml' - for i in $(find -L /var/lib/heartbeat/cores -type f) + for i in $(find /var/lib/heartbeat/cores -type f) do log_cmd $OF "file $i" done fi if [[ -d /var/lib/pacemaker/ ]]; then - TFILES=$(find -L /var/lib/pacemaker/ -type f | egrep -v "cores|pengine|hb_uuid|cib\.xml") + TFILES=$(find /var/lib/pacemaker/ -type f | egrep -v "cores|pengine|hb_uuid|cib\.xml") FILES="$FILES $TFILES" [[ -e /var/lib/pacemaker/cib/cib.xml ]] && CURRENT_CIB='/var/lib/pacemaker/cib/cib.xml' fi @@ -2732,15 +2738,15 @@ CURRENT_CIB='' FILES='' if [[ -d /var/lib/heartbeat/ ]]; then - FILES=$(find -L /var/lib/heartbeat/ -type f | egrep -v "cores|pengine|hb_uuid|cib\.xml") + FILES=$(find /var/lib/heartbeat/ -type f | egrep -v "cores|pengine|hb_uuid|cib\.xml") [[ -e /var/lib/heartbeat/crm/cib.xml ]] && CURRENT_CIB='/var/lib/heartbeat/crm/cib.xml' - for i in $(find -L /var/lib/heartbeat/cores -type f) + for i in $(find /var/lib/heartbeat/cores -type f) do log_cmd $OF "file $i" done fi if [[ -d /var/lib/pacemaker/ ]]; then - TFILES=$(find -L /var/lib/pacemaker/ -type f | egrep -v "cores|pengine|hb_uuid|cib\.xml") + TFILES=$(find /var/lib/pacemaker/ -type f | egrep -v "cores|pengine|hb_uuid|cib\.xml") FILES="$FILES $TFILES" [[ -e /var/lib/pacemaker/cib/cib.xml ]] && CURRENT_CIB='/var/lib/pacemaker/cib/cib.xml' fi @@ -2849,12 +2855,12 @@ esac CHECKDIR="/sys/o2cb" if [ -d $CHECKDIR ]; then - FILES=$(find -L ${CHECKDIR}/ -type f) + FILES=$(find ${CHECKDIR}/ -type f) conf_files $OF $FILES fi CHECKDIR="/sys/kernel/config/cluster" if [ -d $CHECKDIR ]; then - FILES=$(find -L ${CHECKDIR}/ -type f) + FILES=$(find ${CHECKDIR}/ -type f) conf_files $OF $FILES fi (( OCFS2_MODULES )) && DEVICES=$(/sbin/mounted.ocfs2 -d | grep ^/ | awk '{ print $1}') || DEVICES='' @@ -2917,6 +2923,7 @@ log_write $OF log_cmd $OF "lsmod | grep drbd" log_cmd $OF "modinfo drbd" + log_cmd $OF "drbd-overview" # Added By Ahmad Al Zayed - Feb 21, 2019 to get few drbd output & configuration log_cmd $OF "drbdadm status" log_cmd $OF "drbdadm dump" @@ -2932,7 +2939,7 @@ # We need to add "/etc/" since $DIR will have dir inside /etc/ # However this find will find all files inside a specific folder It's okay # Will end up with /etc/drbd.conf/nfs.res nfs.RES nfs.stop .... - [[ -d "/etc/$DIR" ]] && FILES="$FILES $(find -L "/etc/$DIR" -type f)" + [[ -d "/etc/$DIR" ]] && FILES="$FILES $(find -L \"/etc/$DIR\" -type f)" [[ -d $DIR ]] && FILES="$FILES $(find -L $DIR -type f)" done conf_files $OF "/etc/drbd.conf $FILES" @@ -3077,7 +3084,7 @@ fi if [ -d /var/log/samba ]; then - FILES=$(find -L /var/log/samba/ -type f | grep -v '/core') + FILES=$(find /var/log/samba/ -type f | grep -v '/core') test $ADD_OPTION_LOGS -gt 0 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES fi @@ -3269,11 +3276,11 @@ test $OPTION_SYSCONFIG -eq 0 && { echolog Excluded; return 1; } OF=sysconfig.txt addHeaderFile $OF - for FILE in $(find -L /etc/sysconfig/ -maxdepth 1 -type f | sort -f) + for FILE in $(find /etc/sysconfig/ -maxdepth 1 -type f | sort -f) do conf_files $OF $FILE done - for FDIR in $(find -L /etc/sysconfig/ -maxdepth 1 -type d | grep -v "/etc/sysconfig/$" | sort) + for FDIR in $(find /etc/sysconfig/ -maxdepth 1 -type d | grep -v "/etc/sysconfig/$" | sort) do for FILE in $(find -L ${FDIR}/ -type f | sort) do @@ -3752,7 +3759,7 @@ log_cmd $OF "tuned-adm profile_info" FILES=$(find -L /etc/tuned/ -type f 2>/dev/null) conf_files $OF $FILES - FILES=$(find -L /usr/lib/tuned/ -type f 2>/dev/null | grep '\.conf$') + FILES=$(find /usr/lib/tuned/ -type f 2>/dev/null | grep '\.conf$') conf_files $OF $FILES FILES="/var/log/tuned/tuned.log" (( $ADD_OPTION_LOGS > 0 )) && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES @@ -3825,7 +3832,7 @@ log_cmd $OF 'lsmod' log_cmd $OF 'ibv_devinfo -v' log_cmd $OF 'ibdiagnet' - FILES=$(find -L /tmp/ -type f 2>/dev/null | grep ibdiagnet) + FILES=$(find /tmp/ -type f -name \*ibdiagnet\* 2>/dev/null) test $ADD_OPTION_LOGS -gt 0 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES echolog Done else @@ -3880,7 +3887,7 @@ log_cmd $OF 'lsmod' FILES='' - (( CHK_DIAG )) && FILES="$FILES $(find -L /tmp/ -type f 2>/dev/null | grep ibdiagnet)" + (( CHK_DIAG )) && FILES="$FILES $(find /tmp/ -type f -name \*ibdiagnet\* 2>/dev/null)" (( CHK_OPENSM )) && FILES="$FILES /var/log/osm.log" (( CHK_ACM )) && FILES="$FILES /var/log/ibacm.log" test $ADD_OPTION_LOGS -gt 0 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES @@ -3933,7 +3940,7 @@ log_cmd $OF 'lsmod' FILES='' - (( CHK_DIAG )) && FILES="$FILES $(find -L /tmp/ -type f 2>/dev/null | grep ibdiagnet)" + (( CHK_DIAG )) && FILES="$FILES $(find /tmp/ -type f -name \*ibdiagnet\* 2>/dev/null)" (( CHK_OPENSM )) && FILES="$FILES /var/log/opensm.log" (( CHK_ACM )) && FILES="$FILES /var/log/ibacm.log" test $ADD_OPTION_LOGS -gt 0 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES @@ -3961,7 +3968,7 @@ conf_files $OF /etc/sysconfig/apache2 /etc/apache2/httpd.conf FILES=$(find -L /etc/apache2/ -type f | grep 'conf$' | grep -v 'httpd.conf') conf_files $OF $FILES - FILES=$(find -L /var/log/apache2/ -type f) + FILES=$(find /var/log/apache2/ -type f) test $ADD_OPTION_LOGS -gt 0 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES TOMCAT=$(cat $LOG/$RPM_QA_FILE | grep '^tomcat') for i in $TOMCAT @@ -3992,7 +3999,7 @@ PSPFILES="/var/log/hppldu.log" test $ADD_OPTION_LOGS -gt 0 && log_files $OFPSP 0 $PSPFILES || log_files $OFPSP $VAR_OPTION_LINE_COUNT $PSPFILES if [ -d /var/hp ]; then - PSPCFILES="$(find -L /var/hp/ -type f)" + PSPCFILES="$(find /var/hp/ -type f)" conf_files $OFPSP $PSPCFILES fi fi @@ -4003,7 +4010,9 @@ test $OPTION_SYSFS -eq 0 && { echolog Excluded; return 1; } OF=sysfs.txt addHeaderFile $OF - log_cmd $OF "find /sys | xargs ls -ld --time-style=long-iso" + log_entry $OF command "/bin/find /sys | sed -e 's/\\/\\\\/g' | xargs ls -ld --time-style=long-iso" + /bin/find /sys | sed -e 's/\\/\\\\/g' | xargs ls -ld --time-style=long-iso >> ${LOG}/${OF} 2>&1 + log_write $OF log_cmd $OF "systool" for ITEM in $(systool) do @@ -4058,7 +4067,7 @@ test $OPTION_LIVEPATCH -eq 0 && { echolog Excluded; return 1; } OF=kernel-livepatch.txt addHeaderFile $OF - for FDIR in $(find -L /sys/kernel/livepatch/ -maxdepth 1 -type d | grep -v "/sys/kernel/livepatch/$") + for FDIR in $(find /sys/kernel/livepatch/ -maxdepth 1 -type d | grep -v "/sys/kernel/livepatch/$") do log_cmd $OF "find -L $FDIR -type d" FILES=$(find -L $FDIR/ -type f) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.1.14/spec/supportutils.changes new/supportutils-3.1.15/spec/supportutils.changes --- old/supportutils-3.1.14/spec/supportutils.changes 2021-03-22 18:25:36.109261793 +0100 +++ new/supportutils-3.1.15/spec/supportutils.changes 2021-04-19 19:05:33.943367377 +0200 @@ -1,4 +1,23 @@ ------------------------------------------------------------------- +Mon Apr 19 17:05:13 UTC 2021 - Jason Record <[email protected]> + +- Additions to version 3.1.15 + + Checks package signatures in rpm.txt (bsc#1021918) + + Optimize find (bsc#1184912) +- Using zypper --xmlout (bsc#1181351) +- Error fix for sysfs.txt (bsc#1089870) + +------------------------------------------------------------------- +Thu Apr 15 18:14:10 UTC 2021 - Jason Record <[email protected]> + +- Additions to version 3.1.15 + + Added drbd-overview to drbd.txt + + Added list-timers to systemd.txt (bsc#1169348) + + Including nfs4 in search (bsc#1184829) +- Minor: Fix a typo (executible -> executable) #99 +- Changed minor wording to loaded module + +------------------------------------------------------------------- Mon Mar 22 17:25:12 UTC 2021 - [email protected] - [powerpc] Collect dynamic_debug log files for ibmvNIC #98 (bsc#1183826) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.1.14/spec/supportutils.spec new/supportutils-3.1.15/spec/supportutils.spec --- old/supportutils-3.1.14/spec/supportutils.spec 2021-03-22 18:25:38.545197769 +0100 +++ new/supportutils-3.1.15/spec/supportutils.spec 2021-04-16 17:01:57.001623803 +0200 @@ -1,7 +1,7 @@ # # spec file for package supportutils # -# Copyright (c) 2018-2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018-2021 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 @@ -19,7 +19,7 @@ %define support_libdir /usr/lib/supportconfig Name: supportutils -Version: 3.1.14 +Version: 3.1.15 Release: 0 Summary: Support Troubleshooting Tools License: GPL-2.0-only
