[Bug 1670696] [NEW] Typo in error msg when no crashkernel memory reservation is set
Launchpad Bug Tracker
1670696 at bugs.launchpad.net
Tue Mar 7 15:41:10 UTC 2017
You have been subscribed to a public bug by Eric Desrochers (slashd):
[Impact]
* There is a typo in ERRMSG of function show_mem_usage affecting Xenial
and Zesty AND Debian.
This should be :
"show_mem_usage: No memory is reserved for crashkernel!"
instead of :
"show_mem_usage: No memory is reserved for crashkenrel!"
[Test Case]
* Take a system with no crashkernel memory reservation set
* run command : makedumpfile --mem-usage /proc/kcore
* Error message :
show_mem_usage: No memory is reserved for crashkenrel!
[Regression Potential]
* No regression, it is a trivial change with no behavioural change.
[Other Info]
The typo is located here in src code for Xenial and Zesty (devel
release) AND Debian:
# filename : makedumpfile.c
10447 int show_mem_usage(void)
10448 {
10449 uint64_t vmcoreinfo_addr, vmcoreinfo_len;
10450 struct cycle cycle = {0};
10451
10452 if (!is_crashkernel_mem_reserved()) {
10453 ERRMSG("No memory is reserved for crashkenrel!\n");
10454 return FALSE;
10455 }
* Debian bug : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857051
** Affects: makedumpfile (Ubuntu)
Importance: Low
Assignee: Eric Desrochers (slashd)
Status: In Progress
** Affects: makedumpfile (Ubuntu Xenial)
Importance: Low
Assignee: Eric Desrochers (slashd)
Status: In Progress
** Affects: makedumpfile (Ubuntu Zesty)
Importance: Low
Assignee: Eric Desrochers (slashd)
Status: In Progress
--
Typo in error msg when no crashkernel memory reservation is set
https://bugs.launchpad.net/bugs/1670696
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list