Bug 1484968 - xen has issues when installing under EFI
Summary: xen has issues when installing under EFI
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: xen
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Young
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-24 17:19 UTC by Konrad Rzeszutek Wilk
Modified: 2017-09-30 21:44 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-09-30 21:44:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Konrad Rzeszutek Wilk 2017-08-24 17:19:19 UTC
Description of problem:

When installing Xen RPM package under an EFI system I get:

Running scriptlet: xen-hypervisor-4.9.0-7.fc27.x86_64                  35/170
/usr/bin/grub2-editenv: error: cannot rename the file /boot/grub2/grubenv.new to /boot/grub2/grubenv: No such file or directory.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.13.0-0.rc4.git4.1.fc27.x86_64
Found initrd image: /boot/initramfs-4.13.0-0.rc4.git4.1.fc27.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-38bc26657111482ab529de2e7fccfb70
Found initrd image: /boot/initramfs-0-rescue-38bc26657111482ab529de2e7fccfb70.img
warning: %post(xen-hypervisor-4.9.0-7.fc27.x86_64) scriptlet failed, exit status 1


Non-fatal POSTIN scriptlet failure in rpm package xen-hypervisor
Non-fatal POSTIN scriptlet failure in rpm package xen-hypervisor

Version-Release number of selected component (if applicable):

xen-4.9.0-7.fc27.x86_64

How reproducible:

100%
Steps to Reproduce:
1. Install rawhide (I used Fedora-Server-dvd-x86_64-27-20170817.n.3.iso)
2. yum install xen
3. yum upgrade (a new kernel gets installed)


Actual results:

See above

Expected results:

No script errors

Additional info:

[root@tst063 etc]# find /boot -name 'grub*.cfg'
/boot/efi/EFI/fedora/grub.cfg
       
[root@tst063 etc]# ls -al grub2-efi.cfg
lrwxrwxrwx. 1 root root 31 Aug 16 11:45 grub2-efi.cfg -> ../boot/efi/EFI/fedora/grub.cfg


[root@tst063 etc]# rpm -q grub2-efi
grub2-efi-2.02-8.fc27.x86_64

Comment 1 Konrad Rzeszutek Wilk 2017-09-18 18:49:42 UTC
I don't see this with 
 Fedora-Server-dvd-x86_64-27-20170912.n.0.iso

Comment 2 Michael Young 2017-09-30 21:44:02 UTC
As the problem went away in a later build, I am assuming it is fixed.


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