kdump-tools: Fails to load kdump kernel when /proc/cmdline contains double quotes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
makedumpfile (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Louis Bouchard | ||
Yakkety |
Fix Released
|
High
|
Louis Bouchard |
Bug Description
[SRU justification]
This fix is needed to avoid failure to load kdump-tools when one kernel boot parameter has double-quotes.
[Impact]
kdump functionality becomes unusable
[Fix]
Modify kdump-config to handle the presence of double-quotes in the cmdline
[Test Case]
Edit /etc/default/grub and add the following to GRUB_CMDLINE_
\"acpi_osi=!Windows 2012\"
$ sudo update-grub
$ sudo reboot
kdump-config will show the following error upon reboot :
[ 11.595868] kdump-tools[1710]: Cannot open `2012 irqpoll nr_cpus=1 nousb systemd.
uch file or directory
[ 11.602563] kdump-tools[1710]: * failed to load kdump kernel
With this fix, the kdump-config command will run successfully
[Regression]
None expected. Fix is already in Zesty & Debian. Only one line added to the sed statement.
[Original description of the problem]
kdump-tools fails to load if one of the kernel parameter has double-quotes
description: | updated |
tags: | added: sts-sru |
tags: |
added: verification-done-xenial verification-done-yakkety removed: verification-needed |
tags: |
added: sts-sru-done removed: sts-sru |
Debian bug for reference : https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 835600