Mir fiel gestern auf, das das syslog nicht mehr rotierte. Es war schon 168MB groß. Syslog wird nicht von logrotate bedient, sondern in der Standard Konfiguration von /etc/cron.daily/sysklogd. Auf dem Server ist aber gar kein anacron installiert gewesen. In /usr/share/doc/cron/README.anacron kann man folgende Erklärung lesen:
the /etc/cron.daily, /etc/cron.weekly, and /etc/cron.monthly directories
was changed to the form
        test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily
What this means is that if anacron has been installed, it will
be responsible for running those scripts. This is the standard
configuration of anacron: if you simply install both cron and anacron,
things will work as expected.
However, if you have modified your anacron configuration
(/etc/anacrontab), you may need to re-adjust it in order to accommodate
this change.
Ok, das hört sich erst mal gut an, aber da hat sich was verschluckt. Denn ein ps -efa|grep anacron |grep -v grep ergab ca. 50 Prozesse, immer zwei pro Tag.
root 20587 20572 0 Nov07 ? 00:00:00 /bin/sh -c test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) root 20619 20587 0 Nov07 ? 00:00:00 /bin/sh -c test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
Das war sicherlich nicht im Sinne des Erfinders. Ich einfach anacron installiert und den Server rebootet, weil ein Reboot nach langer Zeit gar nicht mal so schlecht ist. (Diverse Security Patches in der letzten Zeit, da ist ein Neustart nicht die dümmste Idee). Der Reboot blieb übrigens hängen, nur ein Hardreset über die Adminoberfläche brachte dann den Neustart. (deshalb auch die kurze Lücke auf allen überwachten Servern bei ping.Zockertown.de )). Ist dieses Verhalten, also das ausflippen des anacron Ersatzes schon bei euch gewesen?