Comment 47 for bug 1828596

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2019-10-25 06:29 EDT-------
(In reply to comment #49)
> New version on ppa:cascardo/ppa for bionic. That should handle fadump and
> lock in the case of try-reload/condreload.
>
> Hari, can you give it a try?

Thanks, Cascardo. That works well for FADump case.
But is failing for KDump case though. With the below change
on top of the kdump-tools package you shared, things work
as expected for KDump case too:

---
diff --git a/usr/sbin/kdump-config.orig b/usr/sbin/kdump-config
index 08fe301..fd5e469 100755
--- a/usr/sbin/kdump-config.orig
+++ b/usr/sbin/kdump-config
@@ -923,7 +923,7 @@ reload()
condreload()
{
- local $sys_loaded="$sys_kexec_crash"
+ local sys_loaded="$sys_kexec_crash"
if [ "$DUMP_MODE" == "fadump" ] ; then
check_fadump_support
sys_loaded="$sys_fadump_registered"
---

Thanks
Hari