+++ This bug was initially created as a clone of Bug #1252842 +++ Description of problem: The current logrotate configuration is wrong and doesn't close the files once they are renamed: # cat /etc/logrotate.d/rabbitmq-server /var/log/rabbitmq/*.log { weekly missingok rotate 20 compress delaycompress notifempty sharedscripts postrotate /sbin/service rabbitmq-server rotate-logs > /dev/null endscript } # /sbin/service rabbitmq-server rotate-logs The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl. # fuser /var/log/rabbitmq/* /var/log/rabbitmq/rabbit.1: 1214 Workarounded by # /usr/sbin/rabbitmqctl rotate_logs > /dev/null Version-Release number of selected component (if applicable): rabbitmq-server-3.3.5-3.el7ost.noarch How reproducible: always Steps to Reproduce: 1. wait until logs are rotated 2. 3. Actual results: Wrong file is use /var/log/rabbitmq/rabbit.1: 1214 Expected results: Correct file in use /var/log/rabbitmq/rabbit: 1214 Additional info:
*** Bug 1197654 has been marked as a duplicate of this bug. ***
automation passed https://rhos-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/RHOS/view/RHOS6/job/rhos-jenkins-rhos-6.0-puddle-rhel-7.1-multi-node-packstack-neutron-ml2-vxlan-rabbitmq-tempest-git-all/
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2495.html