Bug 1603211 - grub2-reboot: /usr/bin/grub2-editenv: error: cannot rename the file /boot/grub2/grubenv.new to /boot/grub2/grubenv: No such file or directory.
Summary: grub2-reboot: /usr/bin/grub2-editenv: error: cannot rename the file /boot/gru...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: grub2
Version: 7.6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Peter Jones
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1568427 1670353
TreeView+ depends on / blocked
 
Reported: 2018-07-19 13:11 UTC by Prarit Bhargava
Modified: 2019-07-01 17:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Prarit Bhargava 2018-07-19 13:11:03 UTC
Description of problem: Error is output when using grub2 commands to modify boot order.


Version-Release number of selected component (if applicable):grub2-2.02-0.73.el7.x86_64


How reproducible: 100%


Steps to Reproduce:
1. grub2-reboot 0
2.
3.

Actual results: 

cat: /boot/efi/EFI/redhat/grubenv: No such file or directory
/usr/bin/grub2-editenv: error: cannot rename the file /boot/grub2/grubenv.new to /boot/grub2/grubenv: No such file or directory.
/usr/bin/grub2-editenv: error: cannot rename the file /boot/grub2/grubenv.new to /boot/grub2/grubenv: No such file or directory.

and grub2-reboot command does not work.

Expected results: grub2-reboot command should be error free and work.


Additional info:

Comment 3 Jan Stodola 2018-07-20 15:20:35 UTC
Very likely the same root cause as in bug 1602773


Note You need to log in before you can comment on or make changes to this bug.