[debian-mysql] BUG in MySql startup script
Gáspár Lajos
swifty at freemail.hu
Thu Jul 30 16:30:06 UTC 2009
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