FS#14488 - [mysql] use standard directories for mysql config and mysqld.pid files
Attached to Project:
Arch Linux
Opened by Sagattarii (sagattarii) - Tuesday, 28 April 2009, 17:34 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 17 November 2009, 19:56 GMT
Opened by Sagattarii (sagattarii) - Tuesday, 28 April 2009, 17:34 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 17 November 2009, 19:56 GMT
|
Details
Description:
I use archlinux on a webserver and Archlinux does not use the standard directories for config files and the pid file and sockets. Debian, Fedore and many other distributions use these directories: Should Archlinux not try to be compatible to the other distributions, so more people can use Archlinux instead of Debian or anything else? Please move config from /etc/my.cnf to /etc/mysql/my.cnf <-- sometimes you need addtitional config files, and the PKGBUILD Guidelines say that it should be /etc/$PGKNAME Please move socket from /tmp/mysqld.sock to /var/run/mysqld/mysqld.sock Please move PID File to /var/run/mysqld/mysqld.pid I think that is a good step, cause it cleans the /etc dir and sorts the socket and pid file like the other deamons Additional info: * package version(s): mysql 5.1.34-1 |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Tuesday, 17 November 2009, 19:56 GMT
Reason for closing: Implemented
Additional comments about closing: mysql 5.1.40-1
Tuesday, 17 November 2009, 19:56 GMT
Reason for closing: Implemented
Additional comments about closing: mysql 5.1.40-1
http://www.pathname.com/fhs/2.2/fhs-5.13.html
Here FHS says that it is encouraged to use a subdir if you have more than one run-time file (e.g. mysql socket and pid file)