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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

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
Comment by Glenn Matthys (RedShift) - Wednesday, 29 April 2009, 07:04 GMT
Ok, can you provide us any more reasoning why this should happen? I've been running Arch for ages, and this kind of setup never gave me any problems.
Comment by Sagattarii (sagattarii) - Monday, 04 May 2009, 12:34 GMT
Well this is no critical issue, but I think it is better if most of the distributions use the same dirs and the PKGBUILD Guidelines say that at least the config should be in /etc/mysql/. If every deamon has its own dir under /var/run is is just tidier. Well convince me that the current solution is better :)
Comment by Sagattarii (sagattarii) - Tuesday, 05 May 2009, 09:42 GMT
Update:

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)

Loading...