Bug 461493 - 'ksdevice=link' causes traceback
Summary: 'ksdevice=link' causes traceback
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F10Blocker, F10FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2008-09-08 15:23 UTC by Will Woods
Modified: 2008-10-03 18:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-03 18:37:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Will Woods 2008-09-08 15:23:33 UTC
Booting anaconda-11.4.1.32 with 'ksdevice=link' on the commandline causes anaconda to traceback just after starting X. The installer exits, so I can't get the anacdump.txt file, but here's the traceback:

Traceback (most recent call last):
  File "/usr/bin/anaconda", line 913, in <module>
    anaconda.id = instClass.installDataClass(anaconda, extraModules, opts.display_mode, anaconda.backend)
  File "/usr/lib/anaconda/instdata.py", line 291, in __init__
    self.reset()
  File "/usr/lib/anaconda/instdata.py", line 64, in reset
    self.network = network.Network()
  File "/usr/lib/anaconda/network.py", line 342, in __init__
    self.netdevices[self.firstnetdevice].set(("onboot", "yes"))
KeyError: 'link'

I assume this means that self.firstnetdevice is set to 'link'. I'm not sure how it passed this check in Network.available():

        if ksdevice and self.netdevices.get(ksdevice) != '':
            self.firstnetdevice = ksdevice

but I guess 'link' will have to be handled as a special case there.

Comment 1 David Cantrell 2008-09-16 05:45:29 UTC
Just booted with ksdevice=link and it doesn't traceback, it just doesn't do anything with that boot argument right now.  I need to modify the ksdevice=link handling to work with NM now.

But, it doesn't traceback at least.

Comment 2 James Laska 2008-09-23 18:15:37 UTC
Got it to traceback using anaconda-11.4.1.39-1.i386 when booting from a boot.iso and providing the cmdline args: 

 repo=hd:sdc1:/dvd ksdevice=link ip=dhcp noipv6

Comment 3 Will Woods 2008-10-03 18:23:29 UTC
This seems to work fine now. Jim?

Comment 4 James Laska 2008-10-03 18:36:36 UTC
Indeed ... additional test results located at https://fedoraproject.org/wiki/QA/Test_Days/2008-10-02#How_to_test.3F


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