firewall: Allow configuration upgrade to version 1.0.x
Closes: #2133 (closed).
There are two new defaults which need not be altered in FreedomBox:
CleanupModulesOnExit=no (removed) AllowZoneDrifting=no
Tests:
-
Without the patch, on a testing system with firewalld 0.9.x installed, run apt update. FreedomBox considers firewalld for force upgrade and then ignores it as shown in the logs.
-
With the patch, firewalld is upgraded to 1.0.x version by FreedomBox using force upgrade as shown in logs. After upgrade, the default zone is external and backend is nftables.
Signed-off-by: Sunil Mohan Adapa sunil@medhas.org