From d2f87357e812a625762573e72d954c3eba679075 Mon Sep 17 00:00:00 2001 From: Jerry Hoemann Date: Tue, 23 Dec 2014 13:13:24 -0700 Subject: [PATCH] Rebuild initrd dependency during kdump restart kdumpctl now parses mount points in determining the partition to save the dump to. So /etc/fstab can be considered a configuration file for kdump. Change adds an additional depenedency check on /etc/fstab when kdump is restarted. Signed-off-by: Jerry Hoemann Acked-by: WANG Chao Acked-by: Dave Young --- kdumpctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdumpctl b/kdumpctl index a9e5d2e..1c97405 100755 --- a/kdumpctl +++ b/kdumpctl @@ -352,7 +352,7 @@ check_rebuild() EXTRA_BINS="$EXTRA_BINS $CHECK_FILES" CHECK_FILES=`grep ^extra_bins $KDUMP_CONFIG_FILE | cut -d\ -f2-` EXTRA_BINS="$EXTRA_BINS $CHECK_FILES" - files="$KDUMP_CONFIG_FILE $kdump_kernel $EXTRA_BINS" + files="$KDUMP_CONFIG_FILE $kdump_kernel $EXTRA_BINS /etc/fstab" check_exist "$files" && check_executable "$EXTRA_BINS" [ $? -ne 0 ] && return 1