cron no logrotate!
Elan Ruusamäe
glen at pld-linux.org
Fri Apr 15 22:26:57 CEST 2016
...
13:libusbmuxd ########################################### [ 29%]
14:cups-image-lib ########################################### [ 31%]
15:cups-clients ########################################### [ 33%]
16:cronie ########################################### [ 36%]
17:curl-libs ########################################### [ 38%]
18:c-ares-devel ########################################### [ 40%]
19:syslog-ng warning: /etc/syslog-ng/syslog-ng.conf created as /etc/syslog-ng/syslog-ng.conf.rpmnew
########################################### [ 42%]
20:cyrus-sasl ########################################### [ 44%]
21:cloog-ppl ########################################### [ 47%]
22:libimobiledevice ########################################### [ 49%]
23:cups warning: /etc/cups/cupsd.conf created as /etc/cups/cupsd.conf.rpmnew
########################################### [ 51%]
warning: /etc/logrotate.d/cron saved as /etc/logrotate.d/cron.rpmsave
24:cmake ########################################### [ 53%]
25:curl ########################################### [ 56%]
...
and as a result, no cron logs rotation!
[root at blodnatt mail]# l /etc/logrotate.d/cron /etc/logrotate.d/cron.rpmsave
ls: cannot access '/etc/logrotate.d/cron': No such file or directory
-rw-r----- 1 root root 158 mai 5 2010 /etc/logrotate.d/cron.rpmsave
[root at blodnatt mail]#
[root at blodnatt mail]# cat /etc/logrotate.d/cron.rpmsave
/var/log/cron {
create 660 root crontab
postrotate
/sbin/service crond flush-logs >/dev/null
/sbin/service syslog-ng flush-logs >/dev/null
endscript
}
[root at blodnatt mail]# rpm -qf /etc/logrotate.d/cron
file /etc/logrotate.d/cron: No such file or directory
[root at blodnatt mail]#
it was addressed directly to bartek, and via mailing list
http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2015-November/024534.html
but seems still not resolved?
--
glen
More information about the pld-devel-en
mailing list