mysqld_safe in 5.7.19 contains a bashism and fails on systems where /bin/sh is not bash
Bug #1722973 reported by
James Brown
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Fix Committed
|
High
|
EvgeniyPatlan | ||
5.7 |
Fix Committed
|
High
|
EvgeniyPatlan |
Bug Description
mysqld_safe on PXC 5.7.19-29.22 is marked as #!/bin/sh at the top of the file, but contains a bashism on line 221 which causes it to fail on systems where /bin/sh is not bash
Specifically, the eval_log_error function uses the > operator inside the single-bracket test construct. The -gt operator should be used instead.
This bug is not present on 5.6.37 or 5.7.18.
This was only tested with the tarball version. I haven't looked at the RPMs or Debs.
Changed in percona-xtradb-cluster: | |
assignee: | nobody → EvgeniyPatlan (evgeniy-patlan) |
Changed in percona-xtradb-cluster: | |
status: | New → Fix Committed |
importance: | Undecided → High |
To post a comment you must log in.
Here is the commit: https:/ /github. com/percona/ percona- xtradb- cluster/ pull/554/ commits/ 9b5b5aeecf5aadd fed1d881c4bdf2f 1ce9cc5d47