Bug 233583

Summary: Removal of PCMCIA network card doesn't shut down interface properly
Product: Red Hat Enterprise Linux 4 Reporter: Vic <rhbugs>
Component: hotplugAssignee: Bill Nottingham <notting>
Status: CLOSED NEXTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: rvokal
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: 2007-03-30 05:38:04 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:
Attachments:
Description Flags
Patch to /etc/hotplug/net.agent to make it shutdown interfaces on removal none

Description Vic 2007-03-23 10:53:03 UTC
Description of problem:

Removing a PCMCIA network card (specifically, a WiFi card) doesn't call ifdown
on the interface. This leaves things running (like dhclient), and the card
doesn't then start up properly on re-insertion.

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

Checked on hotplug-2004_04_01-7.7, but this is probably common to many releases.

How reproducible:

Every time

Steps to Reproduce:
1. Insert card & get network running on it
2. Remove card
3. Re-insert card
  
Actual results:

Network doesn't run on that card

Expected results:

Network should run on that card

Additional info:

I patched /etc/hotplug/net.agent - attached.

Comment 1 Vic 2007-03-23 10:53:03 UTC
Created attachment 150744 [details]
Patch to /etc/hotplug/net.agent to make it shutdown interfaces on removal

Comment 2 Bill Nottingham 2007-03-30 05:38:04 UTC
This is fixed in RHEL 5.