#339731 dhcp3-server: dhcpd does not report unknown configuration directives

Package:
src:isc-dhcp
Source:
isc-dhcp
Submitter:
Ferenc Wagner
Date:
2026-08-05 17:33:24 UTC
Severity:
minor
Tags:
#339731#5
Date:
2005-11-18 11:13:50 UTC
From:
To:
Hi,

dhcpd happily accepts the following line in /etc/dhcp3/dhcpd.conf:

abrakadabra;

Basically, it seems on insist on the closing semicolon only.  This was
most annoying when I mispelt authoritative on the first line...

Thanks,
Feri.

#339731#10
Date:
2005-12-28 20:34:14 UTC
From:
To:
Hi,

[[ Please maintain the recipients so our bug tracking system is kept in the
loop. ]]

Ferenc Wagner has reported this minor bug, and I have confirmed it in
version 3.0.3 as well.

Are there any plans on making the configuration parsing more strict?

regards

Andrew

#339731#11
Date:
2005-12-28 21:32:43 UTC
From:
To:
Yes, this is ISC-Bugs #1177 (note the very low number), received back
in the Lemon days (it even has a comment from him on it).

The trouble, I think, is that the parser treats unknown objects as NAMEs,
and these in turn get treated as (no-op) executable statements.

Neither Ted nor I have been successful in thinking of a good way to fix
this that doesn't seem to us to be too invasive for maintenance release
(that was also his comment on the ticket).

This is precisely the bug report:

	 authoritive ;

This is a bug - that can and should be illegal syntax.  But fixing it
is too much new entropy for a 3.0 release without enough advantage.

#339731#12
Date:
2005-12-28 22:08:17 UTC
From:
To:
The problem here is that abrakadabra; looks like a variable reference, which
is a perfectly valid expression, which in turn is valid as a statement.   It
would be fairly easy to patch this, but nobody's gotten around to it yet.
If David doesn't have a patch for this in his queue (and I don't remember
seeing one go by), the quick way to deal with the problem would be to submit
one yourself.   It should be pretty easy - just hack the statement parser to
check that if a statement is an expression, it actually does something.

You can't easily check the validity of the variable name at parse time because
it might be valid at runtime.

#339731#25
Date:
2026-08-05 17:31:09 UTC
From:
To:
Dear submitter,

as the package isc-dhcp has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1143544

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)