tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: inetd enhancements - config syntax
On Thu, Jan 14, 2021 at 12:21:14PM -0800, James Browning wrote:
>
> Our reasoning behind not wanting multiple levels of includedir was to avoid
> overly complex or messy configuration systems, but we see your point. If time
> allows, then we will implement cycle detection.
>
If people want to shoot themselves in the foot then you should let them, allowing
multiple includes allows a competent person to structure their files and avoid
duplication.
Detecting cycles is simple, just count the number of include tokens seen and error
out after an arbitrary number if the number is large enough then a legitimate
configuration will work but an include loop will error out quickly.
--
Brett Lymn
--
Sent from my NetBSD device.
"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"
Home |
Main Index |
Thread Index |
Old Index