Bug 233583 - Removal of PCMCIA network card doesn't shut down interface properly
Removal of PCMCIA network card doesn't shut down interface properly
Status: CLOSED NEXTRELEASE
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: hotplug (Show other bugs)
4.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-23 06:53 EDT by Vic
Modified: 2014-03-16 23:06 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-30 01:38:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch to /etc/hotplug/net.agent to make it shutdown interfaces on removal (611 bytes, patch)
2007-03-23 06:53 EDT, Vic
no flags Details | Diff

  None (edit)
Description Vic 2007-03-23 06:53:03 EDT
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 06:53:03 EDT
Created attachment 150744 [details]
Patch to /etc/hotplug/net.agent to make it shutdown interfaces on removal
Comment 2 Bill Nottingham 2007-03-30 01:38:04 EDT
This is fixed in RHEL 5.

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