On fedora/redhat,
Quoted 12 lines · Bill Nottingham
Quoted 6 lines · Dave Olson
On SLES10, RHEL4U4 and Fedora Core 5 and 6, this works ok.
On Fedora Core 4 (2.6.17, fully yum update'd), at least, the hotplug rules in
/etc/udev/rules.dimmediately cause the module to be reloaded. The only way I've found to prevent this is to edit the hotplug.rules file to disable hotplug, or to edit the/etc/hotplug/net.agentfile.It's a bug. Probably something in net.agent that was fixed later. Note that FC4 is EOL and it's probably best to upgrade to something more recent.
Perhaps it is just a rule like:
ATTRS{modalias}="?*", RUN+="modprobe $env{modalias}"
that should look like this to not be run on removal of modalias but just when it gets added.
ACTION="add", ATTRS{modalias}="?*", RUN+="modprobe $env{modalias}"
Matthias
Signature · 11 lines
Matthias Schwarzott (zzam) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel