my.cnf template pid_file path is wrong on SUSE

Bug #1342658 reported by Ionuț Arțăriși
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Invalid
Medium
Unassigned

Bug Description

The pid_file in the my.cnf template is hardcoded to /var/run/mysqld/mysqld.pid , but that directory does not exist. This makes mysqld fail to start on SUSE systems with:

140716 10:52:12 [ERROR] mysqld: Can't create/write to file '/var/run/mysqld/mysqld.pid' (Errcode: 2)
140716 10:52:12 [ERROR] Can't start server: can't create PID file: No such file or directory

The right directory is /var/run/mysql on SUSE (without the last 'd').

Changed in trove:
importance: Undecided → Medium
Changed in trove:
assignee: nobody → Syed Afzal Hussain (syed-hussain)
Revision history for this message
Amrith Kumar (amrith) wrote :

I believe that this bug should not be fixed as a bugfix. SuSE is currently not a supported operating system and the (IMHO) proper way to address this and other SuSE related changes is to propose a blueprint to fix issues related to SuSE.

Changed in trove:
assignee: Syed Afzal Hussain (syed-hussain) → nobody
Revision history for this message
Denis M. (dmakogon) wrote :

Marking this one as invalid due to overlap with SUSE support for Trove.

Changed in trove:
status: New → Invalid
Revision history for this message
Amrith Kumar (amrith) wrote :

Ionut, now that there is an accepted blueprint for SUSE support, would you please make sure that this work item is addressed in your blueprint/changes.

Changed in trove:
status: Invalid → Incomplete
Changed in trove:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.