Bug 1134033
| Summary: | mysqld_safe generates errors on sed | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Ryan O'Hara <rohara> |
| Component: | mariadb-galera | Assignee: | Michael Bayer <mbayer> |
| Status: | CLOSED ERRATA | QA Contact: | Leonid Natapov <lnatapov> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.0 (RHEL 7) | CC: | mlopes, nbarcet, nyechiel, rohara, sasha, yeylon |
| Target Milestone: | z4 | Keywords: | ZStream |
| Target Release: | 6.0 (Juno) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | mariadb-galera-5.5.41-3.el7ost | Doc Type: | Bug Fix |
| Doc Text: |
Prior to this update, a call to the 'sed' command within 'mysqld_safe.sh' (to certain command line arguments) failed to accommodate arguments which include a slash, such as the paths to SSL key and certificate files which are passed through this function.
Consequently, the 'mysqld_safe.sh' script produced warnings of the form "unknown option to `s'". However, the script continued to work correctly, as these arguments are not actually needed in this specific context.
This update addresses this issue by correcting the call to 'sed' so that SSL arguments which include slashes are properly interpreted.
As a result, the warnings regarding 'sed' are now resolved.
|
Story Points: | --- |
| Clone Of: | 1134032 | Environment: | |
| Last Closed: | 2015-08-24 14:48:22 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: | |||
|
Description
Ryan O'Hara
2014-08-26 16:22:42 UTC
OK we probably need to have a separate BZ then, i think thats how it works now... Verified:
Environment:
mariadb-galera-common-5.5.42-1.el7ost.x86_64
mariadb-galera-server-5.5.42-1.el7ost.x86_64
The line in /usr/bin/mysqld_safe now looks as following:
arg=`echo $arg | sed "s|^$optname|$optname_subst|"`
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1659.html |