Re: r239356: does it mean, that synchronous dhcp and dhcplcinet with disabled devd gone?

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Tue, 21 Aug 2012 15:53:08 +0400
Hello, Garrett.
You wrote 21 августа 2012 г., 15:40:35:

GC>> Try reverting r239356 -- if that works, then please let jhb_at_ know.
LS>   I'm confused by  this commit, because it seems (from comment alone),
LS> that  dhclient  will not work without devd anymore (with "synchronous
LS> dhcp" option in rc.conf).
LS>   Am I right?
  And if I'm right about understanding what this change does, it is
 POLA violation for sure. Both consequences: unable to use dhcclient
 without devd (user will need to restart it by hands after each cable
 unplugging event) and removing IP address from interface on cable
 unplugging or other interface down event but before lease is expired.

  If I'm right in understanding this commit, I vote to back it out and
 find better solution, may be, two new options: one to remove IP and
 one to exit on interface down. And default behavior should be OLD
 ONE about IP address in any case and OLD ONE about exit in case when
 dhclient isn't started by devd, but by rc scripts directly.

-- 
// Black Lion AKA Lev Serebryakov <lev_at_FreeBSD.org>
Received on Tue Aug 21 2012 - 09:53:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:29 UTC