[Bug 1091521] New: Bootloader install fails if /etc/default/grub is not present
http://bugzilla.suse.com/show_bug.cgi?id=1091521 Bug ID: 1091521 Summary: Bootloader install fails if /etc/default/grub is not present Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: tchvatal@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- If the fine in $SUMMARY is not present on system the installed throws ruby backtrace. Technically this file is not really mandatory for the grub installation, it just presents more options but it can be all commented out. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1091521
http://bugzilla.suse.com/show_bug.cgi?id=1091521#c1
--- Comment #1 from Tomáš Chvátal
http://bugzilla.suse.com/show_bug.cgi?id=1091521
http://bugzilla.suse.com/show_bug.cgi?id=1091521#c2
Josef Reidinger
http://bugzilla.suse.com/show_bug.cgi?id=1091521
http://bugzilla.suse.com/show_bug.cgi?id=1091521#c3
Lukas Ocilka
http://bugzilla.suse.com/show_bug.cgi?id=1091521
http://bugzilla.suse.com/show_bug.cgi?id=1091521#c4
Josef Reidinger
Josef, I guess that fix could be quite easy (well, depends). We could also fix this with a MU if needed. Ruby exceptions are not nice, but this one is close to cutting a branch that you are sitting at anyway ;)
Is there a scenario where it's a wanted state to live without /etc/default/grub? Is that some kind of a feature, or is it just a theoretical state of the system?
I do not know such state. File is created during installation, it is owned by grub2 itself and to be honest I see it only few times and always it was accident that it was deleted. So it is more like recovery from broken state here for me. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1091521
http://bugzilla.suse.com/show_bug.cgi?id=1091521#c5
Martin Vidner
http://bugzilla.suse.com/show_bug.cgi?id=1091521
http://bugzilla.suse.com/show_bug.cgi?id=1091521#c6
Tomáš Chvátal
IMHO the file is strictly speaking optional for grub2(*), but in practice required by yast. I think that allowing the file to be missing would complicate yast further, with little gains.
Tomas, did you remove the file yourself, or did some other program do it?
*) Docs: https://www.gnu.org/software/grub/manual/grub/grub.html#Simple-configuration
I am not sure if I deleted it myself as it is long time migrated machine, I guess we can close this as wontfix if you guys simply say the config file must be present :) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1091521
http://bugzilla.suse.com/show_bug.cgi?id=1091521#c7
Josef Reidinger
participants (1)
-
bugzilla_noreply@novell.com