Bug 153206 - hotplug net.agent does not provide hooks to external programs
hotplug net.agent does not provide hooks to external programs
Product: Fedora
Classification: Fedora
Component: hotplug (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2005-04-02 16:21 EST by Michal Jaegermann
Modified: 2014-03-16 22:53 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-07-11 12:50:23 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michal Jaegermann 2005-04-02 16:21:54 EST
Description of problem:

When trying to make FC3 with a cardbus wifi card identified as
"Atheros Communications, Inc.",  0271,0012 for manfid (actually
badged by D-Link as DWL-G650) I found that to get it really working
besides of madwifi kernel support I need also 'wpa_supplicant' program,

After figuring out that I really should look at hotplug, which was not
that obvious,  I found that I have to add a custom code to
net.agent as otherwise there are no ways to deal with extra programs,
like said wpa_supplicant.  On the top of that remove events are not
handled at all (see bug 127283, bug 150382) while I need to stop there
both dhclient on that interace and wpa_supplicant.

That would be not not that bad if not that detail that with the next
update I would have to make a custom net.agent again.  "Official" hooks
would be so much better.  Something like that, for example:

   if [ -e /etc/hotplug/custom/net.add.handler ] ; then
       source /etc/hotplug/custom/net.add.handler
       # "regular" handler here

With other hotplug agents possibly too.

Version-Release number of selected component (if applicable):
Comment 1 Matthew Miller 2006-07-10 19:45:14 EDT
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.

Thank you!
Comment 2 Bill Nottingham 2006-07-11 12:50:23 EDT
net.agent is no longer used in current code; there is a udev rule that is used
for this.

Other udev rules could be added for other programs to be run at the same time
(or earlier.)

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