A few logrotate scripts, notably samba's and cron's (from
the latest update), use the "missingok" keyword. It works
with logrotate 3.2 (from RH6), but not with logrotate 2.6
(from RH52) which generates error messages every night --
and of course does not rotate the logs.
Probably the easiest fix is to update logrotate on all
supported RH versions.
Jeff: we fixed this for cron, are we going to fix it for samba?
You could build new logrotate from
It should be compiled on ANY RedHat systems.
On my RedHat 5.2 i386 I got only one warning,
but logrotate works OK.
cc -Wall -D_GNU_SOURCE -DVERSION=\"3.3\" -O2 -m486
-fno-strength-reduce -c logrotate.c -o logrotate.o
logrotate.c: In function `main':
logrotate.c:835: warning: assignment from incompatible pointer type
Please note, that popt package in Redhat 5.2 (1.1.1-2) is too old for newer
logrotates -- rebuilding logrotate-3.3.2 for instance fails horribly.
After upgrading popt to the newest rawhide version, I only got that one error
You might want to put some version number in logrotate's SPEC file.
Like Requires: popt >= 1.3, I don't know the exact version where it began to