Revert "System: Gateways - fix protocol selection for dynamic interfaces without ipprotocol set and make sure policy based routing rules can use these for both protocols"
This reverts commit 5b6ccdb592729ddb5e001e5351125c00eb0dd43e.
system: invalidate sysctl cache on apply; closes #11109
As mentioned in 41ab7fb9f57 this fixes the glaring issue of the
sysctl cache being stuck while trying to avoid reloads during
normal operation. The performance hit is solely in the apply
path with is already slow, but now at least syncs up with the
system each time which also means there is no more boot race.
Move the cache to the configd end, which is a more flexible
alternative nowadays. We may want to support an indefinite
cache TTL, but that's not for the scope here.
system: invalidate sysctl cache on apply; closes #11109
As mentioned in 41ab7fb9f57 this fixes the glaring issue of the
sysctl cache being stuck while trying to avoid reloads during
normal operation. The performance hit is solely in the apply
path with is already slow, but now at least syncs up with the
system each time which also means there is no more boot race.
system: TunableField: collect current values correctly; closes #11109
"gather" was never meant for runtime value access in 2022. When the
field was added in 2025 it seemed to overlook the fact that we need
to fetch the current values which are not accessible through MVC.
System: Snapshots - always enforce note directory to be owned by "wwwonly:wheel" as configured to prevent notes created by the ui in root mode not being readable when switching to wwwonly.
(cherry picked from commit f81d527a436e5376cbac112ac444a5e54b7fdc93)