Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1183690 - rabbitmq logrotate script attempts to use legacy service commands
Summary: rabbitmq logrotate script attempts to use legacy service commands
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rabbitmq-server
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-19 13:42 UTC by Lars Kellogg-Stedman
Modified: 2015-10-23 16:21 UTC (History)
8 users (show)

Fixed In Version: rabbitmq-server-3.1.5-11.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-23 16:21:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lars Kellogg-Stedman 2015-01-19 13:42:12 UTC
Description of problem:

The rabbitmq-server package installs /etc/logrotate.d/rabbitmq-server with the following:

        postrotate
            /sbin/service rabbitmq-server rotate-logs > /dev/null
        endscript

That hasn't work since systemd was introduced, and results in the error:

/etc/cron.daily/logrotate:

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.
error: error running shared postrotate script for '/var/log/rabbitmq/*.log '


Version-Release number of selected component (if applicable):

rabbitmq-server-3.1.5-10.fc21.noarch

Comment 1 vivien.frasca 2015-01-26 08:30:11 UTC
I've got exactly the same issue under fedora 20.

Comment 2 Fedora Update System 2015-10-01 11:01:42 UTC
rabbitmq-server-3.1.5-11.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-21786b0482

Comment 3 Fedora Update System 2015-10-04 02:21:05 UTC
rabbitmq-server-3.1.5-11.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update rabbitmq-server'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-21786b0482

Comment 4 Fedora Update System 2015-10-23 16:21:24 UTC
rabbitmq-server-3.1.5-11.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.