Bug 1403416

Summary: /opt/rh/rh-mariadb101/root/usr/bin/galera_recovery calls /usr/sbin/mysqld instead of /opt/rh/rh-mariadb101/root/usr/libexec/mysqld
Product: Red Hat Software Collections Reporter: James Boyle <unixi>
Component: mariadbAssignee: Michal Schorm <mschorm>
Status: CLOSED CURRENTRELEASE QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rh-mariadb101CC: databases-maint, hhorak, jorton, mmuzila, mschorm
Target Milestone: ---   
Target Release: 3.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-06 20:05:15 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1346768, 1466472    
Attachments:
Description Flags
git patch
none
git patch none

Description James Boyle 2016-12-10 01:14:02 UTC
Description of problem:
/opt/rh/rh-mariadb101/root/usr/bin/galera_recovery calls /usr/sbin/mysqld instead of /opt/rh/rh-mariadb101/root/usr/libexec/mysqld

Version-Release number of selected component (if applicable):
rh-mariadb101-mariadb-server-galera-10.1.19-6.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. yum install rh-mariadb101-{galera,mariadb} rh-mariadb101-mariadb-server-galera
2. run /opt/rh/rh-mariadb101/root/usr/bin/galera_recovery

Actual results:
/opt/rh/rh-mariadb101/root/usr/bin/galera_recovery: line 71: /usr/sbin/mysqld: No such file or directory
WSREP: Failed to start mysqld for wsrep recovery: ''


Expected results:
SCL galera_record should call the SCL mysqld binary.

Additional info:
71:  eval /usr/sbin/mysqld $cmdline_args --user=$user --wsrep_recover \

Comment 2 Michal Schorm 2017-03-19 22:56:32 UTC
Created attachment 1264657 [details]
git patch

Git patch proposed.

Test build in BREW succeeded.

Comment 3 Michal Schorm 2017-03-19 22:59:36 UTC
Created attachment 1264658 [details]
git patch

RHBZ parsed previous patch incorrectly.
Here's the same one uploaded as 'plan text'

Comment 4 Michal Schorm 2017-03-20 13:28:41 UTC
Change in script proposed to upstream

Comment 6 Joe Orton 2018-11-28 15:47:34 UTC
Is this fixed in the current 10.2 collection? If so feel free to close out.