percona-xtradb-cluster init script is not honoring /etc/default/
Bug #1381492 reported by
Mario Splivalo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Confirmed
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Percona's init script is not honoring /etc/default in any way.
Using /etc/default (in this case I'm assuming /etc/default/mysql should be used) is a convenient way of setting up various environment options for the running services (it will also eliminate bug #1380747).
@Mario,
Thanks. Yes, it should help.
I am assuming this request is for ubuntu/debian?
A similar thing was done for CentOS7 for systemd with EnvironmentFile for mysql@.service.
" =/etc/sysconfig /mysql. %i
EnvironmentFile
"
Similar thing can be done for ubuntu/debian as well.
Now, as per debian specifications, for debian, /etc/default seems to be the apt one.