Internet Ed - 2012-06-14

I was wondering if it would be possible to change the file locking mechanism of webmin to accomodate locking of NFS files.
Wouldn't it be possible to create for example a /var/webmin.lock directory to check for lockfiles.
When locking for example /etc/apache/httpd.conf you could put the lockfile in /var/webmin.lock/etc/apache/httpd.conf.lock
That way the location is secured and the lock is on a local filesystem no matter what filesystem the httpd.conf is located on.
This would prevent webmin processes from producing unpredictable results on config files located on an NFS mount.