Start script creates /var/run/mysqld with static owner

Bug #553362 reported by Ignacio Huerta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-dfsg-5.1 (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: mysql-server-5.1

I run a mysql server (5.1.37-1ubuntu5.1) in my laptop (Ubuntu Karmic 64) with my personal user "ignacio", instead of the default "mysql".

The problem: After defining the user on /etc/mysql/my.cnf and taking care of permissions, mysql server won't start.

The workaround: /etc/init.d/mysql script is the problem. I found out that on every start, the script creates /var/run/mysqld with the owner "mysql", and so the server doesn't start. After modifying this script (line 109), the server works perfectly.

The question: Maybe the mysql start script could check into /etc/mysql/my.cnf to see what the correct user is? Is there any reason why this mysqld folder is recreated on every reboot?

Revision history for this message
Chuck Short (zulcss) wrote :

Its something we can look at for lucid+1.

Regards
chuck

Changed in mysql-dfsg-5.1 (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
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.