commit supportutils for openSUSE:Factory
Hello community, here is the log from the commit of package supportutils for openSUSE:Factory checked in at Thu Jan 29 01:50:11 CET 2009. -------- --- supportutils/supportutils.changes 2009-01-24 00:07:09.000000000 +0100 +++ supportutils/supportutils.changes 2009-01-29 00:44:03.934181000 +0100 @@ -1,0 +2,7 @@ +Thu Jan 28 10:16:39 MDT 2009 - jrecord@novell.com + +-fixed 'network-bridge file not found (bnc#470258) +-fixed symlink directory listing (bnc#469871) +-supportconfig: 2.25-91 + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ supportutils.spec ++++++ --- /var/tmp/diff_new_pack.B10469/_old 2009-01-29 01:49:36.000000000 +0100 +++ /var/tmp/diff_new_pack.B10469/_new 2009-01-29 01:49:36.000000000 +0100 @@ -25,7 +25,7 @@ Group: System/Management AutoReqProv: on Version: 1.01 -Release: 33 +Release: 34 Source: %{name}-%{version}.tar.gz Summary: Support Troubleshooting Tools BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -85,6 +85,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jan 28 2009 jrecord@novell.com +-fixed 'network-bridge file not found (bnc#470258) +-fixed symlink directory listing (bnc#469871) +-supportconfig: 2.25-91 * Fri Jan 23 2009 jrecord@novell.com -added brctl showmacs to network.txt and xen.txt (bnc#469012) -modified and reorganized xen.txt (bnc#468510) ++++++ supportutils-1.01.tar.gz ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/supportutils-1.01/supportconfig new/supportutils-1.01/supportconfig --- old/supportutils-1.01/supportconfig 2009-01-24 00:05:29.000000000 +0100 +++ new/supportutils-1.01/supportconfig 2009-01-29 00:42:31.000000000 +0100 @@ -1,7 +1,7 @@ #!/bin/bash -SVER=2.25-89 -SDATE="2009 01 23" +SVER=2.25-91 +SDATE="2009 01 28" ############################################################################## # supportconfig - Gathers system troubleshooting information for NTS. @@ -950,7 +950,7 @@ OF=y2log.txt rpm_verify $OF yast2-packager rpm_verify $OF yast2-packagemanager - test -d /var/log/YaST2 && FILES=$(find /var/log/YaST2 -type f) || unset FILES + test -d /var/log/YaST2 && FILES=$(find /var/log/YaST2/ -type f) || unset FILES conf_files $OF /etc/youservers /etc/sysconfig/onlineupdate /etc/wgetrc test $ADD_OPTION_MINYAST -eq 0 && conf_files $OF $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES conf_files $OF /root/autoinst.xml /var/adm/autoinstall/cache/installedSystem.xml @@ -978,9 +978,9 @@ if rpm -q elilo &> /dev/null; then rpm_verify $OF elilo log_cmd $OF 'ls -l /usr/lib/elilo' - FILES="$(find /boot -type f | grep elilo.conf) $(find /etc -type f | grep elilo.conf)" + FILES="$(find /boot/ -type f | grep elilo.conf) $(find /etc/ -type f | grep elilo.conf)" conf_files $OF $FILES - log_cmd $OF "cksum /usr/lib/elilo/elilo.efi $(find /boot -type f | grep elilo.efi)" + log_cmd $OF "cksum /usr/lib/elilo/elilo.efi $(find /boot/ -type f | grep elilo.efi)" fi if rpm -q z390-tools &> /dev/null; then conf_files $OF /etc/zipl.conf @@ -1007,12 +1007,12 @@ CONF=/etc/smt.conf conf_files $OF /etc/smt.conf sed -i -e 's/^NUPass=[[:alnum:]]*/NUPass=*REMOVED*/;s/^pass=[[:alnum:]]*/pass=*REMOVED*/;s/^ProxyUser=[[:alnum:]]*/ProxyUser=*REMOVED*/;s/^mailServerPassword=[[:alnum:]]*/mailServerPassword=*REMOVED*/;s/^credentials=[[:alnum:]]*/credentials=*REMOVED*/' $LOG/$OF - FILES=$(find /etc/smt.d -type f) + FILES=$(find /etc/smt.d/ -type f) conf_files $OF $FILES log_cmd $OF 'smt-catalogs -o' log_cmd $OF 'smt-list-registrations' log_cmd $OF 'smt-list-products' - FILES=$(find /var/log -type f | grep smt- | grep log$) + FILES=$(find /var/log/ -type f | grep smt- | grep log$) test $ADD_OPTION_LOGS -eq 1 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES echolog Done else @@ -1151,7 +1151,7 @@ log_cmd $OF 'ndsconfig get' log_cmd $OF "ls -l $DIBDIR" conf_files $OF $DIBDIR/_ndsdb.ini - test -d $NDSDIR && FILES=$(find $NDSDIR -type f -maxdepth 1 -name \*log) || FILES="" + test -d $NDSDIR && FILES=$(find ${NDSDIR}/ -type f -maxdepth 1 -name \*log) || FILES="" test $ADD_OPTION_LOGS -eq 1 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES else ((SKIP++)) @@ -1165,7 +1165,7 @@ rpm_verify $OF novell-NDSserv INST_DIR='/etc/opt/novell/eDirectory/conf/.edir' - test -d $INST_DIR && NDS_DEF_INST="$(find $INST_DIR -type f)" || NDS_DEF_INST="" + test -d $INST_DIR && NDS_DEF_INST="$(find ${INST_DIR}/ -type f)" || NDS_DEF_INST="" if [ -f $SRCH_FILE ]; then echonlog Searching NDS_INST_FILES="$(grep instances $SRCH_FILE | grep eDirectory)" @@ -1219,7 +1219,7 @@ log_cmd $OF "ndsconfig get --config-file $NDS_CONFILE" log_cmd $OF "ls -l $DIBDIR" conf_files $OF $DIBDIR/_ndsdb.ini - test -d $NDSDIR && FILES=$(find $NDSDIR -maxdepth 1 -type f -name \*log) || FILES="" + test -d $NDSDIR && FILES=$(find ${NDSDIR}/ -maxdepth 1 -type f -name \*log) || FILES="" test $ADD_OPTION_LOGS -eq 1 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES done else @@ -1247,7 +1247,7 @@ do log_cmd $OF "ncpcon volume $VOLUME" done - test -d /var/opt/novell/log && FILES=$(find /var/opt/novell/log -type f | grep log) || FILES="" + test -d /var/opt/novell/log && FILES=$(find /var/opt/novell/log/ -type f | grep log) || FILES="" test $ADD_OPTION_LOGS -eq 1 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES echolog Done else @@ -1316,10 +1316,10 @@ for NCS_CHK_DIR in /var/run/ncs $NCSE_DIR $NCSV_DIR do if [ -d $NCS_CHK_DIR ]; then - SCRIPTS="$SCRIPTS $(find $NCS_CHK_DIR -type f -name \*load | sort)" - NCSCONFS="$NCSCONFS $(find $NCS_CHK_DIR -type f -name \*conf | sort)" - NCSXML="$NCSXML $(find $NCS_CHK_DIR -type f -name \*xml | sort)" - RESOURCELOGS="$RESOURCELOGS $(find $NCS_CHK_DIR -type f -name \*out | sort)" + SCRIPTS="$SCRIPTS $(find ${NCS_CHK_DIR}/ -type f -name \*load | sort)" + NCSCONFS="$NCSCONFS $(find ${NCS_CHK_DIR}/ -type f -name \*conf | sort)" + NCSXML="$NCSXML $(find ${NCS_CHK_DIR}/ -type f -name \*xml | sort)" + RESOURCELOGS="$RESOURCELOGS $(find ${NCS_CHK_DIR}/ -type f -name \*out | sort)" fi done @@ -1368,10 +1368,10 @@ conf_files $OF /etc/group log_cmd $OF 'getent group' log_write $OF "#==[ Files in /etc/security ]=======================#" - test -d /etc/security && FILES="$(find /etc/security -type f -name \*conf)" || FILES="" + test -d /etc/security && FILES="$(find /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 /etc/pam.d -type f)" || FILES="" + test -d /etc/pam.d && FILES="$(find /etc/pam.d/ -type f)" || FILES="" conf_files $OF $FILES echolog Done } @@ -1410,10 +1410,10 @@ # Find .der files for LDAPS authentication if [ -d /var/nam ]; then NAM_DIR="/var/nam" - DER_LIST=$(find $NAM_DIR -type f | grep der$) + DER_LIST=$(find ${NAM_DIR}/ -type f | grep der$) elif [ -d /var/lib/novell-lum ]; then NAM_DIR="/var/lib/novell-lum" - DER_LIST=$(find $NAM_DIR -type f | grep der$) + DER_LIST=$(find ${NAM_DIR}/ -type f | grep der$) else NAM_DIR="" DER_LIST="" @@ -1496,7 +1496,7 @@ log_cmd $OF 'getconf -a' log_cmd $OF 'ipcs -l' log_cmd $OF 'ipcs -a' - test -d /etc/default && FILES=$(find /etc/default -type f) || FILES="" + test -d /etc/default && FILES=$(find /etc/default/ -type f) || FILES="" conf_files $OF $FILES log_cmd $OF 'env' # s390 specific @@ -1527,7 +1527,7 @@ log_cmd $OF 'chkconfig --list' LOGFILE=$LOG/$OF echo "# individual boot services:" >> $LOGFILE - for BOOTSERVICE in $(find /etc/init.d -type f -name boot\* | grep -v rpmsave$) + for BOOTSERVICE in $(find /etc/init.d/ -type f -name boot\* | grep -v rpmsave$) do NAME=$(basename $BOOTSERVICE) STATUS=$(chkconfig $NAME 2>>$LOGFILE) @@ -1545,19 +1545,19 @@ check_service $OF cron 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="" + 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 ###" for CRONDIR in $CRONS do - log_cmd $OF "find /etc/$CRONDIR -type f" + log_cmd $OF "find /etc/${CRONDIR}/ -type f" done log_write $OF "### System Cron Job File Content ###" conf_files $OF /etc/crontab for CRONDIR in $CRONS do - FILES=$(find /etc/$CRONDIR -type f) + FILES=$(find /etc/${CRONDIR}/ -type f) conf_files $OF $FILES done echolog Done @@ -1570,9 +1570,9 @@ then check_service $OF atd log_write $OF "### System at Job File List ###" - log_cmd $OF "find /var/spool/atjobs -type f" + log_cmd $OF "find /var/spool/atjobs/ -type f" log_write $OF "### System at Job File Content ###" - FILES=$(find /var/spool/atjobs -type f) + FILES=$(find /var/spool/atjobs/ -type f) conf_files $OF $FILES echolog Done else @@ -1681,12 +1681,12 @@ log_cmd $OF 'dmsetup table' log_cmd $OF 'dmsetup info' log_cmd $OF "udevinfo $UDEVOPT" - test -d /proc/scsi && SCSI_DIRS=$(find /proc/scsi -type d) || SCSI_DIRS="" + test -d /proc/scsi && SCSI_DIRS=$(find /proc/scsi/ -type d) || SCSI_DIRS="" for SDIR in $SCSI_DIRS do # Skip unwanted scsi directories test "$SDIR" = "/proc/scsi" -o "$SDIR" = "/proc/scsi/sg" -o "$SDIR" = "/proc/scsi/mptspi" && continue - FILES=$(find $SDIR -maxdepth 1 -type f 2>/dev/null) + FILES=$(find ${SDIR}/ -maxdepth 1 -type f 2>/dev/null) conf_files $OF $FILES done log_cmd $OF 'multipath -v3 -d' @@ -1731,7 +1731,7 @@ fi if [ $ADD_OPTION_LOGS -eq 1 ]; then log_write $OF "# >Additional Logs Activated" - FILES=$(find /var/log -type f -name 'evms-engine*') + FILES=$(find /var/log/ -type f -name 'evms-engine*') else FILES="/var/log/evms-engine.log" fi @@ -1858,10 +1858,10 @@ log_write $OF fi done - test -d /etc/sysconfig/network && FILES=$(find /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 if [ -d /proc/net/bonding ]; then - FILES=$(find /proc/net/bonding -type f) + FILES=$(find /proc/net/bonding/ -type f) conf_files $OF $FILES fi FILES=$(grep logfile /etc/nscd.conf | grep -v ^# | awk '{print $2}' | tail -1) @@ -1908,9 +1908,9 @@ log_cmd $OF 'iostat -x 1 4' log_cmd $OF 'sg_map -i -x' if [ -d /sys/block ]; then - IDE_DISKS=$(find /sys/block -maxdepth 1 | grep hd\.) - SCSI_DISKS=$(find /sys/block -maxdepth 1 | grep sd\.) - CCISS_DISKS=$(find /sys/block -maxdepth 1 | grep cciss\*) + IDE_DISKS=$(find /sys/block/ -maxdepth 1 | grep hd\.) + SCSI_DISKS=$(find /sys/block/ -maxdepth 1 | grep sd\.) + CCISS_DISKS=$(find /sys/block/ -maxdepth 1 | grep cciss\*) else IDE_DISKS="" SCSI_DISKS="" @@ -1921,11 +1921,11 @@ if [ -n "$IDE_DISKS" -a -d /proc/ide ]; then log_write $OF "#==[ IDE Detailed Info ]============================#" log_write $OF "#---------------------------------------------------#" - FILES=$(find /proc/ide -maxdepth 1 -type f 2>/dev/null) + FILES=$(find /proc/ide/ -maxdepth 1 -type f 2>/dev/null) conf_files $OF $FILES if rpm_verify $OF hdparm then - DISKS=$(find /proc/ide -maxdepth 1 | grep hd\. | sort) + DISKS=$(find /proc/ide/ -maxdepth 1 | grep hd\. | sort) for DISK in $DISKS do CURRENT_DISK="/dev/$(basename $DISK)" @@ -1947,11 +1947,11 @@ done fi log_cmd $OF 'lsscsi -v' - test -d /proc/scsi && SCSI_DIRS=$(find /proc/scsi -type d) || SCSI_DIRS="" + test -d /proc/scsi && SCSI_DIRS=$(find /proc/scsi/ -type d) || SCSI_DIRS="" for SDIR in $SCSI_DIRS do test "$SDIR" = "/proc/scsi" -o "$SDIR" = "/proc/scsi/sg" -o "$SDIR" = "/proc/scsi/mptspi" && continue - FILES=$(find $SDIR -maxdepth 1 -type f 2>/dev/null) + FILES=$(find ${SDIR}/ -maxdepth 1 -type f 2>/dev/null) conf_files $OF $FILES done fi @@ -1959,7 +1959,7 @@ if [ -n "$CCISS_DISKS" -a -d /proc/driver/cciss ]; then log_write $OF "#==[ CCISS Detailed Info ]==========================#" log_write $OF "#---------------------------------------------------#" - FILES=$(find /proc/driver/cciss -maxdepth 1 -type f 2>/dev/null) + FILES=$(find /proc/driver/cciss/ -maxdepth 1 -type f 2>/dev/null) conf_files $OF $FILES fi log_cmd $OF 'sfdisk -d' @@ -2121,7 +2121,7 @@ if [ -f $UDEV_CONF ]; then . $UDEV_CONF if [ -d "${udev_rules:=/etc/udev/rules.d}" ]; then - FILES=$(find $udev_rules -type f) + FILES=$(find ${udev_rules}/ -type f) conf_files $OF $FILES fi test "$udev_db" != "" && log_cmd $OF "ls -l $udev_db" @@ -2153,7 +2153,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 /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 else ((SKIP++)) @@ -2171,7 +2171,7 @@ if [ -f $DUMPCFG ]; then DUMPDIR=$(grep ^KDUMP_SAVEDIR $DUMPCFG | sed -e 's/"//g' | cut -d= -f2) if [ -d $DUMPDIR ]; then - log_cmd $OF "find $DUMPDIR" + log_cmd $OF "find ${DUMPDIR}/" fi fi else @@ -2298,7 +2298,7 @@ NETCMD="/etc/xen/scripts/$NETCMDTEST" fi fi - XSCRIPTS=$(grep '\-script' $XCONF 2>/dev/null | grep '^(' | awk '{print $2}' | sed -e 's/)//g') + XSCRIPTS=$(grep '\-script' $XCONF 2>/dev/null | grep '^(' | awk '{print $2}' | sed -e "s/)//g;s/'//g") test -n "$NETCMD" && log_cmd $OF "$NETCMD status" fi @@ -2314,18 +2314,18 @@ log_cmd $OF 'ls -alR /etc/xen/vm/' log_cmd $OF 'ls -alR /etc/xen/images/' - test -d /etc/xen/vm && FILES=$(find /etc/xen/vm -type f) || FILES="" + test -d /etc/xen/vm && FILES=$(find /etc/xen/vm/ -type f | sort) || FILES="" conf_text_files $OF $FILES log_cmd $OF 'xm list -l' - test -d /var/lib/xend/domains && FILES=$(find /var/lib/xend/domains -type f | grep config.sxp) || FILES="" + test -d /var/lib/xend/domains && FILES=$(find /var/lib/xend/domains/ -type f | grep config.sxp) || FILES="" conf_text_files $OF $FILES if [ $ADD_OPTION_LOGS -eq 1 ]; then - test -d /root/.virt-manager && FILES="$(find /root/.virt-manager -type f)" || FILES="" - test -d /var/log/xen && FILES="$FILES $(find /var/log/xen -type f | sort)" + test -d /root/.virt-manager && FILES="$(find /root/.virt-manager/ -type f)" || FILES="" + test -d /var/log/xen && FILES="$FILES $(find /var/log/xen/ -type f | sort)" else test -d /root/.virt-manager && FILES=/root/.virt-manager/virt-manager.log || FILES="" - test -d /var/log/xen && FILES="$FILES $(find /var/log/xen -type f | grep 'log$' | sort)" + test -d /var/log/xen && FILES="$FILES $(find /var/log/xen/ -type f | grep 'log$' | sort)" fi test $ADD_OPTION_LOGS -eq 1 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES @@ -2362,7 +2362,7 @@ log_cmd $OF "/etc/init.d/boot.apparmor status" log_cmd $OF 'unconfined' log_files $OF 0 /var/log/audit/audit.log - test -d /etc/apparmor && FILES=$(find /etc/apparmor | grep conf) || FILES="" + test -d /etc/apparmor && FILES=$(find /etc/apparmor/ | grep conf) || FILES="" conf_files $OF $FILES else ((SKIP++)) @@ -2386,7 +2386,7 @@ CHECKDIR="/var/lib/heartbeat/pengine" HALOG="$LOG/ha-pengine" if [ -d $CHECKDIR ]; then - FOUND=$(find $CHECKDIR -type f) + FOUND=$(find ${CHECKDIR}/ -type f) if [ -n "$FOUND" ]; then mkdir -p $HALOG log_write $OF "#==[ Command ]======================================#" @@ -2418,7 +2418,7 @@ done done fi - test -d /var/lib/heartbeat && FILES=$(find /var/lib/heartbeat -type f | egrep -v "cores|pengine|hb_uuid") || FILES="" + test -d /var/lib/heartbeat && FILES=$(find /var/lib/heartbeat/ -type f | egrep -v "cores|pengine|hb_uuid") || FILES="" conf_files $OF /etc/ha_logd.cf $FILES test $SLES_VER -ge 100 && log_cmd $OF 'cibadmin -Q' FILES="/var/log/ha-log" @@ -2441,7 +2441,7 @@ then conf_files $OF /etc/slp.conf /etc/slp.reg /etc/slp.spi if [ -d /etc/slp.reg.d ]; then - FILES=$(find /etc/slp.reg.d -type f) + FILES=$(find /etc/slp.reg.d/ -type f) conf_files $OF $FILES fi log_cmd $OF 'slptool findscopes' @@ -2478,12 +2478,12 @@ conf_files $OF "/etc/ocfs2/cluster.conf /etc/sysconfig/o2cb" CHECKDIR="/sys/o2cb" if [ -d $CHECKDIR ]; then - FILES=$(find $CHECKDIR -type f) + FILES=$(find ${CHECKDIR}/ -type f) conf_files $OF $FILES fi CHECKDIR="/sys/kernel/config/cluster" if [ -d $CHECKDIR ]; then - FILES=$(find $CHECKDIR -type f) + FILES=$(find ${CHECKDIR}/ -type f) conf_files $OF $FILES fi FILES="/var/log/messages" @@ -2572,7 +2572,7 @@ fi if [ -d /var/log/samba ]; then - FILES=$(find /var/log/samba -type f) + FILES=$(find /var/log/samba/ -type f) test $ADD_OPTION_LOGS -eq 1 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES fi @@ -2692,7 +2692,7 @@ printlog "ETC..." test $OPTION_ETC -eq 0 && { echolog Excluded; return 1; } OF=etc.txt - conf_files $OF $(find /etc -type f | grep conf$) + conf_files $OF $(find /etc/ -type f | grep conf$) conf_files $OF /etc/rc.dialout /etc/ppp/options /etc/ppp/ioptions /etc/ppp/peers/pppoe echolog Done } @@ -2701,13 +2701,13 @@ printlog "SYSCONFIG..." test $OPTION_SYSCONFIG -eq 0 && { echolog Excluded; return 1; } OF=sysconfig.txt - for FILE in $(find /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 /etc/sysconfig -type d | grep -v "/etc/sysconfig$" | sort) + for FDIR in $(find /etc/sysconfig/ -type d | grep -v "/etc/sysconfig$" | sort) do - for FILE in $(find $FDIR -type f | sort) + for FILE in $(find ${FDIR}/ -type f | sort) do conf_files $OF $FILE done @@ -2719,7 +2719,7 @@ printlog "PROC..." test $OPTION_PROC -eq 0 && { echolog Excluded; return 1; } OF=proc.txt - for FILE in $(find /proc -maxdepth 1 -type f 2>/dev/null | egrep -v "kcore$|config.gz$|kmsg$|sysrq-trigger$|kallsyms$|mm$" | sort -f) + for FILE in $(find /proc/ -maxdepth 1 -type f 2>/dev/null | egrep -v "kcore$|config.gz$|kmsg$|sysrq-trigger$|kallsyms$|mm$" | sort -f) do conf_files $OF $FILE done @@ -2804,10 +2804,10 @@ log_cmd $OF "grep cpuset /etc/mtab" CPUSET=$(grep ' cpuset ' /etc/mtab | cut -d' ' -f2) if [ -n "$CPUSET" ]; then - log_cmd $OF "find $CPUSET -type f" - FILES=$(find $CPUSET -type f) + log_cmd $OF "find ${CPUSET}/ -type f" + FILES=$(find ${CPUSET}/ -type f) conf_files $OF $FILES - for TASKS in $(find $CPUSET -type f | grep tasks) + for TASKS in $(find ${CPUSET}/ -type f | grep tasks) do log_write $OF "#==[ Task Scheduling ]==============================#" log_write $OF "# Threads in CPUSET: $TASKS" @@ -2840,7 +2840,7 @@ log_cmd $OF 'netstat -nlp | grep cupsd' log_cmd $OF '/usr/lib/cups/backupend/parallel' log_cmd $OF '/usr/lib/cups/backupend/usb' - test -d /etc/cups/ppd && PPDFILES=$(find /etc/cups/ppd -type f) || PPDFILES="" + test -d /etc/cups/ppd && PPDFILES=$(find /etc/cups/ppd/ -type f) || PPDFILES="" conf_files $OF /etc/sysconfig/printer /etc/printcap /etc/cups/cupsd.conf /etc/cups/printers.conf /etc/cups/mime.types /etc/cups/mime.convs $PPDFILES FILES="/var/log/cups/error_log /var/log/cups/error_log.test /tmp/prnlog" test $ADD_OPTION_LOGS -eq 1 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES @@ -2904,9 +2904,9 @@ conf_files $OF /etc/named.conf $FILES /etc/sysconfig/named ZDIR=$(grep ^[[:space:]]*directory /etc/named.conf | cut -d';' -f1 | sed -e 's/"//g' | awk '{print $2}') if [ -n "$ZDIR" ]; then - FILES=$(find $ZDIR -type f | grep zone) || unset FILES + FILES=$(find ${ZDIR}/ -type f | grep zone) || unset FILES conf_files $OF $FILES - FILES=$(find $ZDIR -type f | egrep -v "localtime|zone") || unset FILES + FILES=$(find ${ZDIR}/ -type f | egrep -v "localtime|zone") || unset FILES conf_files $OF $FILES fi log_cmd $OF "grep named /var/log/warn" @@ -2972,7 +2972,7 @@ log_cmd $OF 'lsmod' log_cmd $OF 'ibv_devinfo -v' log_cmd $OF 'ibdiagnet' - FILES=$(find /tmp -type f | grep ibdiagnet) + FILES=$(find /tmp/ -type f | grep ibdiagnet) test $ADD_OPTION_LOGS -eq 1 && log_files $OF 0 $FILES || log_files $OF $VAR_OPTION_LINE_COUNT $FILES echolog Done else @@ -2986,7 +2986,7 @@ PSPFILES="/var/log/hppldu.log" test $ADD_OPTION_LOGS -eq 1 && log_files $OFPSP 0 $PSPFILES || log_files $OFPSP $VAR_OPTION_LINE_COUNT $PSPFILES if [ -d /var/hp ]; then - PSPCFILES="$(find /var/hp -type f)" + PSPCFILES="$(find /var/hp/ -type f)" conf_files $OFPSP $PSPCFILES fi fi diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/supportutils-1.01/supportutils.changes new/supportutils-1.01/supportutils.changes --- old/supportutils-1.01/supportutils.changes 2009-01-24 00:05:29.000000000 +0100 +++ new/supportutils-1.01/supportutils.changes 2009-01-29 00:42:31.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Jan 28 10:16:39 MDT 2009 - jrecord@novell.com + +-fixed 'network-bridge file not found (bnc#470258) +-fixed symlink directory listing (bnc#469871) +-supportconfig: 2.25-91 + +------------------------------------------------------------------- Thu Jan 23 15:55:37 MDT 2009 - jrecord@novell.com -added brctl showmacs to network.txt and xen.txt (bnc#469012) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/supportutils-1.01/supportutils.spec new/supportutils-1.01/supportutils.spec --- old/supportutils-1.01/supportutils.spec 2009-01-24 00:05:29.000000000 +0100 +++ new/supportutils-1.01/supportutils.spec 2009-01-29 00:42:31.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package supportutils (Version 1.01.31) +# spec file for package supportutils (Version 1.01.32) # # Copyright (C) 2008 Novell, Inc. # This file and all modifications and additions to the pristine @@ -18,7 +18,7 @@ Group: System/Management Autoreqprov: on Version: 1.01 -Release: 31 +Release: 32 Source: %{name}-%{version}.tar.gz Summary: Support Troubleshooting Tools BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de