[Bug 1906175] [NEW] failed to update-grub
Launchpad Bug Tracker
1906175 at bugs.launchpad.net
Sun Jan 3 09:23:36 UTC 2021
*** This bug is a security vulnerability ***
You have been subscribed to a public security bug:
Ubuntu 20.04.1 LTS
Observed fact:
after running "update-grub" command, I get the following errors
Adding boot menu entry for UEFI Firmware Settings
error: out of memory.
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 309
Syntax errors are detected in generated GRUB config file.
Analysis:
LANG is set to "en_US.UTF-8"
when "update-grub" calls /etc/grub.d/00_header line
23 grub_lang=`echo $LANG | cut -d . -f 1` ==> produces grub_lang="en_US wihout ending quote
Proposed fix:
not sure how to deal with that subject
maybe it is enough to remove quotes around LANG setting
in my setup /etc/default/locale, LANG is set to C, later it is set to "en_US.UTF-8", don't know the process
** Affects: grub2 (Ubuntu)
Importance: Undecided
Status: New
--
failed to update-grub
https://bugs.launchpad.net/bugs/1906175
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to grub2 in Ubuntu.
More information about the foundations-bugs
mailing list