Bug 1404244 - Wrong file referenced in init script
Summary: Wrong file referenced in init script
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: redis
Version: rh-redis32
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 3.1
Assignee: Remi Collet
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
: 1546958 (view as bug list)
Depends On:
Blocks: 1548516
TreeView+ depends on / blocked
 
Reported: 2016-12-13 13:09 UTC by Piyush Bhoot
Modified: 2021-06-10 11:44 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1548516 (view as bug list)
Environment:
Last Closed: 2019-06-05 11:11:09 UTC
Target Upstream Version:


Attachments (Terms of Use)

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. ***


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