Re: cron no logrotate!
On 17.04.2016 21:40, Bartek Szady wrote: Please, show the result of cat /etc/logrotate.d/syslog-ng oh, it's there. no worries! [root@blodnatt apache]# grep cron /etc/logrotate.d/syslog-ng /var/log/cron [root@blodnatt apache]# -- glen ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: cron no logrotate!
On 04/15/16 22:26, Elan Ruusamäe wrote: ... 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! Please, show the result of cat /etc/logrotate.d/syslog-ng Bartek ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
cron no logrotate!
... 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@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 mai5 2010 /etc/logrotate.d/cron.rpmsave [root@blodnatt mail]# [root@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@blodnatt mail]# rpm -qf /etc/logrotate.d/cron file /etc/logrotate.d/cron: No such file or directory [root@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 ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en