Description of problem: Anaconda fails during bootloader installation when calling efibootmgr to set a bootentry. dmesg reports no useful information I can find, and this is a debug kernel. Version-Release number of selected component (if applicable): kernel-3.16.0-0.rc2.git1.1.fc21.x86_64 efibootmgr-0.7.0-3.fc21.x86_64 How reproducible: Intermittant Steps to Reproduce: 1. 2. 3. Actual results: Failure to modify NVRAM. Expected results: Should work,or at least provide more information on what the problem is. Additional info: Jun 30 19:15:25 rawhide.localdomain program[2519]: Running... efibootmgr Jun 30 19:15:25 rawhide.localdomain program[2519]: show_boot_order(): No such file or directory Jun 30 19:15:25 rawhide.localdomain program[2519]: BootCurrent: 0000 Jun 30 19:15:25 rawhide.localdomain program[2519]: Timeout: 5 seconds Jun 30 19:15:25 rawhide.localdomain program[2519]: Return code: 0 Jun 30 19:15:25 rawhide.localdomain program[2519]: Running... efibootmgr -c -w -L Fedora -d /dev/mapper/mpathc -p 4 -l \EFI\fedora\shim.efi Jun 30 19:15:25 rawhide.localdomain program[2519]: Return code: 1 Anaconda version of this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1114774
Created attachment 913594 [details] dmesg
# efibootmgr -v BootCurrent: 0000 Timeout: 5 seconds show_boot_order(): No such file or directory # ls -l /sys/firmware/efi/efivars total 0 -rw-r--r--. 1 root root 12 Jun 30 18:59 AcpiGlobalVariable-af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e -rw-r--r--. 1 root root 6 Jun 30 18:59 BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c -rw-r--r--. 1 root root 32 Jun 30 18:59 ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c -rw-r--r--. 1 root root 54 Jun 30 18:59 ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c -rw-r--r--. 1 root root 8 Jun 30 18:59 epid_provisioned-8be4df61-93ca-11d2-aa0d-00e098032b8c -rw-r--r--. 1 root root 32 Jun 30 18:59 ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c -rw-r--r--. 1 root root 8 Jun 30 18:59 FirmwareFeatures-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14 -rw-r--r--. 1 root root 8 Jun 30 18:59 FirmwareFeaturesMask-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14 -rw-r--r--. 1 root root 7 Jun 30 18:59 Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c -rw-r--r--. 1 root root 10 Jun 30 18:59 LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c -rw-r--r--. 1 root root 1514 Jun 30 18:59 MemoryConfig-8be4df61-93ca-11d2-aa0d-00e098032b8c -rw-r--r--. 1 root root 924 Jun 30 18:59 MokListRT-605dab50-e046-4300-abb6-3dd810dd8b23 -rw-r--r--. 1 root root 8 Jun 30 18:59 MTC-eb704011-1402-11d3-8e77-00a0c969723b -rw-r--r--. 1 root root 8 Jun 30 18:59 PchInit-e6c2f70a-b604-4877-85ba-deec89e117eb -rw-r--r--. 1 root root 20 Jun 30 18:59 PchS3Peim-e6c2f70a-b604-4877-85ba-deec89e117eb -rw-r--r--. 1 root root 692 Jun 30 18:59 Setup-4dfbbaab-1392-4fde-abb8-c41cc5ad7d5d -rw-r--r--. 1 root root 692 Jun 30 18:59 SetupDefaults-05299c28-3953-4a5f-b7d8-f6c6a7150b2a -rw-r--r--. 1 root root 6 Jun 30 18:59 Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
Do we have a bad build of efibootmgr?
Created attachment 913595 [details] strace efibootmgr
This is reproducing 100% on a MacBookPro8,2 with the latest firmware. I wasn't having NVRAM related problems with this model during previous Fedora testing so this is a regression as far as I can tell.
Created attachment 913621 [details] dmidecode mbp8,2
efibootmgr 0.7.0-3 landed on 2014-06-20 with this interesting changelog: * Thu Jun 19 2014 Peter Jones <pjones> - 0.7.0-3 - Reinstate an accidentally dropped hack to avoid apple brain damage. could you test, maybe, live images from 2014-06-18 and 2014-06-20 (or as close as you can get and still find images that don't have other showstopper bugs) and see if 06-18 works and 06-20 doesn't? (and verify the efibootmgr versions)? koji keeps old nightly live builds around for a while, you can find them by searching for 'closed' tasks of the createLiveCD' method.
Problem "show_boot_order(): No such file or directory" only occurs when NVRAM has no boot order entry, which is the state after "zapping PRAM." If I regress to efibootmgr-0.5.4-16.fc20.x86_64 the problem doesn't happen.
Problem is also 100% reproducible on a MacbookPro 9,2. All versions of efibootmgr-0.7.0 are affected. Problem doesn't occur with 0.5.4.
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.