[Bug 553362] [NEW] Start script creates /var/run/mysqld with static owner

iox ignacio at ihuerta.net
Thu Apr 1 16:03:31 BST 2010


Public bug reported:

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?

** Affects: mysql-dfsg-5.1 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Start script creates /var/run/mysqld with static owner
https://bugs.launchpad.net/bugs/553362
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.



More information about the Ubuntu-server-bugs mailing list