- Package:
- src:isc-dhcp
- Source:
- isc-dhcp
- Submitter:
- Ferenc Wagner
- Date:
- 2026-08-05 17:33:24 UTC
- Severity:
- minor
- Tags:
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.
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
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.
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.
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)