Script /etc/init.d/mysql hardcodes CONF-variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-cluster-7.0 (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Within script "/etc/init.d/mysql" testing existence of the config file "my.cnf" is hardcoded: changing the variable "CONF" thus doesn't have any effect. This shall be changed to respect variable "CONF":
--------
54c54
< if [ ! -r /etc/mysql/my.cnf ]; then
---
> if [ ! -r ${CONF} ]; then
--------
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: mysql-cluster-
ProcVersionSign
Uname: Linux 2.6.32-28-server x86_64
Architecture: amd64
Date: Wed Feb 16 14:27:11 2011
InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.2)
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: mysql-cluster-7.0
Code still does not respect $CONF.