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

Submitted by:  Mike <nekoexmachina>
Submitted on:  Sun 09 Feb 2014 08:32:18 PM UTC  
 
Category: InstallationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: 2.00Reproducibility: 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>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 Feb 2014 08:52:47 PM UTCphcoderStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1