[debian-mysql] Bug#594329: mysql-server upgrade ignores user in my.cnf when setting owner /var/run/mysqld

braun braun at dc.uni-due.de
Wed Aug 25 10:58:44 UTC 2010


Package: mysql-server
Status: install ok installed
Priority: optional
Section: misc
Installed-Size: 88
Maintainer: Debian MySQL Maintainers 
<pkg-mysql-maint at lists.alioth.debian.org>
Architecture: all
Source: mysql-dfsg-5.0
Version: 5.0.51a-24+lenny4
Depends: mysql-server-5.0

I need another user than mysql for the mysql-server.
Upgrade breaks, because the upgrade ignores the variable "user" in  
/etc/mysql/my.cnf and changes it back to traditional user mysql for 
directory /var/run/mysqld. Therfore the upgrade cannot start mysql, 
because my extra user mysql2 has no privilegs for this dir.  After I 
changed the privileges to 777 for /var/run/mysqld the upgrade sucesses 
and I have to change back the privilegs and owner mysql2 manually. 

I suggest, the upgrade should use the user-variable in my.cnf  if it is set.

I am using:
Linux v2web 2.6.26-2-xen-amd64 #1 SMP Sun Jun 20 20:51:58 UTC 2010 
x86_64 GNU/Linux

With best regards,
Christina Braun




-- 
-------------------------------------------------
Universität Duisburg-Essen
Fakultät für Wirtschaftswissenschaften
Institut für Informatik und Wirtschaftsinformatik
Schützenbahn 70, 45127 Essen
Telefon: (0201) 183-3929, Fax: (0201) 183-2419
E-Mail: braun at dc.uni-due.de






More information about the pkg-mysql-maint mailing list