On Sat 15 Oct 2022 at 13:59:18 (-0400), Wayne Sallee obfuscated the following with HTML:
Jeremy Ardley, did you update your code from " invoke-rc.d rsyslog rotate > /dev/null" to
"/usr/lib/rsyslog/rsyslog-rotate"?
I've added a new post to that part of the thread. I think your
problem concerns changing to systemd, whereas his concerns mixing
inetdutils-* packages with the more usual equivalent ones.
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.
I think the point you've missed is that at some stage, you upgraded
from SystemV to systemd. Whenever that happened, the upgrade to
rsyslog would have supplied a new /etc/logrotate.d/rsyslog file
containing "/usr/lib/rsyslog/rsyslog-rotate", which knows how to
handle both SystemV and systemd systems.
Effectively, your edit has merged the contents of both files,
whatever changes you made earlier before the Buster upgrade,
and the vital change that would have been made for you if
you'd accepted the new version.