Bug 605754 - [patch] rescue --nomount exits the installer right away if no %post scripts
Summary: [patch] rescue --nomount exits the installer right away if no %post scripts
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 605755
TreeView+ depends on / blocked
 
Reported: 2010-06-18 17:32 UTC by Alexander Todorov
Modified: 2010-06-21 14:16 UTC (History)
3 users (show)

Fixed In Version: anaconda-14.9
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 605755 (view as bug list)
Environment:
Last Closed: 2010-06-21 14:16:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch generated by git format-patch (921 bytes, patch)
2010-06-18 17:32 UTC, Alexander Todorov
no flags Details | Diff

Description Alexander Todorov 2010-06-18 17:32:18 UTC
Created attachment 425198 [details]
patch generated by git format-patch

Description of problem:
When running the installer in rescue mode with rescue --nomount and tehre are no %post scripts in the kickstart file the installer will not start a shell but exit. 

A patch is attached which will execute the scripts if they are present otherwise run interactive shell. 

DISCLAIMER: this is not tested at all but should work.

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

How reproducible:
always

Steps to Reproduce:
1. Run with a ks.cfg which has only the line:
rescue --nomount
2.
3.
  
Actual results:
stage2 starts and exits.

Expected results:
Start a shell if no %post scripts are present.

Additional info:

Comment 1 Chris Lumens 2010-06-21 14:16:06 UTC
Thanks for the patch.  Pushed.


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