Description of problem: I was running a yum update from a terminal, as a sudo by a wheel group user. There was nothing else I was doing on the system. Some days ago, I believe I updated the default grubenv "by hand", to point to another default boot, and it's been working as expected. I only replaced the default name and didn't touch the rest of the file, but the length of the default entry probably changed. I now know I should use grub2-set-default or grub2-editenv to change the default. Version-Release number of selected component: grub2-tools-2.00-25.fc20 Additional info: reporter: libreport-2.1.10 backtrace_rating: 4 cmdline: grub2-editenv /boot/grub2/grubenv set saved_entry 'Fedora (3.12.6-300.fc20.x86_64) 20 (Heisenbug)' crash_function: _IO_new_fclose executable: /usr/bin/grub2-editenv kernel: 3.12.5-302.fc20.x86_64 runlevel: N 5 type: CCpp uid: 0 Truncated backtrace: Thread no. 1 (3 frames) #5 _IO_new_fclose at iofclose.c:85 #6 write_envblk at util/grub-editenv.c:220 #7 set_variables at util/grub-editenv.c:246
Created attachment 845064 [details] File: backtrace
Created attachment 845065 [details] File: cgroup
Created attachment 845066 [details] File: core_backtrace
Created attachment 845067 [details] File: dso_list
Created attachment 845068 [details] File: environ
Created attachment 845069 [details] File: limits
Created attachment 845070 [details] File: maps
Created attachment 845071 [details] File: open_fds
Created attachment 845072 [details] File: proc_pid_status
Created attachment 845073 [details] File: var_log_messages
Now when I try to set the grub2 default boot, I'm getting a "grub2-editenv: error: environment block too small". This happens both with grub2-set-default and with grub2-editenv. ls -l shows size of grubenv as 1041. I made backups of previous versions, and their sizes are 1024 and 1032.
I edited grubenv "by hand", replacing the default. It works fine for me, as it did before. The default entry I'm setting is: "Fedora release 19 (Schrödinger’s Cat) (on /dev/sdb5)" (without the quotes).
Deleted grubenv and recreated it using grub2-editenv. Also set saved_default to "Fedora release 19 (Schrödinger’s Cat) (on /dev/sdb5)". All worked OK. Apparently my grubenv got corrupted, perhaps from my hand edit.
I am getting "grub2-editenv: error: environment block too small." every kernel update and I have not ever touched grubenv file. And I see this error already for some while.
This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.