bugGNU GRUB - Bugs: bug #54439, grub may ignore configuration files

 
 

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

bug #54439: grub may ignore configuration files

Submitter:  Thomas Schweikle <tps800>
Submitted:  Fri 03 Aug 2018 02:19:47 PM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Thomas Schweikle
Open/Closed:  Open Release:  2.02
Release:  Reproducibility:  Intermittent
Planned Release:  None

Fri 03 Aug 2018 02:19:47 PM UTC, original submission:  

if grub fetches configuration files from network some configuration files may be ignored without error.

Within an install area grub is used to select what to install on systems. For testing and repair there are additional images available.

This worked as it was intended for some time. But now -- grub starts to ignore some of the configuration files, without any reported errors. Giving "c" for a command line, then reading these ignored configuration files using "configfile (pxe)/<path on server>/grub.cfg" loads them without error and I can start whatever they load. Reloading the entire configuration (in my case "configfile /grub/grub.cfg" just ignores these config files again.

I could verify this for at least two grub-versions:
- 2.02 (fedora 28)
- 2.02beta2 (ubuntu 16.04)

Attached Files:
- grub config files with tftp-root based at /data/tftp
- grub right after booting. Missing are "SystemRescueCD" and "HelenOS".
- grub after reloading configurations once. Missing is "SystemRescueCD".
- grub after reloading configuration twice. Missing is "SystemRescueCD" and "HelenOS".

Going to grub commandline and then:
- "configfile (pxe)/sysrcd/grub.cfg" brings up the missing "SystemRescueCD"-Menu without any error reported.
- "configfile (pxe)/helenos/grub.cfg" brings up missing "HelenOS"-Menu without any error reported.

All menus may disappear or reappear sporadic if they are loaded using tftp from network. In no case I was prompted with any error message. In no case I could find any error messages on my tftp-server -- it just delivered the files requested.

It looks like these files where never, for what reason ever, read, but transfered to grub. Even if these ignored files hold only garbage, grub will not exhaust an error message if the corresponding menu-entry is not shown.

Grub seems read these files reliably if they are local -- regardless grub started from network or not.

Thomas Schweikle <tps800>

 

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

Attached Files
file #44694:  grub.cfg.tgz added by tps800 (6KiB - application/x-compressed)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tps800 (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-08-03 tps800 Attached File- Added grub.cfg.tgz, #44694
        Attached File- Added sysrcd-2018-08-03-15-51-59.png, #44695
        Attached File- Added sysrcd-2018-08-03-15-51-15.png, #44696
        Attached File- Added sysrcd-2018-08-03-15-52-45.png, #44697

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code