Bug 1403416 - /opt/rh/rh-mariadb101/root/usr/bin/galera_recovery calls /usr/sbin/mysqld instead of /opt/rh/rh-mariadb101/root/usr/libexec/mysqld
Summary: /opt/rh/rh-mariadb101/root/usr/bin/galera_recovery calls /usr/sbin/mysqld ins...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: mariadb
Version: rh-mariadb101
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.3
Assignee: Michal Schorm
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 1346768 1466472
TreeView+ depends on / blocked
 
Reported: 2016-12-10 01:14 UTC by James Boyle
Modified: 2019-04-06 20:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-06 20:05:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
git patch (1.41 KB, patch)
2017-03-19 22:56 UTC, Michal Schorm
no flags Details | Diff
git patch (1.41 KB, text/plain)
2017-03-19 22:59 UTC, Michal Schorm
no flags Details

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.


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