Fwd: preventing dhclient from running under certain conditions
Oleg Goldshmidt
pub at goldshmidt.org
Sun Nov 2 10:08:59 IST 2014
I noticed that I had responded only to shimi and not to the list
...
On Thu, Oct 30, 2014 at 12:10 AM, shimi <linux-il at shimi.net> wrote:
>
> What about allow-hotplug?
>
> http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_basic_syntax_of_etc_network_interfaces
>
I tested allow-hotplug. Frankly, it does not seem to do anything useful.
E.g., ifup vlanXX sends out DHCP whether or not the Ethernel cable is
plugged in or not. Besides, it is only good for fiddling with cables[*],
and even in that limited scenario we do not necessarily want hotplug
action. Rather, we want to control when interfaces are brought up or down
*and* whether or not to request settings from DHCP.
[*] It is not clear to me that allow-hotplug actually does what it says on
the tin (as I understand it). I don't see anything happening when I fiddle
with cables. It is not clear to me what it does or what it is supposed to
do, and I would be quite uncomfortable switching to allow-hotplug without
really comprehensive retesting of *everything* (as opposed to testing
starting/stopping DHCP interfaces).
Thanks,
--
Oleg Goldshmidt | pub at goldshmidt.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20141102/1b63f8a5/attachment.html>
More information about the Linux-il
mailing list