wsrep-recover fails in mysqld_safe, Ubuntu (dash)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Galera |
Fix Released
|
High
|
Alex Yurchenko | ||
MySQL patches by Codership |
Fix Released
|
High
|
Alex Yurchenko | ||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The mysqld_safe script in PXC 5.5.28 fails to recover the galera replication position (--wsrep-recover) on Ubuntu 10.04 x86_64. I believe this is because Ubuntu links /bin/sh to the dash shell (https:/
# grep -n EUID /usr/bin/
192: [ "$EUID" = "0" ] && chown $user $wr_logfile
The problem is fixed if I change mysqld_safe to use /bin/bash, instead of /bin/sh, or if I use `id -u` instead of "$EUID"
I am running...
percona-
percona-
percona-
percona-
# lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 10.04.4 LTS
Release: 10.04
Codename: lucid
Dane
Changed in percona-xtradb-cluster: | |
status: | New → Confirmed |
Changed in codership-mysql: | |
assignee: | nobody → Alex Yurchenko (ayurchen) |
importance: | Undecided → High |
milestone: | none → 5.5.29-23.7.3 |
status: | New → In Progress |
Changed in galera: | |
status: | Fix Committed → Fix Released |
Changed in percona-xtradb-cluster: | |
milestone: | none → 5.5.30-23.7.3 |
status: | Confirmed → Fix Released |
milestone: | 5.5.30-23.7.3 → none |
Changed in percona-xtradb-cluster: | |
milestone: | none → 5.5.30-23.7.4 |
Changed in codership-mysql: | |
status: | Fix Committed → Fix Released |
summary: |
- wsrep-recover fails in mysqld_safe, PXC 5.5.28, Ubuntu + wsrep-recover fails in mysqld_safe, Ubuntu (dash) |
mysqld_safe for Debian/Ubunty is stored in Galera repository. Committed fix by http:// bazaar. launchpad. net/~codership/ galera/ 2.x/revision/ 146.