Changes for version 0.007 - 2026-11-20

  • ossec: a language for /var/ossec/etc/ossec.conf, the one XML file that every daemon of OSSEC reads. A section that appears once, such as <global>, is a set of settings and the later fragment wins. A section that repeats, such as <localfile>, is a list of blocks that fragments add to. The <include> list of <rules> keeps the order of the package, which OSSEC needs, because a rule names rules in the files before it. An empty element clears its list, so a fragment can drop the example log files and whitelist that the package ships. It reads the file with XML::LibXML, the one module outside of core perl, which a host installs from its distribution: metamerge.yml declares it, and prereqs.yml recommends it rather than requiring it.
  • A language that is installed and does not load says so, with the error of perl. It said that there was no such language.

Documentation

Adopt a config file that has no conf.d, and keep it generated.

Modules

Give software without a conf.d one anyway.
Base class for the languages: how one config file format is read, merged and written back.
opendkim.conf, which has never had a conf.d.
opendmarc.conf, which has never had a conf.d.
ossec.conf, which is one XML file that every daemon of OSSEC reads, with no directory beside it.
main.cf and master.cf, which postfix has never had a conf.d for.
redis.conf, which has no conf.d and a handful of directives you say more than once.
Config files that are a directive, some whitespace and a value.
The systemd drop-in that rebuilds a language's files before the daemon reads them.