Red Hat Bugzilla – Bug 605755
[patch] rescue --nomount exits the installer right away if no %post scripts
Last modified: 2010-11-10 14:48:36 EST
+++ This bug was initially created as a clone of Bug #605754 +++
Created an attachment (id=425198)
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):
Steps to Reproduce:
1. Run with a ks.cfg which has only the line:
stage2 starts and exits.
Start a shell if no %post scripts are present.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Thanks for the patch. Pushed.
With anaconda-13.21.56 and "rescue --nomount" an interactive shell is started when there's no %post script. Moving to VERIFIED.
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.