Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 148407 Details for
Bug 209015
[RHEL3 U8] anaconda: traceback when rescue mode (Regression)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for anaconda-9.6.1.15- , tested
fix_rescue_mode_209015.patch (text/plain), 2.25 KB, created by
jean-sebastien Hubert
on 2007-02-20 11:53:34 UTC
(
hide
)
Description:
Patch for anaconda-9.6.1.15- , tested
Filename:
MIME Type:
Creator:
jean-sebastien Hubert
Created:
2007-02-20 11:53:34 UTC
Size:
2.25 KB
patch
obsolete
>diff -Naur anaconda-9.1.6.15/rescue.py anaconda-9.1.6.15-gralinux/rescue.py >--- anaconda-9.1.6.15/rescue.py 2006-04-21 21:06:47.000000000 +0400 >+++ anaconda-9.1.6.15-gralinux/rescue.py 2007-02-20 09:49:10.000000000 +0400 >@@ -161,14 +161,23 @@ > > f.close() > >-def runShell(): >- shpid = os.fork() >- if shpid == 0: >- os.setsid() >- fcntl.ioctl(0, termios.TIOCSCTTY) >- os.execv("/bin/sh", ["-/bin/sh"]) >+def runShell(screen, msg=""): >+ screen.suspend() >+ >+ print >+ if msg: >+ print (msg) >+ print _("When finished please exit from the shell and your " >+ "system will reboot.") >+ print >+ >+ if os.path.exists("/bin/sh"): >+ iutil.execWithRedirect("/bin/sh", ["-/bin/sh"]) > else: >- os.waitpid(shpid, 0) >+ print "Unable to find /bin/sh to execute! Not starting shell" >+ time.sleep(5) >+ >+ screen.finish() > > def runRescue(instPath, mountroot, id): > >@@ -243,11 +252,7 @@ > screen.finish() > > if (not mountroot): >- print >- print _("When finished please exit from the shell and your " >- "system will reboot.") >- print >- runShell() >+ runShell(screen) > sys.exit(0) > > # lets create some devices >@@ -277,12 +282,8 @@ > [_("Continue"), _("Read-Only"), _("Skip")] ) > > if rc == string.lower(_("Skip")): >- screen.finish() >- print >- print _("When finished please exit from the shell and your " >- "system will reboot.") >- print >- runShell() >+ runShell(screen) >+ sys.exit(0) > elif rc == string.lower(_("Read-Only")): > readOnly = 1 > else: >@@ -424,17 +425,12 @@ > "automatically when you exit from the shell."), > [ _("OK") ], width = 50) > >- screen.finish() >+ msgStr = "" > >- print > if rootmounted and not readOnly: > makeMtab(instPath, fs) > makeResolvConf(instPath) >- print _("Your system is mounted under the %s directory.") % (instPath,) >- print >- >- print _("When finished please exit from the shell and your " >- "system will reboot.") >- print >- runShell() >+ msgStr = _("Your system is mounted under the %s directory.") % (instPath,) >+ >+ runShell(screen, msgStr) > sys.exit(0)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 209015
:
148355
| 148407