bugGNU GRUB - Bugs: bug #37137, Newline in grub.cfg breaks config

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #37137: Newline in grub.cfg breaks config

Submitted by:  -Deleted Account- <ctwx>
Submitted on:  Sat 18 Aug 2012 08:24:10 AM UTC  
 
Category: ConfigurationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: Wont FixPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: otherReproducibility: Every Time
Planned Release: None

Sat 18 Aug 2012 08:36:34 AM UTC, comment #1:

etc/default/grub isn't parsed but sourced into bash script. Hence it has to be a valid bash file. Since it's common way to do things and nobody complains about it in many different projects it's a won'tfix.

Vladimir Serbinenko <phcoder>
Project Administrator
Sat 18 Aug 2012 08:24:10 AM UTC, original submission:

My vim wrapped the line in my /etc/default/grub causing the interactive menu (editing entries while booting, pressing 'e' to edit the line) causing strange behaviour while editing the lines (it doesn't show my cursor or what I write) and caused my pc to stop booting sometimes.

Of course, one shouldn't add newlines on purpose, but sometimes it just happens.

I'm running Fedora 17 with GRUB 2, release 0.37 beta 6.

-Deleted Account- <ctwx>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by ctwx (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 18 Aug 2012 08:36:34 AM UTCphcoderStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1