On Fri May 09 12:42:22 2014, jpopelka@redhat.com wrote:
> This is not really a bug, just a suggestion.
>
> dhcpd(8) says:
> COMMAND LINE
> The names of the network interfaces on which dhcpd should
> listen for broadcasts *may* be specified on the command line. This
> should be done on systems where dhcpd is unable to identify
> non-broadcast interfaces, but *should not be required* on other systems.
>
> If I don't specify interfaces to listen on, dhcpd listens only on
> interfaces, for whose it finds subnet declaration in dhcpd.conf.
> For each interface where's no corresponding subnet declaration, dhcpd
> spits out an *error*
> "No subnet declaration for <interface>. Ignoring requests on
> <interface>. If this is not what you want, ..."
> This should not IMHO be an *error*, but only *info*, because there's
> quite a big chance that this is exactly what user wants.
>
> If there's no matching subnet declaration for *any* interface dhcpd
> spits our fatal error
> "Not configured to listen on any interfaces!"
> which is all right.
>
> With regards,
> Jiri Popelka
> Red Hat, inc.
I think your suggestion is reasonable, the difficulty is dealing with the historical
inertia of the system. I'm not sure I want to change this from an error in case
people have built that assumption into their systems (nanny scripts and the like).
We shall think about this some more and figure out if there is a clean way to
handle the change.
Thanks for the suggestion,
Shawn