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-02-11 12:48:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/supportutils (Old) and /work/SRC/openSUSE:Factory/.supportutils.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "supportutils" Thu Feb 11 12:48:28 2021 rev:17 rq:870331 version:3.1.14 Changes: -------- --- /work/SRC/openSUSE:Factory/supportutils/supportutils.changes 2021-02-01 13:25:08.721816978 +0100 +++ /work/SRC/openSUSE:Factory/.supportutils.new.28504/supportutils.changes 2021-02-11 12:52:17.561910696 +0100 @@ -1,0 +2,12 @@ +Mon Feb 8 15:30:43 UTC 2021 - [email protected] + +- Additions to version 3.1.14 + + [powerpc] Collect logs for power specific components (HNV ) #88 (bsc#1181911) + + Updated pam.txt documentation explaining GDPR + +------------------------------------------------------------------- +Thu Feb 4 18:44:12 UTC 2021 - [email protected] + +- No longer truncates boot log (bsc#1181610) + +------------------------------------------------------------------- @@ -36 +48 @@ - + [powerpc] Collect logs for power specific components #72 + + [powerpc] Collect logs for power specific components #72 (bscn#1176895) Old: ---- supportutils-3.1.13.tar.gz New: ---- supportutils-3.1.14.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ supportutils.spec ++++++ --- /var/tmp/diff_new_pack.eR0oYG/_old 2021-02-11 12:52:18.021911330 +0100 +++ /var/tmp/diff_new_pack.eR0oYG/_new 2021-02-11 12:52:18.025911336 +0100 @@ -19,7 +19,7 @@ %define support_libdir /usr/lib/supportconfig Name: supportutils -Version: 3.1.13 +Version: 3.1.14 Release: 0 Summary: Support Troubleshooting Tools License: GPL-2.0-only ++++++ supportutils-3.1.13.tar.gz -> supportutils-3.1.14.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.1.13/bin/getappcore new/supportutils-3.1.14/bin/getappcore --- old/supportutils-3.1.13/bin/getappcore 2020-05-15 16:03:12.101094559 +0200 +++ new/supportutils-3.1.14/bin/getappcore 2021-02-04 22:17:07.444181909 +0100 @@ -50,6 +50,7 @@ # --------------------------------------------------------------------- # # Changes: # # # +# - Check tar return code instead of existence of archive # # 1.52 Release # # - Capture coredumpctl info in getappcore.log # # - Changed nts_ to scc_ with ARCHIVE_PREFIX # @@ -58,7 +59,7 @@ # - Check for valid core file # # - Updated documentation and messages # # - Creates ARCHIVE_PATH as needed # -# 1.46 Release # +# 1.46 Release # # - Replaced Novell with SUSE FTP servers # # - Uses /etc/getappcore.conf if present # # - Added -u for HTTPS and -f for FTPES uploads to SUSE FTP servers # @@ -143,7 +144,7 @@ # Display title banner, showing environment and core info # # --------------------------------------------------------- # show_title() { - echo "####################################################################" | $TEE_BIN $GETAPPCORE_LOG + echo "####################################################################" | $TEE_BIN $GETAPPCORE_LOG echo "Get Application Core Tool, v$SVER" | $TEE_BIN -a $GETAPPCORE_LOG echo "Date: $($DATE_BIN +'%D, %T')" | $TEE_BIN -a $GETAPPCORE_LOG echo "Server: $SERVER_NAME" | $TEE_BIN -a $GETAPPCORE_LOG @@ -160,13 +161,13 @@ # --------------------------------------------------------- # show_help() { echo "Usage: $0 [OPTION] < -j PID | /path/to/corefile >" - echo + echo echo "$SNAME creates an archive containing an application core, and all files" echo "required to analyze the application core - including the binary which" - echo "created the core, and all required shared libraries. Included in the" + echo "created the core, and all required shared libraries. Included in the" echo "archive is a logfile containing RPM version information for further" echo "investigation by SUSE." - echo + echo echo "Required parameter:" echo echo " COREFILE The application core file, typically found in the working" @@ -183,7 +184,7 @@ echo " -v Enable verbose messages" echo echo "For example:" - echo + echo echo " $SNAME -ur 00123456 -b /bin/rpm -j 2344" echo " $SNAME -ur 00123456 -b /bin/rpm /core.15832" echo @@ -197,9 +198,9 @@ # Enable vebose messages # # --------------------------------------------------------- # verbose() { - if [[ $VERBOSE -eq '1' ]]; then + if [[ $VERBOSE -eq '1' ]]; then [[ -z $1 ]] && echo || echo "-- $1" - fi + fi } # --------------------------------------------------------- # @@ -228,13 +229,12 @@ # check_binaries () # # Check for all required binaries prior to execution # # --------------------------------------------------------- # -check_binaries() -{ - for BINARY in $ALL_BINS - do +check_binaries() { + for BINARY in $ALL_BINS + do verbose "Checking $BINARY" - if ! [ -e $BINARY ]; then - if [ -z "$MISSING_BINS" ]; then + if ! [ -e $BINARY ]; then + if [ -z "$MISSING_BINS" ]; then MISSING_BINS=$BINARY else MISSING_BINS="$BINARY $MISSING_BINS" @@ -336,7 +336,7 @@ verbose "Removing symlink: $SYMLINK" $RM_BIN $SYMLINK fi - done + done for DIR in $($FIND_BIN $GETAPPCORE_TMP_DIR -type d | sort -r); do verbose "Removing directory: $DIR" $RMDIR_BIN $DIR @@ -357,7 +357,7 @@ $MKDIR_BIN -p $(dirname $REQUIRED_FILE_LINK) verbose "Creating symlink: $REQUIRED_FILE_LINK --> $REQUIRED_FILE" $LN_BIN -s $REQUIRED_FILE $REQUIRED_FILE_LINK - done + done } # ------------------------------------------------------------ # @@ -373,7 +373,7 @@ verbose '' verbose "Executing: $TAR_BIN -jhvcvf $FINAL_ARCHIVE_NAME $CORE_ARCHIVE_NAME 1>/dev/null 2>&1" $TAR_BIN -jhvcvf $FINAL_ARCHIVE_NAME $CORE_ARCHIVE_NAME 1>/dev/null 2>&1 - if [ -e $FINAL_ARCHIVE_NAME ]; then + if [ $? -eq 0 ]; then echo "Done" verbose "Created archive as: $FINAL_ARCHIVE_NAME" else @@ -441,7 +441,7 @@ # Upload the appcore archive to the designated ftp server # # --------------------------------------------------------- # upload_archive() { - echo "Uploading Archive... ${FINAL_ARCHIVE_FILE}" + echo "Uploading Archive... ${FINAL_ARCHIVE_FILE}" UPLOAD_SERVICE=$(echo ${UPLOAD_TARGET} | cut -d: -f1) ERRNO=255 verbose "UPLOAD_TARGET = ${UPLOAD_TARGET}" @@ -461,7 +461,7 @@ ERRNO=$? fi ;; - ftps|ftpes) + ftps|ftpes) echo "Protocol... FTPES" UPLOAD_URL=$($SED_BIN -e 's/ftpes:/ftp:/g;s/ftps:/ftp:/g' <<< ${UPLOAD_TARGET}) verbose "UPLOAD_URL = $UPLOAD_URL" @@ -484,7 +484,7 @@ else echo "Upload status... Success!" echo - echo " Please contact SUSE Technical Support for assistance analyzing this core." + echo " Please contact SUSE Technical Support for assistance analyzing this core." echo " If you already have an open Service Request, please update it with the" echo " archive name below." fi @@ -599,7 +599,7 @@ echo -n "Checking Source Binary with chkbin... " CHKBIN_LOG=$($CHKBIN_BIN $COREFILE_BIN | $GREP_BIN "Log File" 2>/dev/null | $AWK_BIN '{print $3}') CHKBIN_RESULT=$($CAT_BIN $CHKBIN_LOG | $GREP_BIN STATUS | $AWK_BIN '{print $2}') - echo "Done" + echo "Done" echo "Crashing binary: $COREFILE_BIN chkbin result: $CHKBIN_RESULT" >> $GETAPPCORE_LOG 2>&1 echo >> $GETAPPCORE_LOG @@ -607,7 +607,7 @@ verbose "Chkbin result: $CHKBIN_RESULT" # Use GDB to build list of required libraries - echo -n "Building list of required libraries... " + echo -n "Building list of required libraries... " echo "Libraries:" >> $GETAPPCORE_LOG echo "----------" >> $GETAPPCORE_LOG # Create temporary GDB command file @@ -618,14 +618,14 @@ $RM_BIN $GDBLIBS_CMD echo "Done" - echo -n "Building list of required RPMs... " + echo -n "Building list of required RPMs... " echo "RPMs:" >> $GETAPPCORE_LOG echo "-----" >> $GETAPPCORE_LOG RPM_LIST=$($RPM_BIN -qf --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm\n" $COREFILE_BIN | $GREP_BIN -v "not owned") RPM_LIST="$RPM_LIST $($CAT_BIN $GETAPPCORE_LOG | $GREP_BIN -i "^/.*\.so.*" | \ $XARGS_BIN $RPM_BIN -qf --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm\n" | $GREP_BIN -v "not owned")" echo $RPM_LIST | $TR_BIN " " \\n | $SORT_BIN | $UNIQ_BIN >> $GETAPPCORE_LOG - echo "Done" + echo "Done" echo >> $GETAPPCORE_LOG (( $VERBOSE )) && echo "Building list of debuginfo RPMs... " || echo -n "Building list of debuginfo RPMs... " @@ -674,7 +674,7 @@ echo $DBG_LIST | $TR_BIN " " \\n | $SORT_BIN | $UNIQ_BIN >> $GETAPPCORE_LOG if (( $VERBOSE )); then echo - echo " ... Done" + echo " ... Done" else echo " Done" fi @@ -684,7 +684,7 @@ echo -n "Setting gdb environment variables... " while read LIBRARY do - IS_LIB=$(echo $LIBRARY | $GREP_BIN -i "^/.*\.so.*" | $WC_BIN -l) + IS_LIB=$(echo $LIBRARY | $GREP_BIN -i "^/.*\.so.*" | $WC_BIN -l) if [ "$IS_LIB" = "1" ]; then if [ -z "$REQUIRED_LIBRARIES" ]; then REQUIRED_LIBRARIES="$LIBRARY" @@ -706,7 +706,7 @@ GDB_SOLIB_SEARCH_PATH="$GDB_SOLIB_SEARCH_PATH:.$LIBRARY_DIR" fi done - echo "Done" + echo "Done" # Move chkbin and getappcore log to GETAPPCORE_TMP_DIR to be included in tar archive if [[ -s $GETAPPCORE_CONF ]]; then @@ -723,7 +723,7 @@ create_opencoreini create_opencoresh create_symlinks - (( $VERBOSE )) && { echo " ... Done"; echo; } || echo "Done" + (( $VERBOSE )) && { echo " ... Done"; echo; } || echo "Done" create_archive diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.1.13/bin/supportconfig new/supportutils-3.1.14/bin/supportconfig --- old/supportutils-3.1.13/bin/supportconfig 2020-12-31 15:30:19.304688064 +0100 +++ new/supportutils-3.1.14/bin/supportconfig 2021-02-05 20:27:40.851410433 +0100 @@ -1,7 +1,7 @@ #!/bin/bash -SVER='3.1.10-5' -SDATE='2020 12 31' +SVER='3.1.10-8' +SDATE='2021 02 05' ############################################################################## # supportconfig - Gathers system troubleshooting information for SUSE Support @@ -728,7 +728,7 @@ fi else if (( VAR_OPTION_JOURNALCTL_LINE_COUNT > 0 )); then - log_cmd $OF "journalctl --no-pager --boot 0 | head -n ${VAR_OPTION_JOURNALCTL_LINE_COUNT}" + log_cmd $OF "journalctl --no-pager --boot 0 | tail -n ${VAR_OPTION_JOURNALCTL_LINE_COUNT}" else log_cmd $OF "journalctl --no-pager --boot 0" fi @@ -944,25 +944,35 @@ pam_info() { printlog "PAM..." - test $FORCE_OPTION_PAM -eq 0 && { echolog Excluded; return 1; } OF=pam.txt addHeaderFile $OF - rpm_verify $OF pam - rpm_verify $OF pam-modules - conf_files $OF /etc/nsswitch.conf /etc/nologin - conf_files $OF /etc/passwd - log_cmd $OF 'getent passwd' - conf_files $OF /etc/group - log_cmd $OF 'getent group' - conf_files $OF /etc/sudoers - (( SLES_VER >= 120 )) && log_cmd $OF 'loginctl --no-pager list-sessions' - log_write $OF "#==[ Files in /etc/security ]=======================#" - test -d /etc/security && FILES="$(find -L /etc/security/ -type f -name \*conf)" || FILES="" - conf_files $OF $FILES - log_write $OF "#==[ Files in /etc/pam.d ]==========================#" - test -d /etc/pam.d && FILES="$(find -L /etc/pam.d/ -type f)" || FILES="" - conf_files $OF $FILES - echolog Done + if (( $FORCE_OPTION_PAM > 0 )); then + rpm_verify $OF pam + rpm_verify $OF pam-modules + conf_files $OF /etc/nsswitch.conf /etc/nologin + conf_files $OF /etc/passwd + log_cmd $OF 'getent passwd' + conf_files $OF /etc/group + log_cmd $OF 'getent group' + conf_files $OF /etc/sudoers + (( SLES_VER >= 120 )) && log_cmd $OF 'loginctl --no-pager list-sessions' + log_write $OF "#==[ Files in /etc/security ]=======================#" + test -d /etc/security && FILES="$(find -L /etc/security/ -type f -name \*conf)" || FILES="" + conf_files $OF $FILES + log_write $OF "#==[ Files in /etc/pam.d ]==========================#" + test -d /etc/pam.d && FILES="$(find -L /etc/pam.d/ -type f)" || FILES="" + conf_files $OF $FILES + echolog Done + else + log_entry $OF note "Restricted" + echo "PAM module is disabled in compliance with General Data Protection Regulation (GDPR)." >> $LOG/$OF + echo "To consent to supportconfig collecting this information, run:" >> $LOG/$OF + echo "# FORCE_OPTION_PAM=1 supportconfig" >> $LOG/$OF + echo >> $LOG/$OF + echo 'Additional info: https://www.suse.com/support/kb/doc/?id=000019695' >> $LOG/$OF + echo >> $LOG/$OF + echolog Restricted + fi } sssd_info() { @@ -1524,6 +1534,9 @@ log_cmd $OF "servicelog --dump" log_cmd $OF "servicelog_notify --list" fi + log_cmd $OF 'lsdevinfo' + log_cmd $OF 'systemctl is-enabled hcn-init.service' + log_files $OF 0 /var/log/hcnmgr /var/ct/IBM.DRM.stderr /var/ct/IW/log/mc/IBM.DRM/trace* fi PPC_DIR="${LOG}/ppc64" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.1.13/bin/supportconfig.rc new/supportutils-3.1.14/bin/supportconfig.rc --- old/supportutils-3.1.13/bin/supportconfig.rc 2020-11-06 14:26:48.413266700 +0100 +++ new/supportutils-3.1.14/bin/supportconfig.rc 2021-02-04 22:17:07.448181803 +0100 @@ -80,7 +80,7 @@ VAR_OPTION_GPG_UID="" VAR_OPTION_HBREPORT_DIRS='/var/log /root' # reports must have the format hb_report.*\.tar\.bz2 in each directory -VAR_OPTION_JOURNALCTL_LINE_COUNT=10000 +VAR_OPTION_JOURNALCTL_LINE_COUNT=0 VAR_OPTION_JOURNALCTL_MAX_BOOTS=10 VAR_OPTION_LOG_DIRS='/var/log /tmp' VAR_OPTION_LINE_COUNT=500 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.1.13/man/supportconfig.8 new/supportutils-3.1.14/man/supportconfig.8 --- old/supportutils-3.1.13/man/supportconfig.8 2020-11-06 20:15:04.943566885 +0100 +++ new/supportutils-3.1.14/man/supportconfig.8 2021-02-05 19:59:13.431218413 +0100 @@ -1,4 +1,4 @@ -.TH SUPPORTCONFIG 8 "12 Mar 2020" "supportutils" "Support Utilities Manual" +.TH SUPPORTCONFIG 8 "05 Feb 2021" "supportutils" "Support Utilities Manual" .SH NAME supportconfig - Gathers system troubleshooting information .SH SYNOPSIS @@ -158,7 +158,7 @@ Only gather a minimum amount of info: basic env, basic health, hardware, rpm, messages, y2logs .TP \fB\-o\fR \fIkeyword[,keyword]\fR -Toggle keywords on or off. A comma separated list of feature keywords that changes the feature state opposite it's current state. For example, if OPTION_PAM is set, -o PAM will turn it off. If OPTION_PAM is not set, -o PAM will turn it on. +Toggle keywords on or off. A comma separated list of feature keywords that changes the feature state opposite it's current state. For example, if OPTION_LVM is set, -o LVM will turn it off. If OPTION_LVM is not set, -o LVM will turn it on. .TP \fB\-p\fR Disable all plugin execution diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.1.13/man/supportconfig.conf.5 new/supportutils-3.1.14/man/supportconfig.conf.5 --- old/supportutils-3.1.13/man/supportconfig.conf.5 2020-11-06 20:15:04.943566885 +0100 +++ new/supportutils-3.1.14/man/supportconfig.conf.5 2021-02-05 19:57:57.697321810 +0100 @@ -1,4 +1,4 @@ -.TH SUPPORTCONFIG.CONF 5 "12 Mar 2020" "supportutils" "Support Utilities Manual" +.TH SUPPORTCONFIG.CONF 5 "05 Feb 2021" "supportutils" "Support Utilities Manual" .SH NAME supportconfig.conf \- .BR supportconfig (8) @@ -123,9 +123,6 @@ OPTION_OFILES List of all open files using lsof. \fBopen-files.txt\fR (1) .TP -OPTION_PAM -Pluggable Authentication Module related information, including user account information. \fBpam.txt\fR (1) -.TP OPTION_PRINT Printing and CUPS related information. \fBprint.txt\fR (1) .TP @@ -189,6 +186,9 @@ .TP OPTION_XEN XEN virtualization related information. \fBxen.txt\fR (1) +.TP +FORCE_OPTION_PAM +Pluggable Authentication Module related information, including user account information. It is disabled in compliance with General Data Protection Regulation (GDPR). To consent to supportconfig collecting this information, set FORCE_OPTION_PAM=1. \fBpam.txt\fR (0) .PD .SS Additional Regular Options .TP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.1.13/spec/supportutils.changes new/supportutils-3.1.14/spec/supportutils.changes --- old/supportutils-3.1.13/spec/supportutils.changes 2020-12-31 18:17:54.466281381 +0100 +++ new/supportutils-3.1.14/spec/supportutils.changes 2021-02-08 16:31:24.541632319 +0100 @@ -1,4 +1,22 @@ ------------------------------------------------------------------- +Mon Feb 8 15:30:43 UTC 2021 - [email protected] + +- Additions to version 3.1.14 + + [powerpc] Collect logs for power specific components (HNV ) #88 (bsc#1181911) + + Updated pam.txt documentation explaining GDPR + +------------------------------------------------------------------- +Thu Feb 4 18:44:12 UTC 2021 - [email protected] + +- No longer truncates boot log (bsc#1181610) + +------------------------------------------------------------------- +Tue Jan 19 12:28:49 UTC 2021 - Thorsten Kukuk <[email protected]> + +- Require the awk, which and sed commands instead of packages to + allow alternate implementations on embedded/Edge systems + +------------------------------------------------------------------- Thu Dec 31 17:15:30 UTC 2020 - [email protected] - Additions to version 3.1.13 @@ -27,7 +45,7 @@ Thu Sep 3 14:51:50 UTC 2020 - [email protected] - Additions to version 3.1.12 - + [powerpc] Collect logs for power specific components #72 + + [powerpc] Collect logs for power specific components #72 (bscn#1176895) + supportconfig: fs-btrfs: Add "btrfs device stats" output #73 ------------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.1.13/spec/supportutils.spec new/supportutils-3.1.14/spec/supportutils.spec --- old/supportutils-3.1.13/spec/supportutils.spec 2020-12-31 17:47:25.230894164 +0100 +++ new/supportutils-3.1.14/spec/supportutils.spec 2021-02-08 16:31:26.449583777 +0100 @@ -19,7 +19,7 @@ %define support_libdir /usr/lib/supportconfig Name: supportutils -Version: 3.1.13 +Version: 3.1.14 Release: 0 Summary: Support Troubleshooting Tools License: GPL-2.0-only @@ -33,9 +33,9 @@ Requires: sysfsutils Requires: tar Requires: util-linux-systemd -Requires: which -Requires: sed -Requires: gawk +Requires: /usr/bin/which +Requires: /usr/bin/sed +Requires: /usr/bin/awk Provides: supportconfig-plugin-icommand Provides: supportconfig-plugin-resource Provides: supportconfig-plugin-tag
