bugGNU GRUB - Bugs: bug #44239, Behavior of syslinux_parse differs...

 
 

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

bug #44239: Behavior of syslinux_parse differs from SYSLINUX for initrd= option

Submitted by:  Lunar <lunar>
Submitted on:  Fri 13 Feb 2015 04:36:45 PM UTC  
 
Category: ConfigurationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Git masterReproducibility: Every Time
Planned Release: None

Fri 13 Feb 2015 07:14:19 PM UTC, comment #1:

Can't comment about behavior itself. Re. patch

+ cmdline = grub_strdup(curentry->append);
Error check missing.

+ grub_free(cmdline);
You need to delete free(cmdline) later.

Again, can you post updated version to grub-devel for easier review?

Andrei Borzenkov <arvidjaar>
Project Member
Fri 13 Feb 2015 04:36:45 PM UTC, original submission:

SYSLINUX parses but does not remove "initrd=..." option from the kernel command line. As some distributions (e.g. Tails) rely on its
presence, it would be better to have the same behavior.

The attached patch has been tested and makes Tails behave as it does with SYSLINUX.

Lunar <lunar>

 

Attached Files
file #33061:  0001-syslinux_parse-keep-initrd-in-kernel-the-command-lin.patch added by lunar (2KiB - text/x-diff - Patch to keep initrd= in kernel the command line)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Updated the item)
  • -unavailable- added by arvidjaar (Posted a comment)
  • -unavailable- added by lunar (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 16 Feb 2015 03:06:38 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 13 Feb 2015 04:36:45 PM UTClunarAttached File-=>Added 0001-syslinux_parse-keep-initrd-in-kernel-the-command-lin.patch, #33061

    Back to the top


    Powered by Savane 3.1-cleanup1