Bug #25104 Merge patches from Debian
Submitted: 15 Dec 2006 20:19 Modified: 26 Feb 2007 19:47
Reporter: Monty Taylor Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version: OS:Linux (linux)
Assigned to: Monty Taylor CPU Architecture:Any
Tags: Contribution

[15 Dec 2006 20:19] Monty Taylor
Description:
To help with supporting debian binaries, we should merge patches from Debian that make sense. I'll continue to add patch descriptions here as I find them. 

1)  Use "/usr/bin/sensible-editor" before emacs if it exists.  

2) Search /etc/mysql after /etc for config files

3) Change permissions on socket dir if we create it 

If possible, it would be great if Debian didn't need to apply any patches.

How to repeat:
Download the debian source. Go into the Debian directory. look at the list of files in the patches directory, each one containing a downstream modification.
[15 Dec 2006 20:25] 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/17077

ChangeSet@1.2596, 2006-12-15 12:25:09-08:00, mtaylor@qualinost.(none) +1 -0
  Added support for /etc/mysql after /etc in the search path for my.cnf
  bug #25104
[15 Dec 2006 20:34] 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/17078

ChangeSet@1.2354, 2006-12-15 12:34:36-08:00, mtaylor@qualinost.(none) +2 -0
  Added /etc/mysql to my.cnf search path after /etc. 
  bug #25104
[31 Jan 2007 19:11] Chad MILLER
Available in 4.1.23, 5.0.36, 5.1.15-beta.
[8 Feb 2007 4:44] Monty Taylor
Reverted the /etc/mysql/my.cnf patch in 4.1 and 5.0 trees, as it introduced a possibly incompatible change.
[26 Feb 2007 19:47] Paul DuBois
Noted in 5.1.15 changelog.

On Unix, when searching the standard locations for option files,
MySQL programs now also look for /etc/mysql/my.cnf after checking for
/etc/my.cnf and before checking the remaining locations.