Bug 515091

Summary: rescue mode fails: not all arguments converted; open("/etc/mtab", ...
Product: [Fedora] Fedora Reporter: John Reiser <jreiser>
Component: anacondaAssignee: Martin Sivák <msivak>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dcantrell, jlaska, lili, rmaximo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-11 20:28:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 507676    
Attachments:
Description Flags
rescue failure none

Description John Reiser 2009-08-01 20:05:30 UTC
Description of problem: Rescue mode fails during or soon after "Finding storage devices".  Reboot is required.


Version-Release number of selected component (if applicable):
anaconda-12.7

How reproducible: always


Steps to Reproduce:
1. boot today's i386 boot.iso (208666624 bytes; 2009-08-01; md5sum 3647f10bb3d9b8a7013356ad2a911c5a)
2. choose Rescue mode
3. select Fedora 11.90 system (previously installed by same boot.iso)
  
Actual results:
rescue.py, line 134:  f = open("/etc/mtab", %(instPath,), "r");
TypeError: not all arguments converted during string formatting


Expected results: Successful entry into rescue-mode shell.

Additional info:

Comment 1 Andy Lindeberg 2009-08-03 14:29:08 UTC
Can you attach the full error you received, please?

Comment 2 John Reiser 2009-08-03 15:27:15 UTC
The report does not appear on the serial console (boot with "console=ttyS0,115200 console=tty0"), so this was re-typed by hand.  I have left-justified the lines which appear on the screen as "waterfall" ('\n' in raw mode, without a preceding '\r').  Yes, those "<Tab>" strings (etc.) really are on the screen.
----
Traceback (most recent call last):
File "/usr/bin/anaconda", line 745, in <module>
<Tab><Alt-Tab> be    rescue.runRescue(anaconda, instClass)<F12> next screen
File "/usr/lib/anaconda/rescue.py", line 464, in runRescue
    makeFStab()
File "/usr/lib/anaconda/rescue.py", line 134 in makeFStab
    f = open("/etc/mtab", %(instPath,), "r")
TypeError: not all arguments converted during string formatting
install exited abnormally [1/1]
you may safely reboot your system
-----

Comment 3 Martin Sivák 2009-08-04 11:50:15 UTC
Fix will be present in anaconda 12.8

Comment 4 Radek Vykydal 2009-08-05 12:18:44 UTC
*** Bug 515674 has been marked as a duplicate of this bug. ***

Comment 5 James Laska 2009-08-05 13:29:57 UTC
Rescue mode is currently a tier#2 priority case and does not match the defined Alpha release criteria (see https://fedoraproject.org/wiki/QA:Fedora_12_Install_Test_Plan#Alpha_criteria).  

However, I do think this is a NICE TO HAVE to consider for F12Alpha to improve problem debugging for alpha testers.

Comment 6 Liam Li 2009-08-06 08:02:14 UTC
I forgot to attach the screen shot last time. Hope it's still not too late.

Comment 7 Liam Li 2009-08-06 08:02:58 UTC
Created attachment 356476 [details]
rescue failure

Comment 8 Liam Li 2009-08-06 08:26:51 UTC
I boot from f12 alpha DVD, system to rescue is previous installed f12 alpha

Comment 9 Jesse Keating 2009-08-11 20:28:06 UTC
Confirmed fixed in today's rawhide.