Bug 437952 - "liveinst --debug" fails with backtrace
Summary: "liveinst --debug" fails with backtrace
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-18 12:40 UTC by Sebastian Vahl
Modified: 2008-03-18 17:12 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-03-18 17:12:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sebastian Vahl 2008-03-18 12:40:15 UTC
Description of problem:
If you want to start liveinst in debugging mode to get some more informations, 
it fails with a backtrace:

$ liveinst --debug
FATAL: Module md not found.
  No volume groups found
> /usr/sbin/anaconda(812)<module>()
-> import instdata
(Pdb)
Traceback (most recent call last):
  File "/usr/sbin/anaconda", line 812, in <module>
    import instdata
  File "/usr/sbin/anaconda", line 812, in <module>
    import instdata
  File "/usr/lib/python2.5/bdb.py", line 48, in trace_dispatch
    return self.dispatch_line(frame)
  File "/usr/lib/python2.5/bdb.py", line 67, in dispatch_line
    if self.quitting: raise BdbQuit
bdb.BdbQuit


Version-Release number of selected component (if applicable):
anaconda-11.4.0.54-1.i386

How reproducible:
ever

Steps to Reproduce:
1. liveinst --debug
  
Actual results:
backtrace

Expected results:
works

Comment 1 Jeremy Katz 2008-03-18 17:12:27 UTC
--debug to anaconda drops you into pdb early on.  Due to how the live install
process works, we end up with stdin redirected and so pdb isn't usable.

Realistically --debug mode isn't that interesting for most cases and for the few
that it is, it's easy enough to start anaconda by hand with the right args


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