[Openstack-devel] Bug#736931: ceilometer: No logrotate post-rotate instruction

Romain Chantereau romain.chantereau at enovance.com
Tue Jan 28 14:24:42 UTC 2014


Package: ceilometer
Version: 2013.2.1-3~bpo2012.04+1
Severity: normal

Dear Maintainer,

ceilometer packages contains logrotate configuration fragments for produced log
files. I.E:

    # cat /etc/logrotate.d/ceilometer-collector
    /var/log/ceilometer/ceilometer-collector.log {
        daily
        missingok
        compress
        delaycompress
        notifempty
    }

As there is no reload/restard to the process, the log file is never switched
and the rotated file is still used by the process (ie:  /var/log/ceilometer
/ceilometer-collector.log.1) until it is archived and deleted.

Perhaps a post-rotate action is needed ?

Thanks.



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the Openstack-devel mailing list