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 jerry.hoemann@hp.com --- 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
On 12/23/14 at 01:13pm, Jerry Hoemann wrote:
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 jerry.hoemann@hp.com
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
-- 1.9.3
Acked-by: Dave Young dyoung@redhat.com
Thanks Dave
On 12/23/14 at 01:13pm, Jerry Hoemann wrote:
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 jerry.hoemann@hp.com
Yeah, we do get mount options from /etc/fstab now. This patch makes sense to me.
Acked-by: WANG Chao chaowang@redhat.com
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
-- 1.9.3
kexec mailing list kexec@lists.fedoraproject.org https://lists.fedoraproject.org/mailman/listinfo/kexec