[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Strange syslog behaviour [Solved]



Jeremy Ardley, did you update your code from " invoke-rc.d rsyslog rotate > /dev/null" to "/usr/lib/rsyslog/rsyslog-rotate"?


So I got my servers straitened out, I think. I will know tomorrow.

For anyone else running into this problem, the problem was caused from modifying /etc/logrotate.d/rsyslog then upgrading to Buster.

The fix:

diff /etc/logrotate.d/rsyslog.dpkg-dist /etc/logrotate.d/rsyslog

edit /etc/logrotate.d/rsyslog
Change from
                 invoke-rc.d rsyslog rotate > /dev/null
to
                 /usr/lib/rsyslog/rsyslog-rotate


Then delete /etc/logrotate.d/rsyslog.dpkg-dist

I then rebooted my servers to get the syslog used.

Then
ls /var/log | grep syslog

To see that it was working. I will know tomorrow if it is still working.

Wayne Sallee
Wayne@WayneSallee.com
http://www.WayneSallee.com

Reply to: