diff --git a/CHANGELOG.md b/CHANGELOG.md index 6aa1bc660..ff64086c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ * Fix journal since filter showing oldest entries on older systemd [forum.virtualmin.com/t/137876](https://forum.virtualmin.com/t/137876) * Fix disk usage and mounted filesystem handling for mount points and devices with spaces, such as ZFS datasets [#2833](https://github.com/webmin/webmin/issues/2833) * Fix slave zone files staying empty on Debian and Ubuntu secondaries by creating BIND zone files owned by the `bind` user [forum.virtualmin.com/t/137767](https://forum.virtualmin.com/t/137767) +* Fix Nginx Webserver module lock files not being released, causing saves to hang during long-running operations #### 2.660 (August 20, 2026) * Add support for creating `vfsv1` Linux quota files for limits above 4 TiB, while preserving existing quota file formats diff --git a/nginx/nginx-lib.pl b/nginx/nginx-lib.pl index 6412dffd1..8d0107b29 100644 --- a/nginx/nginx-lib.pl +++ b/nginx/nginx-lib.pl @@ -1557,6 +1557,7 @@ sub update_last_config_change { &open_lock_tempfile(my $fh, ">$last_config_change_flag", 0, 1); &close_tempfile($fh); +&unlock_file($last_config_change_flag); } # update_last_restart_time() @@ -1565,6 +1566,7 @@ sub update_last_restart_time { &open_lock_tempfile(my $fh, ">$last_restart_time_flag", 0, 1); &close_tempfile($fh); +&unlock_file($last_restart_time_flag); } # needs_config_restart()