Subject: | make 'No subnet declaration for ...' error -> info |
Date: | Fri, 09 May 2014 14:42:17 +0200 |
To: | dhcp-bugs@isc.org |
From: | Jiri Popelka <jpopelka@redhat.com> |
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.
Message body is not shown because sender requested not to inline it.