On 05/09/17 at 05:30pm, Xunlei Pang wrote:
We met one issue that when changing softlink of
"/usr/bin/sh"
to point to "ksh" instead of the default "bash", kdumpctl will
not work and go wrong.
kdumpctl is expected to run under bash like dracut, we should
change its shebang header from "#!/bin/sh" to "#!/bin/bash".
Signed-off-by: Xunlei Pang <xlpang(a)redhat.com>
---
kdumpctl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kdumpctl b/kdumpctl
index 4d6b3e8..d35c83a 100755
--- a/kdumpctl
+++ b/kdumpctl
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/bash
KEXEC=/sbin/kexec
KDUMP_KERNELVER=""
--
1.8.3.1
_______________________________________________
kexec mailing list -- kexec(a)lists.fedoraproject.org
To unsubscribe send an email to kexec-leave(a)lists.fedoraproject.org
Acked-by: Dave Young <dyoung(a)redhat.com>
Thanks
Dave