Bug 1404244

Summary: Wrong file referenced in init script
Product: Red Hat Software Collections Reporter: Piyush Bhoot <pbhoot>
Component: redisAssignee: Remi Collet <rcollet>
Status: CLOSED CURRENTRELEASE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: low Docs Contact:
Priority: low    
Version: rh-redis32CC: dbasant, dmulford, jorton, kanderso, pkettman, rcollet, steven.post
Target Milestone: ---   
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1548516 (view as bug list) Environment:
Last Closed: 2019-06-05 11:11:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1548516    

Description Piyush Bhoot 2016-12-13 13:09:04 UTC
Description of problem:

After installation of rh-redis32-redis-3.2.4-1.el6.x86_64 from software collections 2.3.
/etc/init.d/rh-redis32-redis line 25 reads
[ -e /etc/opt/rh/rh-redis32/sysconfig/redis ] && . /etc/sysconfig/redis

Version-Release number of selected component (if applicable):
rh-redis32-redis-3.2.4-1


Actual results:
/etc/init.d/rh-redis32-redis line 25 reads
[ -e /etc/opt/rh/rh-redis32/sysconfig/redis ] && . /etc/sysconfig/redis

Expected results:

/etc/init.d/rh-redis32-redis line 25 reads
[ -e /etc/opt/rh/rh-redis32/sysconfig/redis ] && . /etc/opt/rh/rh-redis32/sysconfig/redis

Additional info:

if a non software collections version of redis is also installed, its config will be executed instead. If it isn't installed, no config will be executed.

Comment 1 Piyush Bhoot 2016-12-16 06:48:28 UTC
same issue is present at line 25 in file /etc/init.d/rh-redis32-redis-sentinel

 [ -e /etc/opt/rh/rh-redis32/sysconfig/redis-sentinel ] && . /etc/sysconfig/redis-sentinel

Comment 8 Joe Orton 2018-02-21 15:48:31 UTC
*** Bug 1546958 has been marked as a duplicate of this bug. ***