* ignore some specific interfaces, such as non-hotpluggable eth*, ipsec*
@ 2002-02-04 17:17 Fumitoshi UKAI
2002-02-04 21:03 ` ignore some specific interfaces, such as non-hotpluggable eth*, David Brownell
0 siblings, 1 reply; 2+ messages in thread
From: Fumitoshi UKAI @ 2002-02-04 17:17 UTC (permalink / raw)
To: linux-hotplug
Hi,
I've received some bug reports or wish requests to ignore some
specific network interfaces, such as non-hotpluggable eth* or ipsec*.
David Engel <david@debian.org>, submitter of Bug#132224, suggests
the following patch.
--- net.agent.orig Mon Jan 14 11:25:25 2002
+++ net.agent Sun Feb 3 14:54:51 2002
@@ -25,6 +25,13 @@
exit 1
fi
+case $INTERFACE in
+ # interfaces that should be ignored altogether
+ ipsec*)
+ exit 0
+ ;;
+esac
+
case $ACTION in
register)
Although, I think pattern "ipsec*" should be configurable in
/etc/default/hotplug (or /etc/sysconfig/hotplug on RedHat, maybe),
does it make sense to apply such patch to net.agent?
Thanks,
Fumitoshi UKAI
PS.
See more detail, look at http://bugs.debian.org/hotplug
#108857: hotplug should not invoke ifup ethX for built in interfaces
#132224: hotplug should ignor ipsec interfaces
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ignore some specific interfaces, such as non-hotpluggable eth*,
2002-02-04 17:17 ignore some specific interfaces, such as non-hotpluggable eth*, ipsec* Fumitoshi UKAI
@ 2002-02-04 21:03 ` David Brownell
0 siblings, 0 replies; 2+ messages in thread
From: David Brownell @ 2002-02-04 21:03 UTC (permalink / raw)
To: linux-hotplug
> Although, I think pattern "ipsec*" should be configurable in
> /etc/default/hotplug (or /etc/sysconfig/hotplug on RedHat, maybe),
> does it make sense to apply such patch to net.agent?
Until the network device initialization model acquires some
consistency, I don't see a better solution than continuing to
add more special cases. Which won't work in all cases,
but I think that won't be a risk for the "ipsec" interfaces
(132224) or ppp ones in the way it would be for "eth"
interfaces (108857).
FYI with 108857 I think the bug might best be fixed in
the "ifup" code: if hotplug is doing its job, then that any
"ifup does modprobe" usage should expect that, and so
it should stop after the modprobe -- or find a way to tell
hotplug it should _in this case_ ignore that interface.
- Dave
> See more detail, look at http://bugs.debian.org/hotplug
Some of those might better be redirected upstream,
to the sf.net linux-hotplug bug database ... :)
> #108857: hotplug should not invoke ifup ethX for built in interfaces
> #132224: hotplug should ignor ipsec interfaces
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-04 21:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-04 17:17 ignore some specific interfaces, such as non-hotpluggable eth*, ipsec* Fumitoshi UKAI
2002-02-04 21:03 ` ignore some specific interfaces, such as non-hotpluggable eth*, David Brownell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).