bugGNU GRUB - Bugs: bug #56088, Side effects of setting variables...

 
 

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

bug #56088: Side effects of setting variables are not undone after exiting a context in which they were set

Submitter:  felix <felix_s>
Submitted:  Sat 06 Apr 2019 06:28:05 PM UTC
   
 
Category:  None Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release:  2.02
Release:  Reproducibility:  Every Time
Planned Release:  None

Sat 06 Apr 2019 06:28:05 PM UTC, original submission:  

Steps to reproduce:

0. Prepare a configuration file containing the line: set color_normal=red/white
1. Launch GRUB command line.
1. Run: set color_normal=white/black
2. Load the file prepared in step 0 using configfile.
3. Run: echo $color_normal
4. Observe the red text 'white/black' was output on white background; the variable value is inconsistent with the actually applied setting, which was changed in an inner context.

This applies to any variable with side effects; color_normal is just the easiest to demonstrate.

Expected result: Variable contents are consistent with applied settings. Preferably by restoring the old setting upon exiting the context, which makes all variables behave identically with respect to contexts.

felix <felix_s>

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by felix_s (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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code