Bug 515091 - rescue mode fails: not all arguments converted; open("/etc/mtab", ...
Summary: rescue mode fails: not all arguments converted; open("/etc/mtab", ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Martin Sivák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 515674 (view as bug list)
Depends On:
Blocks: F12Alpha, F12AlphaBlocker
TreeView+ depends on / blocked
 
Reported: 2009-08-01 20:05 UTC by John Reiser
Modified: 2013-01-10 05:18 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-08-11 20:28:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
rescue failure (8.34 KB, image/png)
2009-08-06 08:02 UTC, Liam Li
no flags Details

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.


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