crashkernel setting rarely works on a system with little memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
In the file /etc/grub.
you will find:
87 # add crashkernel option if we have the required tools
88 if [ -x "/usr/bin/
89 GRUB_CMDLINE_
90 fi
However, I've not seen the 384M-2G:64M work since precise. It works fine if you bump it up to 128M (or just make it crashkernel=128M)
It's not clear to me where to make this change:
medberry@
./.pc/ubuntu_
./.pc/ubuntu_
./.pc/ubuntu_
./.pc/ubuntu_
./.pc/ubuntu_
./.pc/ubuntu_
./.pc/ubuntu_
./.pc/ubuntu_
./.pc/ubuntu_
./.pc/ubuntu_
./util/
./util/
as it appears so many times but the likeliest place is a new patch somewhere. Alternatively, having a way to modify this via something akin to grub.d/42_custom may work.
(This may be considered a Denial of Service as a crash won't work without enough memory and may hang booting--but crashing in the first place is already a limited DoS....)
summary: |
- crashkernel setting rarely works + crashkernel setting rarely works on a system with little memory |
Changed in grub2 (Ubuntu): | |
importance: | Undecided → Medium |
Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.