Feature #19104
closed
Ignore tagged includes for ISC DHCP
Added by Lukas Zapletal almost 8 years ago.
Updated almost 8 years ago.
Description
Our parser limitations is a real pain, I stubmbled this upon at customer again. This is a simple idea to allow at least workarounding this by including files from a directory with "igored-by-foreman" element. All these files will not be included at all, so the workaround is then:
subnet XYZ {
valid_syntax;
include "/etc/dhcpd/ignored-by-foreman/invalid_subnet_xyz.conf"
}
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/smart-proxy/pull/517 added
- Related to Bug #17800: ISC Dhcpd Config Parse Error added
What is the "parser limitation" precisely, and what's the issue number for the parsing issue? The sample above only shows valid syntax.
- Status changed from Ready For Testing to Rejected
Our parser don't handle nested curly braces in the subnet block correctly. Some cases were short-term-fixed by lookahead regexp but not all cases. Anyway I am closing this one.
Also available in: Atom
PDF