Verified Commit d067c94b authored by Karel Koci's avatar Karel Koci 🤘
Browse files

lists/base-fix: retrigger fix-dhparam-to-cagen

The fix was checking if file we plan to use is present just to not touch
it in case user placed it there. The issue is that in such case we won't
migrate the OpenVPN configuration. Our preference should be to migrate
the OpenVPN server configuration so we just removed this check and
release it as fixup.
parent a2a2099b
Pipeline #82546 passed with stages
in 12 minutes and 8 seconds
......@@ -3,6 +3,7 @@
* Bug fixes for reForis
* Updated community translations
* Fix potential OpenVPN server breakage because of skipped dhparam migration
......@@ -153,7 +153,10 @@ end
-- Package dhparam was removed and replaced by turris-cagen ability to generate
-- dhparam instead. These files are expected to be in different locations so we
-- have to fix paths in existing server configurations. This does exactly that.
if installed and installed["dhparam"] then
-- With Turris OS 5.2.0 this fix was released and it turns out that it was way
-- cautious. We removed some unnecessary checks and we reapply it with 5.2.1
-- version again.
if installed and os_release and (installed["foris-controller-openvpn-module"] and version_match(os_release['VERSION'], "<5.2.1")) then
Package("fix-dhparam-to-cagen", { replan = "finished" })
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment