Bug#572302: even blank lines in grub.cfg are also syntax errors these days

jidanni at jidanni.org jidanni at jidanni.org
Wed Mar 3 02:12:59 UTC 2010


X-debbugs-cc: bug-grub at gnu.org
Severity: grave
Package: grub-common
Version: 1.98~experimental.20100120-1
File: /usr/bin/grub-script-check

# cat /boot/grub/grub.cfg| grub-script-check --verbose |wc -l
8
# sed /^$/d /boot/grub/grub.cfg| grub-script-check --verbose |wc -l
25

And not only blank lines are now errors. And any error will lock one
out of one's computer the next time one boots.

And plently of formerly valid blank lines are still being put into grub.cfg here on Debian.

Hence the user is guaranteed not to even reach the chooser menu next
boot, but instead just get "syntax error, press any key", and thus is
guaranteed to be locked out of his computer.





More information about the Pkg-grub-devel mailing list