Bug 1484968

Summary: xen has issues when installing under EFI
Product: [Fedora] Fedora Reporter: Konrad Rzeszutek Wilk <ketuzsezr>
Component: xenAssignee: Michael Young <m.a.young>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jforbes, m.a.young, robinlee.sysu
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-30 21:44:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.