System: High Availability - missing syslog caused by netflow_xmlrpc_sync() shadowing the section. closes https://github.com/opnsense/core/issues/9481
As people might already be using "syslog" to sync Netflow, we better rename syslog with syslog-ng (which we use anyway).
Firewall: Aliases - add has_parser() to check if an alias has a valid parser available (get_parser() may throw an exception when failed) and re-throw requests.exceptions.ConnectionError as IOError in BGPASN, likely closes https://github.com/opnsense/core/issues/9505
mvc: introduce defaultConfig property for AppConfig
Related to testing there is a side effect from snatching the
default config.xml if no other configuration was found. We
want the tests to be independent of runtime so this is a first
step towards it. While here replace other uses of the default
file acquire and almost completely fix the permission issue
on default bootstrap.
tests: unwind BaseModel test side effect on AclConfig
Give the test its own empty config to migrate into, which makes
resetting it irrelevant. A tiny bit of magic is needed to bootstrap
a config.xml so it's not the one that is checked in and we also
remove the temporary files from the tree so it does not confuse git.
save() is a far-reaching side effect in the test, but more or less
necessary for better test coverage. But I'd still want a simpler
test around Core\Config and this offers merely offers the groundwork
also removing the need to reset this from make commands.