[debian-mysql] BUG in MySql startup script

Christian Hammers ch at debian.org
Fri Jul 31 05:30:31 UTC 2009


Hello

Thanks for the report, it's fixed in SVN and will be in the next
upload.

bye,

-christian-

Am Thu, 30 Jul 2009 18:30:06 +0200
schrieb Gáspár Lajos <swifty at freemail.hu>:

> Hi!
> 
> I have found a little bug in the /etc/init.d/mysql script.
> I am using tmpfs under /var/run. (In /etc/default/rcS -> RAMRUN=yes)
> In this case the startup script tries to create the /var/run/mysqld 
> subdirectory.
> Unfortunately the script creates a /755 directory instead of 
> /var/run/mysqld... :D
> 
> This is the sollution:
> 
> Original:
> 106: test -e /var/run/mysqld || install -d 755 -o mysql -g root 
> /var/run/mysqld
> 
> Fixed:
> 106: test -e /var/run/mysqld || install -m 755 -o mysql -g root -d 
> /var/run/mysqld
> 
> MySql server version: 5.1.36-4
> 
> Please fix it! :D
> 
> Thank you
> 
> Swifty a.k.a. Gáspár Lajos
> 



More information about the pkg-mysql-maint mailing list