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-10-12 21:49:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/supportutils (Old)
 and      /work/SRC/openSUSE:Factory/.supportutils.new.2443 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "supportutils"

Tue Oct 12 21:49:20 2021 rev:28 rq:923088 version:3.1.18

Changes:
--------
--- /work/SRC/openSUSE:Factory/supportutils/supportutils.changes        
2021-07-13 22:37:37.486036940 +0200
+++ /work/SRC/openSUSE:Factory/.supportutils.new.2443/supportutils.changes      
2021-10-12 21:50:37.439980863 +0200
@@ -1,0 +2,22 @@
+Mon Oct  4 17:38:56 UTC 2021 - Jason Record <jason.rec...@suse.com>
+
+- Installing to /usr/sbin instead of /sbin (bsc#1191096)
+- Added shared memory as a log directory for emergency use (bsc#1190943)
+
+-------------------------------------------------------------------
+Wed Sep  8 18:18:08 UTC 2021 - Jason Record <jason.rec...@suse.com>
+
+- Fixed cron package for RPM validation (bsc#1190315)
+- Updated spec file with correct URL
+
+-------------------------------------------------------------------
+Mon Aug 16 14:40:50 UTC 2021 - Jason Record <jason.rec...@suse.com>
+
+- Changes to version 3.1.18
+  + Added email.txt based on OPTION_EMAIL #108 (bsc#1189028)
+  + Include 'multipath -t' output in mpio.txt #105
+  + Improved lsblk readability with --ascsi #106
+  + Removed duplicate commands in network.txt
+  + Remove duplicate firewalld status output #109
+
+-------------------------------------------------------------------

Old:
----
  supportutils-3.1.17.tar.gz

New:
----
  supportutils-3.1.18.tar.gz

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

Other differences:
------------------
++++++ supportutils.spec ++++++
--- /var/tmp/diff_new_pack.uiZWUa/_old  2021-10-12 21:50:37.975981630 +0200
+++ /var/tmp/diff_new_pack.uiZWUa/_new  2021-10-12 21:50:37.979981635 +0200
@@ -19,12 +19,12 @@
 %define support_libdir /usr/lib/supportconfig
 
 Name:           supportutils
-Version:        3.1.17
+Version:        3.1.18
 Release:        0
 Summary:        Support Troubleshooting Tools
 License:        GPL-2.0-only
 Group:          System/Monitoring
-Url:            https://github.com/g23guy/supportutils
+Url:            https://github.com/openSUSE/supportutils
 Source:         %{name}-%{version}.tar.gz
 Requires:       iproute2
 Requires:       kmod-compat
@@ -54,18 +54,17 @@
 
 %install
 pwd;ls -la
-install -d %{buildroot}/sbin
-install -d %{buildroot}/etc
+mkdir -p %{buildroot}%{_sbindir}
 install -d %{buildroot}%{_mandir}/man3
 install -d %{buildroot}%{_mandir}/man5
 install -d %{buildroot}%{_mandir}/man8
 install -d %{buildroot}%{support_libdir}/resources
 install -d %{buildroot}%{support_libdir}/plugins
 install -d %{buildroot}%{_docdir}/%{name}
-install -m 544 bin/supportconfig %{buildroot}/sbin
-install -m 544 bin/chkbin %{buildroot}/sbin
-install -m 544 bin/getappcore %{buildroot}/sbin
-install -m 544 bin/analyzevmcore %{buildroot}/sbin
+install -m 544 bin/supportconfig %{buildroot}%{_sbindir}
+install -m 544 bin/chkbin %{buildroot}%{_sbindir}
+install -m 544 bin/getappcore %{buildroot}%{_sbindir}
+install -m 544 bin/analyzevmcore %{buildroot}%{_sbindir}
 install -m 444 bin/scplugin.rc %{buildroot}%{support_libdir}/resources
 install -m 444 bin/supportconfig.rc %{buildroot}%{support_libdir}/resources
 install -m 644 man/*.3.gz %{buildroot}%{_mandir}/man3
@@ -75,10 +74,10 @@
 
 %files
 %defattr(-,root,root)
-/sbin/supportconfig
-/sbin/chkbin
-/sbin/getappcore
-/sbin/analyzevmcore
+%{_sbindir}/supportconfig
+%{_sbindir}/chkbin
+%{_sbindir}/getappcore
+%{_sbindir}/analyzevmcore
 %dir %{support_libdir}
 %dir %{support_libdir}/resources
 %dir %{support_libdir}/plugins

++++++ supportutils-3.1.17.tar.gz -> supportutils-3.1.18.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/supportutils-3.1.17/bin/getappcore 
new/supportutils-3.1.18/bin/getappcore
--- old/supportutils-3.1.17/bin/getappcore      2021-05-12 22:46:40.973123981 
+0200
+++ new/supportutils-3.1.18/bin/getappcore      2021-10-04 18:04:26.983112781 
+0200
@@ -1,7 +1,7 @@
 #!/bin/bash
 
-SVER='1.52.8_dev2'
-SDATE="2020 03 12"
+SVER='1.52.10'
+SDATE="2021 10 02"
 SNAME=$(basename $0)
 
 # --------------------------------------------------------------------- #
@@ -29,8 +29,8 @@
 #  along with this program; if not, see <http://www.gnu.org/licenses/>. #
 #                                                                       #
 #  Authors/Contributors:                                                #
-#     Mike Latimer (mlati...@suse.com)                                  #
-#     Jason Record (jason.rec...@suse.com)                              #
+#     Mike Latimer <mlati...@suse.com>                                  #
+#     Jason Record <jason.rec...@suse.com>                              #
 #                                                                       #
 #  Additional credit to Paul Hardwick (phardw...@novell.com) for his    #
 #  novell-getcore, which was inspiration for this (more generic) script #
@@ -51,6 +51,7 @@
 # Changes:                                                              #
 #                                                                       #
 # 1.53 Release                                                          #
+#    - Updated chkbin location to /usr/sbin                             #
 #    - Check tar return code instead of existence of archive            #
 #    - Check for valid compression binary                               #
 # 1.52 Release                                                          #
@@ -109,7 +110,7 @@
 AWK_BIN=/usr/bin/awk
 BASENAME_BIN=/usr/bin/basename
 CAT_BIN=/bin/cat
-CHKBIN_BIN=/sbin/chkbin
+CHKBIN_BIN=/usr/sbin/chkbin
 CHMOD_BIN=/bin/chmod
 COREDUMP_BIN=/usr/bin/coredumpctl
 CURL_BIN=/usr/bin/curl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/supportutils-3.1.17/bin/supportconfig 
new/supportutils-3.1.18/bin/supportconfig
--- old/supportutils-3.1.17/bin/supportconfig   2021-06-18 17:54:23.252027395 
+0200
+++ new/supportutils-3.1.18/bin/supportconfig   2021-10-04 19:19:37.686686535 
+0200
@@ -1,7 +1,7 @@
 #!/bin/bash
 
-SVER='3.1.11-17'
-SDATE='2021 06 18'
+SVER='3.1.11-22'
+SDATE='2021 10 04'
 
 ##############################################################################
 #  supportconfig - Gathers system troubleshooting information for SUSE Support
@@ -164,9 +164,6 @@
                                wait_trace_on "systemctl status 
firewalld.service"
                                log_write $BASIC_ENVF "$(systemctl status 
firewalld.service)"
                                wait_trace_off
-                               wait_trace_on "systemctl status 
firewalld.service"
-                               log_write $BASIC_ENVF "$(systemctl status 
firewalld.service)"
-                               wait_trace_off
                                IPBIN="/usr/sbin/iptables"
                                if [[ -x $IPBIN ]]; then
                                        TOTAL_FIREWALL_RULES=0
@@ -1184,14 +1181,9 @@
        test $OPTION_CRON -eq 0 && { echolog Excluded; return 1; }
        OF=cron.txt
        addHeaderFile $OF
-       if rpm_verify $OF cron
+       if rpm_verify $OF cronie
        then
-               if (( SLES_VER >= 120 ))
-               then
-                       log_cmd $OF "systemctl status cron.service"
-               else
-                       check_service $OF cron
-               fi
+               log_cmd $OF "systemctl status cron.service"
                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 
/var/spool/cron/tabs/ -type f) || FILES=""
@@ -1217,12 +1209,7 @@
        log_write $OF 
"#----------------------------------------------------------------#"
        if rpm_verify $OF at
        then
-               if (( SLES_VER >= 120 ))
-               then
-                       log_cmd $OF "systemctl status atd.service"
-               else
-                       check_service $OF atd
-               fi
+               log_cmd $OF "systemctl status atd.service"
                log_write $OF "### System at Job File List ###"
                log_cmd $OF "find /var/spool/atjobs/ -type f"
                log_write $OF "### System at Job File Content ###"
@@ -1346,6 +1333,7 @@
                        FILES=$(find ${SDIR}/ -maxdepth 1 -type f 2>/dev/null)
                        conf_files $OF $FILES
                done
+               log_cmd $OF 'multipath -t'
                log_cmd $OF 'multipath -v3 -d'
        else
                ((SKIP++))
@@ -1674,7 +1662,8 @@
        log_cmd $OF "${NS}ip addr"
        log_cmd $OF "${NS}ip route"
        log_cmd $OF "${NS}ip -6 route"
-       log_cmd $OF "${NS}ip -s link"
+       log_cmd $OF "${NS}ip -stats link"
+       log_cmd $OF "${NS}ip -stats neighbor"
        if [ -z "${NS}" ] ; then
                if [[ $MIN_OPTION_AUTOMOD -ne 0 ]]; then
                        timed_log_cmd $OF 'hwinfo --netcard'
@@ -1728,10 +1717,6 @@
                log_cmd $OF "${NS}tc -s -d filter show dev ${NIC}"
        done
        log_cmd $OF "${NS}ss -nlp"
-       log_cmd $OF "${NS}ip route list"
-       log_cmd $OF "${NS}ip -6 route list"
-       log_cmd $OF "${NS}ip -stats link"
-       log_cmd $OF "${NS}ip -stats neighbor"
        log_cmd $OF "${NS}ip ntable show"
        log_cmd $OF "${NS}nstat -az"
        if [[ $MIN_OPTION_AUTOMOD -eq 0 ]]; then
@@ -1834,7 +1819,7 @@
        OF=fs-diskio.txt
        addHeaderFile $OF
        conf_files $OF /proc/partitions /etc/fstab
-       log_cmd $OF "lsblk -o 
'NAME,KNAME,MAJ:MIN,FSTYPE,LABEL,RO,RM,MODEL,SIZE,OWNER,GROUP,MODE,ALIGNMENT,MIN-IO,OPT-IO,PHY-SEC,LOG-SEC,ROTA,SCHED,MOUNTPOINT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO'"
+       log_cmd $OF "lsblk -i -o 
'NAME,KNAME,MAJ:MIN,FSTYPE,LABEL,RO,RM,MODEL,SIZE,OWNER,GROUP,MODE,ALIGNMENT,MIN-IO,OPT-IO,PHY-SEC,LOG-SEC,ROTA,SCHED,MOUNTPOINT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO'"
        [[ -x /usr/bin/findmnt ]] && log_cmd $OF "findmnt"
        log_cmd $OF "mount"
        conf_files $OF /proc/mounts /etc/mtab
@@ -4078,6 +4063,29 @@
        echolog Done
 }
 
+email_info() {
+       printlog "Email..."
+       test $OPTION_EMAIL -eq 0 && { echolog Excluded; return 1; }
+       OF=email.txt
+       addHeaderFile $OF
+       if rpm_verify $OF postfix; then
+               log_cmd $OF "systemctl status postfix.service"
+               log_cmd $OF "postconf -n"
+               log_cmd $OF "postconf -d"
+               log_cmd $OF "postqueue -p"
+               log_cmd $OF "postqueue -j"
+               log_cmd $OF 'bash -c "comm -23 <(postconf -n) <(postconf -d)"'
+               #FILES="/etc/sysconfig/postfix /etc/postfix/master.cf 
/etc/postfix/main.cf /etc/postfix/aliases /etc/postfix/openssl_postfix.conf.in"
+               FILES=$(find /etc/postfix/ ! -name '*.rpmnew' -type f -exec sh 
-c 'f=$1; file -bL --mime $f | grep -q "^text/plain" && echo $f' {} {} \; | 
sort)
+               conf_files $OF $FILES
+               FILES="/var/log/mail.err /var/log/mail.warn /var/log/mail.info 
/var/log/mail"
+               (( $ADD_OPTION_LOGS > 0 )) && log_files $OF 0 $FILES || 
log_files $OF $VAR_OPTION_LINE_COUNT $FILES
+               echolog Done
+       else
+               echolog Skipped
+       fi
+}
+
 ##############################################################################
 #  main 
 ##############################################################################
@@ -4325,6 +4333,7 @@
        fslist_info
        audit_info
        crash_info
+       email_info
        ntp_info
        proc_info
        boot_info
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/supportutils-3.1.17/bin/supportconfig.rc 
new/supportutils-3.1.18/bin/supportconfig.rc
--- old/supportutils-3.1.17/bin/supportconfig.rc        2021-02-16 
20:25:46.738056762 +0100
+++ new/supportutils-3.1.18/bin/supportconfig.rc        2021-10-04 
19:36:56.787189206 +0200
@@ -1,5 +1,32 @@
 #!/bin/bash
 ##############################################################################
+#  supportconfig.rc - Resource file for supportconfig
+#  Copyright (C) 2001-2021 SUSE LLC
+#
+#  Contains supporting functions and variables used by supportconfig and
+#  supportconfig plugins.
+#
+##############################################################################
+#
+#  This program is free software; you can redistribute it and/or modify
+#  it under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; version 2 of the License.
+#
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#
+#  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: 2021 Oct 04
+#  Authors/Contributors:
+#     Jason Record <jason.rec...@suse.com>
+#
+##############################################################################
+
+##############################################################################
 # Supportconfig Supporting Functions
 ##############################################################################
 
@@ -20,6 +47,7 @@
 OPTION_DNS=1
 OPTION_DOCKER=1
 OPTION_DRBD=1
+OPTION_EMAIL=1
 OPTION_ENV=1
 OPTION_ETC=1
 OPTION_HA=1
@@ -83,7 +111,7 @@
 # reports must have the format hb_report.*\.tar\.bz2 in each directory
 VAR_OPTION_JOURNALCTL_LINE_COUNT=0
 VAR_OPTION_JOURNALCTL_MAX_BOOTS=10
-VAR_OPTION_LOG_DIRS='/var/log /tmp'
+VAR_OPTION_LOG_DIRS='/var/log /tmp / /dev/shm'
 VAR_OPTION_LINE_COUNT=500
 VAR_OPTION_MSG_MAXSIZE=26214400
 VAR_OPTION_MSG_LINE_COUNT=200000
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/supportutils-3.1.17/spec/supportutils.changes 
new/supportutils-3.1.18/spec/supportutils.changes
--- old/supportutils-3.1.17/spec/supportutils.changes   2021-07-06 
19:59:12.906837937 +0200
+++ new/supportutils-3.1.18/spec/supportutils.changes   2021-10-04 
19:39:32.355759871 +0200
@@ -1,4 +1,26 @@
 -------------------------------------------------------------------
+Mon Oct  4 17:38:56 UTC 2021 - Jason Record <jason.rec...@suse.com>
+
+- Installing to /usr/sbin instead of /sbin (bsc#1191096)
+- Added shared memory as a log directory for emergency use (bsc#1190943)
+
+-------------------------------------------------------------------
+Wed Sep  8 18:18:08 UTC 2021 - Jason Record <jason.rec...@suse.com>
+
+- Fixed cron package for RPM validation (bsc#1190315)
+- Updated spec file with correct URL
+
+-------------------------------------------------------------------
+Mon Aug 16 14:40:50 UTC 2021 - Jason Record <jason.rec...@suse.com>
+
+- Changes to version 3.1.18
+  + Added email.txt based on OPTION_EMAIL #108 (bsc#1189028)
+  + Include 'multipath -t' output in mpio.txt #105
+  + Improved lsblk readability with --ascsi #106
+  + Removed duplicate commands in network.txt
+  + Remove duplicate firewalld status output #109
+
+-------------------------------------------------------------------
 Tue Jul  6 17:58:52 UTC 2021 - Jason Record <jason.rec...@suse.com>
 
 - Changes to version 3.1.17
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/supportutils-3.1.17/spec/supportutils.spec 
new/supportutils-3.1.18/spec/supportutils.spec
--- old/supportutils-3.1.17/spec/supportutils.spec      2021-06-18 
17:54:23.252027395 +0200
+++ new/supportutils-3.1.18/spec/supportutils.spec      2021-10-04 
19:10:54.696409324 +0200
@@ -19,12 +19,12 @@
 %define support_libdir /usr/lib/supportconfig
 
 Name:           supportutils
-Version:        3.1.17
+Version:        3.1.18
 Release:        0
 Summary:        Support Troubleshooting Tools
 License:        GPL-2.0-only
 Group:          System/Monitoring
-Url:            https://github.com/g23guy/supportutils
+Url:            https://github.com/openSUSE/supportutils
 Source:         %{name}-%{version}.tar.gz
 Requires:       iproute2
 Requires:       kmod-compat
@@ -54,18 +54,17 @@
 
 %install
 pwd;ls -la
-install -d %{buildroot}/sbin
-install -d %{buildroot}/etc
+mkdir -p %{buildroot}%{_sbindir}
 install -d %{buildroot}%{_mandir}/man3
 install -d %{buildroot}%{_mandir}/man5
 install -d %{buildroot}%{_mandir}/man8
 install -d %{buildroot}%{support_libdir}/resources
 install -d %{buildroot}%{support_libdir}/plugins
 install -d %{buildroot}%{_docdir}/%{name}
-install -m 544 bin/supportconfig %{buildroot}/sbin
-install -m 544 bin/chkbin %{buildroot}/sbin
-install -m 544 bin/getappcore %{buildroot}/sbin
-install -m 544 bin/analyzevmcore %{buildroot}/sbin
+install -m 544 bin/supportconfig %{buildroot}%{_sbindir}
+install -m 544 bin/chkbin %{buildroot}%{_sbindir}
+install -m 544 bin/getappcore %{buildroot}%{_sbindir}
+install -m 544 bin/analyzevmcore %{buildroot}%{_sbindir}
 install -m 444 bin/scplugin.rc %{buildroot}%{support_libdir}/resources
 install -m 444 bin/supportconfig.rc %{buildroot}%{support_libdir}/resources
 install -m 644 man/*.3.gz %{buildroot}%{_mandir}/man3
@@ -75,10 +74,10 @@
 
 %files
 %defattr(-,root,root)
-/sbin/supportconfig
-/sbin/chkbin
-/sbin/getappcore
-/sbin/analyzevmcore
+%{_sbindir}/supportconfig
+%{_sbindir}/chkbin
+%{_sbindir}/getappcore
+%{_sbindir}/analyzevmcore
 %dir %{support_libdir}
 %dir %{support_libdir}/resources
 %dir %{support_libdir}/plugins

Reply via email to