Bug 697432 - SIGSEGV for network --device=<MAC> which is not found
Summary: SIGSEGV for network --device=<MAC> which is not found
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Radek Vykydal
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-18 09:07 UTC by Radek Vykydal
Modified: 2011-05-19 12:40 UTC (History)
2 users (show)

Fixed In Version: anaconda-13.21.114-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 12:40:33 UTC
Target Upstream Version:


Attachments (Terms of Use)
backtrace on i686 (6.10 KB, image/png)
2011-04-18 09:07 UTC, Radek Vykydal
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0530 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2011-05-18 17:44:52 UTC

Description Radek Vykydal 2011-04-18 09:07:25 UTC
Created attachment 492829 [details]
backtrace on i686

Description of problem:

Kickstart network --device command causes sigsegv crash if it is specified with MAC address (contains ':' character) which is not found (e.g. has a typo).

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

RHEL 6.1 0414 nightly
anaconda 13.21-112

How reproducible:

always

Steps to Reproduce:
1. use network --device with valid but not present MAC address
  
Actual results:

crash, backtrace, see the attachment

Additional info:

[rvykydal@dhcp-lab-144 ~/work/tmp]$ eu-addr2line -e usr/lib/debug/usr/lib/anaconda-runtime/loader/loader.debug 
0x805155b
/usr/src/debug/anaconda-13.21.112/loader/loader.c:2246
0x8059e7a
/usr/src/debug/anaconda-13.21.112/loader/kickstart.c:564
0x8068cb2
/usr/src/debug/anaconda-13.21.112/loader/net.c:1749
0x80602c7
/usr/include/bits/stdio2.h:158
0x8063b20
/usr/src/debug/anaconda-13.21.112/loader/net.c:1856

Comment 1 Radek Vykydal 2011-04-18 09:16:48 UTC
Proposed patch:
http://www.redhat.com/archives/anaconda-devel-list/2011-April/msg00171.html

Comment 3 RHEL Program Management 2011-04-18 18:19:31 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 6 Radek Vykydal 2011-04-19 08:04:01 UTC
This should be fixed in anaconda-13.21.114-1.

Comment 8 Alexander Todorov 2011-04-20 12:49:07 UTC
Tested with anaconda-13.21.114-1/0420.n.0 tree. 

There was no crash and after stage2 started anaconda reported a kickstart error:
The provided network interface 00:1C:C4:10:F7:D6 does not exist.

Moving to VERIFIED.

Comment 9 errata-xmlrpc 2011-05-19 12:40:33 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0530.html


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