PKG XtraDB Cluster 5.6.34 sed error with proxy-protocol-networks (or any other option with a "/" in it)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Fix Released
|
Undecided
|
EvgeniyPatlan |
Bug Description
We're using `proxy-
our config includes the following line (with real addresses)
proxy_
The fix is to apply the diff below to mysqld_safe:
--- /usr/bin/
+++ /usr/bin/
@@ -303,14 +303,14 @@
for arg do
# the parameter after "=", or the whole $arg if no match
val=`echo "$arg" | sed -e 's;^--[^=]*=;;'`
# what's before "=", or the whole $arg if no match
- optname=`echo "$arg" | sed -e 's/^\(-
+ optname=`echo "$arg" | sed -e 's;^\(-
# replace "_" by "-" ; mysqld_safe must accept "_" like mysqld does.
optname_
- arg=`echo $arg | sed "s/^$optname/
+ arg=`echo $arg | sed "s;^$optname;
case "$arg" in
# these get passed explicitly to mysqld
--basedir=*) MY_BASEDIR_
--datadir=*) DATADIR="$val" ;;
Changed in percona-xtradb-cluster: | |
assignee: | nobody → EvgeniyPatlan (evgeniy-patlan) |
summary: |
- XtraDB Cluster 5.6.34 sed error with proxy-protocol-networks (or any + PKG XtraDB Cluster 5.6.34 sed error with proxy-protocol-networks (or any other option with a "/" in it) |
Changed in percona-xtradb-cluster: | |
milestone: | none → 5.6.35-26.20 |
status: | New → Fix Released |
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PXC-1945