Bug 850901

Summary: kernel can produce invalid grub conf when installation interrupted
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: grubbyAssignee: Peter Jones <pjones>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0CC: notting
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-10 15:07:40 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 Vladimir Benes 2012-08-22 16:57:21 UTC
Description of problem:
when pkcon or yum or rpm is killed when installing it can easily happen that default option in grub will be without initrd in the end so one cannot boot default option anymore.
All this should be written after initrd was generated not prior.  

Version-Release number of selected component (if applicable):
kernel-3.5.0-0.24.el7

How reproducible:
always

Steps to Reproduce:
1.run pkcon install kernel
2.when you are somewhere around 60% execute in other terminal pkill pkcon
3. reboot
  
Actual results:
default version is 3.5.0 but initrd is missing in the end of 3.5.0 section and thus system unusable

Expected results:
kernel rpm shouldn't write that info to grub conf prior initrd is ready

Additional info:

Comment 2 Peter Jones 2014-01-09 17:38:05 UTC
This isn't possible with the way kernel upgrades are structured at all currently - which isn't to say that you're wrong, but this isn't a bug fix request, it's a major RFE, and needs to be filed in that context instead.

Comment 3 RHEL Program Management 2014-01-10 15:07:40 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.