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
Bug 1178144 - redis-shutdown stopping redis and not redis sentinel
Summary: redis-shutdown stopping redis and not redis sentinel
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: redis
Version: epel7
Hardware: Unspecified
OS: Linux
Target Milestone: ---
Assignee: Haïkel Guémar
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2015-01-02 14:42 UTC by thenomadinlondon
Modified: 2015-03-28 18:37 UTC (History)
3 users (show)

Fixed In Version: redis-2.8.19-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-02-27 13:38:24 UTC
Type: Bug

Attachments (Terms of Use)

Description thenomadinlondon 2015-01-02 14:42:59 UTC
Description of problem:

Running /usr/bin/redis-shutdown redis-sentinel results in shutdown of redis-server service.

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

How reproducible:

Steps to Reproduce:
1.yum install redis-server
2.systemctl stop redis-sentinel

Actual results:

Redis service stops

Expected results:

Redis sentinel to stop

Additional info:

In /usr/bin/redis-shutdown:


As far as I can tell $2 will never be passed to the script which will always result in redis-srver being sutdown (default). By changing $2 to $1 the script will act as desired. 
Additionally /lib/systemd/system/redis-sentinel sentinel needs to be changed from 'sentinel' to 'redis-sentinel' for this to work.

Comment 1 Haïkel Guémar 2015-01-12 11:08:58 UTC
Please use the latest version of the package which should fix this issue. If it's not yet in stable, use the one in updates-testing.

Comment 2 Fedora Update System 2015-02-27 20:33:18 UTC
redis-2.8.19-1.el7 has been submitted as an update for Fedora EPEL 7.

Comment 3 Fedora Update System 2015-03-28 18:37:25 UTC
redis-2.8.19-1.el7 has been pushed to the Fedora EPEL 7 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.