Bug 8074 - /etc/hotplug/net.agent can't register/unregister
Bug#: 8074 Product:  Gentoo Linux Version: 1.4_rc1 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: zwelch@gentoo.org Reported By: pan@botong.org
Component: Core system
URL: 
Summary: /etc/hotplug/net.agent can't register/unregister
Keywords:  
Status Whiteboard: 
Opened: 2002-09-18 14:02 0000
Description:   Opened: 2002-09-18 14:02 0000

    

------- Comment #1 From Patrik Andreasen 2002-09-18 14:06:53 0000 -------
The hotplug policy agent in /etc/hotplug/net.agent expects redhat-style
ifup/ifdown interfaces to register/unregister network cards. Gentoo doesn't
provide them so the script should be patched.

There is a preliminary patch on the gentoo forums,
http://forums.gentoo.org/viewtopic.php?t=691 that might be useable as a starting
point.

------- Comment #2 From Zach Welch (RETIRED) 2002-10-18 14:09:05 0000 -------
Created an attachment (id=4805) [details]
patch to add /etc/init.d/net.* support to net.agent

this diff is against hotplug-20020826, but it should apply cleanly to 20020401

------- Comment #3 From Zach Welch (RETIRED) 2002-10-18 16:42:06 0000 -------
Since Chad's list is long, I will take care of this one for him.  Look for 
this fix to appear soon, both in 20020401 and a new 20020826 ebuild. 

------- Comment #4 From Zach Welch (RETIRED) 2002-10-19 18:05:09 0000 -------
I have committed hotplug-20020401-r1 which should fix this problem. (I don't 
have a network device to test personally.)  You might also test 
hotplug-20020826 (which presently requires ACCEPT_KEYWORDS="~x86 ~ppc").