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

Submitter:  Lunar <lunar>
Submitted:  Fri 13 Feb 2015 04:36:45 PM UTC
   
 
Category:  Configuration Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  Git master
Release:  Reproducibility:  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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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
  • -email is unavailable- added by phcoder (Updated the item)
  • -email is unavailable- added by arvidjaar (Posted a comment)
  • -email is unavailable- added by lunar (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-16 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2015-02-13 lunar Attached File- Added 0001-syslinux_parse-keep-initrd-in-kernel-the-command-lin.patch, #33061

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code