Bug 465820
| Summary: | anaconda crash when there's no network device | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dan Winship <danw> |
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | anaconda-maint-list, dcantrell |
| 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: | 2008-10-06 15:29:23 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: | |||
*** This bug has been marked as a duplicate of bug 465127 *** |
Installing from the Beta LiveCD on an x86_64 with an e1000e card, which is disabled in the beta kernel. Eventually it crashes here: Traceback (most recent call first): File "/usr/lib/anaconda/network.py", line 529, in write if dev.get('GATEWAY'): File "/usr/lib/anaconda/instdata.py", line 194, in write self.network.write (self.anaconda.rootPath) File "/usr/lib/anaconda/backend.py", line 277, in writeConfiguration anaconda.id.write() File "/usr/lib/anaconda/dispatch.py", line 204, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib/anaconda/dispatch.py", line 127, in gotoNext self.moveStep() File "/usr/lib/anaconda/gui.py", line 1349, in nextClicked self.anaconda.dispatch.gotoNext() File "/usr/lib/anaconda/iw/progress_gui.py", line 79, in renderCallback self.intf.icw.nextClicked() File "/usr/lib/anaconda/gui.py", line 1370, in handleRenderCallback self.currentWindow.renderCallback() UnboundLocalError: local variable 'dev' referenced before assignment Looks like the code doesn't deal with the possibility that self.netdevices will be empty.