Hello community, here is the log from the commit of package lkcdutils checked in at Tue May 9 00:40:47 CEST 2006. -------- --- lkcdutils/lkcdutils.changes 2006-04-28 14:36:11.000000000 +0200 +++ STABLE/lkcdutils/lkcdutils.changes 2006-05-04 12:57:39.000000000 +0200 @@ -1,0 +2,5 @@ +Thu May 4 12:57:19 CEST 2006 - hare@suse.de + +- Use the correct config file (#164964) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lkcdutils.spec ++++++ --- /var/tmp/diff_new_pack.FfPrYB/_old 2006-05-09 00:40:22.000000000 +0200 +++ /var/tmp/diff_new_pack.FfPrYB/_new 2006-05-09 00:40:22.000000000 +0200 @@ -14,7 +14,7 @@ BuildRequires: glib2-devel libelf popt-devel Summary: Linux Kernel Crash Dump (LKCD) Utilities Version: 7.0.1 -Release: 18 +Release: 21 License: GPL Group: System/Kernel # Original source is from Sourceforge CVS: @@ -174,6 +174,8 @@ #/usr/sbin/netdump-login-client %changelog -n lkcdutils +* Thu May 04 2006 - hare@suse.de +- Use the correct config file (#164964) * Fri Apr 28 2006 - hare@suse.de - Fix access to anonymous structs (#169406) - Fix crash with 'page' command (#169447) ++++++ lkcdutils-lkcd.boot ++++++ --- lkcdutils/lkcdutils-lkcd.boot 2006-04-24 09:03:52.000000000 +0200 +++ STABLE/lkcdutils/lkcdutils-lkcd.boot 2006-05-04 12:51:41.000000000 +0200 @@ -16,10 +16,11 @@ CONFIGDUMP=/usr/sbin/configdump SAVEDUMP=/usr/sbin/savedump +CONFIGFILE=/etc/sysconfig/dump load_modules() { - . /etc/sysconfig/dump + . $CONFIGFILE /sbin/modprobe dump 1>/dev/null 2>&1 if [ "$DUMP_COMPRESS" = "1" ]; then @@ -39,6 +40,8 @@ [ -x ${CONFIGDUMP} ] || exit 1 [ -x ${SAVEDUMP} ] || exit 1 +[ -f ${CONFIGFILE} ] && DUMPARGS="-c $CONFIGFILE" + # # Handle System V init conventions... # @@ -55,18 +58,16 @@ fi # Message - echo -n "Saving system crash dump (if necessary) " + echo -n "Saving system crash dump: " # Save crash dump (if one exists) - ${SAVEDUMP} + ${SAVEDUMP} ${DUMPARGS} - rc_status -v -r - echo -n "Configuring LKCD for crash dump " load_modules # Load configuration - ${CONFIGDUMP} + ${CONFIGDUMP} ${DUMPARGS} rc_status -v ;; @@ -74,13 +75,13 @@ echo -n "Reconfiguring LKCD for crash dump " load_modules # Reload configuration - ${CONFIGDUMP} + ${CONFIGDUMP} ${DUMPARGS} rc_status -v ;; stop) # Prevent crash dumps echo -n "Disabling LKCD" - ${CONFIGDUMP} -l 0 + ${CONFIGDUMP} -l 0 ${DUMPARGS} rc_status -v ;; *) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de