Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 605754 - [patch] rescue --nomount exits the installer right away if no %post scripts
[patch] rescue --nomount exits the installer right away if no %post scripts
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Chris Lumens
Fedora Extras Quality Assurance
Depends On:
Blocks: 605755
  Show dependency treegraph
Reported: 2010-06-18 13:32 EDT by Alexander Todorov
Modified: 2010-06-21 10:16 EDT (History)
3 users (show)

See Also:
Fixed In Version: anaconda-14.9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 605755 (view as bug list)
Last Closed: 2010-06-21 10:16:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

  None (edit)
Description Alexander Todorov 2010-06-18 13:32:18 EDT
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 10:16:06 EDT
Thanks for the patch.  Pushed.

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