When testing kdump-tools, take in mind that a reboot is needed after installing it. Otherwise, there is a chance that crashkernel memory space was not reserved by the kernel until a reboot is done. When doing that, this bug won't trigger, so it's also a workaround for this test. That is, reboot after installing kdump-tools, then trigger a crash.
Thank you. Cascardo. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to makedumpfile in Ubuntu. https://bugs.launchpad.net/bugs/1714485 Title: Ubuntu 16.04: kdump fails with error "kdump-tools[1532]: /etc/init.d /kdump-tools: 26: [: -ne: unexpected operator" when / file system is xfs. Status in The Ubuntu-power-systems project: Triaged Status in makedumpfile package in Ubuntu: Fix Released Status in makedumpfile source package in Xenial: New Status in makedumpfile source package in Zesty: Won't Fix Status in makedumpfile source package in Artful: New Status in makedumpfile source package in Bionic: Fix Released Bug description: == Comment: #0 - PAVITHRA R. PRAKASH <> - 2017-08-31 00:33:37 == ---Problem Description--- Ubuntu 16.04.03: kdump fails with error "kdump-tools[1532]: /etc/init.d/kdump-tools: 26: [: -ne: unexpected operator" when / file system is xfs. ---Steps to Reproduce--- 1. Install Ubuntu 16.04.03 with / as xfs. 2. Configure kdump. 3. trigger crash. Machine hangs after below log. Attaching console log. [ OK ] Reached target Network is Online. Starting Kernel crash dump capture service... Starting iSCSI initiator daemon (iscsid)... [ 12.263089] kdump-tools[1205]: /etc/init.d/kdump-tools: 26: [: -ne: unexpected operator [ OK ] Started Kernel crash dump capture service. [ OK ] Started iSCSI initiator daemon (iscsid). Starting Login to default iSCSI targets... [ OK ] Started Login to default iSCSI targets. [ OK ] Reached target Remote File Systems (Pre). 4. After manual reboot /etc/default/kdump-tools is empty. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1714485/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp

