Actions
Feature #19104
closedIgnore tagged includes for ISC DHCP
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"
}
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/smart-proxy/pull/517 added
Updated by Lukas Zapletal over 7 years ago
- Related to Bug #17800: ISC Dhcpd Config Parse Error added
Updated by Dominic Cleal over 7 years ago
What is the "parser limitation" precisely, and what's the issue number for the parsing issue? The sample above only shows valid syntax.
Updated by Lukas Zapletal over 7 years ago
- 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.
Actions