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.

I have fixed this upstream by changing the maintainer script to use ucf
and syncing it. Downstream, I may simply add the sync.

The other thing I might fix is dumping and rebooting when we are running
the dump kernel, because USE_KDUMP should be about automatically loading
the kdump kernel, not about whether to kdump or not when kdump kernel is
running.

Cascardo.

** Changed in: makedumpfile (Ubuntu)
       Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1714485/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to