------- Comment From hbath...@in.ibm.com 2017-11-17 01:42 EDT------- (In reply to comment #15) > The investigation led me to find out that the config file is written by the > maintainer script, which does not sync it to disk. So, when the crash is > triggered right after the installation of kdump-tools, the file will be > empty and the dump won't happen.
Good that it is not a crazy file system bug. Thanks! -- 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.03: 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: In Progress 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 : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp