Bug ID 1105075
Summary grub2-once does not parse /etc/sysconfig/bootloader properly
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.0
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Bootloader
Assignee jsrain@suse.com
Reporter jack@suse.com
QA Contact jsrain@suse.com
Found By ---
Blocker ---

Created attachment 779931 [details]
Patch to make grub2-once sysconf parsing more permissive

grub2-once parses /etc/sysconfig/bootloader to determine value of LOADER_TYPE
variable. However the regular expression there assumes that loader type has to
have quotes around the value which is not always the case (generally
assignments are treated the same way as in shell). This causes failure of
grub2-once when used on openstack instances.

I suggest the regexp should be more permissive to allow but not require quotes.
Something like attached patch.


You are receiving this mail because: