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
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
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)

Clone Of:
: 605755 (view as bug list)
Last Closed: 2010-06-21 14:16:06 UTC

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):

How reproducible:

Steps to Reproduce:
1. Run with a ks.cfg which has only the line:
rescue --nomount
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.