Installing SSL cert leave ssl.conf locked

Hi,

We have found that installing ssl for a domain (successful) leave behind /etc/httpd/conf.d/ssl.conf.lock. Most of the time this is harmless because the related PID is gone short after the installation. BUT in a system with large amount of processes PIDs are often reused. When happen that the PID in the lock file is reused from another process (which may be a daemon) and installing new SSL stop working until the PID is released.

As my opinion this file is not needed to be locked because it never get changed, but if is needed to be locked, the lock should be released right after the related operation is completed.

B.T.W. this can be the same issue that brake multi threaded backup restore >>> https://www.virtualmin.com/node/38808

Status: 
Closed (fixed)

Comments

Which page in Virtualmin did you use to install an SSL cert?

Also, did it complete successfully, or crash?

Hi Jamie,

Choosing some domain>Server Configuration>Manage SSL certificate.

OK, thanks. The bug that causes this will be fixed in the next Webmin release.

Status: Active ยป Fixed