Bug #27367 mysql.server should be LSB init script compliant
Submitted: 22 Mar 2007 2:32 Modified: 16 Mar 2009 12:28
Reporter: Monty Taylor Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: General Severity:S3 (Non-critical)
Version:5.0, 5.1 OS:Linux (linux)
Assigned to: Monty Taylor CPU Architecture:Any

[22 Mar 2007 2:32] Monty Taylor
Description:
The mysql.server init script has deficiencies which all fall under a general heading of LSB compliance. It emits messages in a manner that is inconsistent on LSB compliant machines. It does not define actions status, try-restart or force-reload, the absence of which can cause failures on systems reliant on services responding to those actions. 

How to repeat:
Check the LSB init script spec. 
http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact....

Suggested fix:
Implement LSB init script requirements.
[22 Mar 2007 4:01] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/22551

ChangeSet@1.2405, 2007-03-21 20:46:24-07:00, mtaylor@qualinost.(none) +1 -0
  BUG#27367 mysql.server should be LSB init script compliant
[22 Mar 2007 4:21] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/22552

ChangeSet@1.2406, 2007-03-21 21:21:32-07:00, mtaylor@qualinost.(none) +1 -0
  BUG#27367 mysql.server should be LSB init script compliant
[22 Mar 2007 5:48] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/22556

ChangeSet@1.2407, 2007-03-21 22:47:48-07:00, mtaylor@qualinost.(none) +1 -0
  BUG#27367 mysql.server should be LSB init script compliant
  Also made mysql.server work on Debian and Ubuntu systems in the spirit 
  of LSB compliance.
[12 Apr 2007 18:16] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/24403

ChangeSet@1.2455, 2007-04-12 11:16:07-07:00, mtaylor@qualinost.(none) +1 -0
  BUG#27367 mysql.server should be LSB init script compliant
  Moved cd $basedir to live in the start section, as it only applies to the start
  functionality and breaks the restart task
[26 Apr 2007 11:34] Bugs System
Pushed into 5.0.42
[26 Apr 2007 11:35] Bugs System
Pushed into 5.1.18-beta
[28 Nov 2008 19:20] Trudy Pelzer
Comments on this bug report indicate this is fixed
but bug status says otherwise. Please provide correct
status.

Is bug#29274 a duplicate?
[16 Mar 2009 12:28] Daniel Fischer
This patch was applied to 5.0 and 5.1 as per the above push comments, and is present in 6.0 as well.