Tow weeks ago we found out it was impossible to commit, we realized the filesystem of / was at 100%. Investigating the source of the problem we saw the file auth.log was huge. Once we cleared it the filesystem came back to normal and we could commit.
I saw this thread to configure rotate of auth.log:
I configured it 10 days ago but I just checked it’s not working and I have to clear the file again to avoid the same problem. My configuration in /etc/logrotate.d/auth is the next:
So I removed the last 4 lines from the script and forced again, this time no errors. I can see now there is a file called /var/log/auth.log.1 but no auth.log file is created again after compressing and the system is continues writing in that file.
I had to remove auth.log.1 file, created manually auth.log and launch /etc/init.d/rsyslog reload
Regards
EDIT:
In order to avoid to remove files manually and reload syslog process the configuration that works is this: