bugGNU GRUB - Bugs: bug #41533, grub-install returns 0 even with...

 
 

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

bug #41533: grub-install returns 0 even with Fatal errors

Submitter:  Mike <nekoexmachina>
Submitted:  Sun 09 Feb 2014 08:32:18 PM UTC
   
 
Category:  Installation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Invalid Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  2.00
Release:  Reproducibility:  Every Time
Planned Release:  None

Sun 09 Feb 2014 08:52:47 PM UTC, comment #1: 

The "fatal" message is fatal for modprobe but not for GRUB itself. It's been removed from output

Vladimir Serbinenko <phcoder>
Group administrator
Sun 09 Feb 2014 08:32:18 PM UTC, original submission:  

To reproduce:
umount /sys
run grub-install

What happens:
~ # grub-install --target=x86_64-efi --efi-directory=/boot /dev/sda
Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables.
Try 'modprobe efivars' as root.
Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables.
Try 'modprobe efivars' as root.
Installation finished. No error reported.
~ # echo $?
0


What should: If "Fatal" & installation is not finished, Grub should not tell that it is. Also it should not return 0 in such cases.

Mike <nekoexmachina>

 

(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 phcoder (Posted a comment)
  • -email is unavailable- added by nekoexmachina (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-09 phcoder StatusNone Invalid
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code