PXC on Debian fails to start with datadir containing underscore
Bug #1227521 reported by
Taras
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL patches by Codership |
New
|
Undecided
|
Unassigned | ||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Fix Released
|
Undecided
|
Raghavendra D Prabhu |
Bug Description
Looks like mysqld_get_param() inside the Debian init script replaces '_' with '-' using tr '_' '-'. This causes sidk space check to fail using df
df: `/mnt/mysql/
df: no file systems processed
[FAIL] /etc/init.d/mysql: ERROR: The partition with /mnt/mysql/
OS is Debian 7
Changed in percona-xtradb-cluster: | |
status: | New → Fix Committed |
assignee: | nobody → Raghavendra D Prabhu (raghavendra-prabhu) |
summary: |
- XtraDB Cluster 5.5.33 fails to start with datadir containing underscore + PXC on Debian fails to start with datadir containing underscore |
To post a comment you must log in.
This is a regression from https:/ /bugs.launchpad .net/percona- xtradb- cluster/ +bug/1208865
It (tr) was only meant for the key and not the value,
Following should fix it.
>>bzr diff debian/ percona- xtradb- cluster- server- 5.5.mysql. init' percona- xtradb- cluster- server- 5.5.mysql. init 2013-09-15 17:18:26 +0000 percona- xtradb- cluster- server- 5.5.mysql. init 2013-09-20 09:07:12 +0000
"${PERCONA_ PREFIX} "/sbin/ mysqld --print-defaults \ *)_(.*) =(.*)/- -\1-\2= \3/g' \
=== modified file 'build/
--- build/debian/
+++ build/debian/
@@ -45,7 +45,7 @@
# Usage: void mysqld_get_param option
mysqld_get_param() {
- | tr " " "\n" | tr '_' '-' \
+ | tr " " "\n" | sed -re 's/--(.
| grep -- "--$1=" \
| tail -n 1 \
| cut -d= -f2