AfterI added some command lines to httpd log rotation script by typing into "Commands to run after rotation" on "Edit Log File" page, system log rotation was keeping failed to run. Accounrding to my investigation, when some lines were added to /etc/logrotate.d/httpd by webmin, it seems, a "}" character was added duplicately. it means there are two "}" characters in last 2 lines. It causes syntax error on log rotation command "logrotate".
This problem is occurred on previous version.
On deletion and modification without number of line change, this problem is not happened.
I am not sure how to solve it on webmin module, but this should be corrected ASAP.
Thanks and regards.
Log in to post a comment.