-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hans Witvliet wrote:
On Tue, 2006-06-27 at 09:15 +0200, Michal Marek wrote:
Hans Witvliet wrote:
The warning reminded me that by default, the mysql-data resided under /var/lib/mysql/
Which makes me wonder, according to the FSH, data belonging to servers/services should reside under /srv, just like www, ftp, tftp.... Good point. OTOH, which distributions use /srv/mysql? /var/lib/mysql seems to be quite widely used. Anyway, please put this request to bugzilla.novell.com and assign to mmarek@suse.de.
I don't think any other distribution currently uses /srv although it's defined as the standard in FHS [1] (but most distributions don't care about LSB anyway, be it Redhat, Gentoo or - most notably - Debian) [1] http://www.pathname.com/fhs/ Debian and Gentoo both have /var/www, which is definitely a very bad choice wrt standards as it's just nowhere in the FHS (/var/lib/www would have been "ok" IMO).
Done: #188713
Certainly, it can be done manually afterwards. But when working for a department who is claiming to follow international standards and so, one finds lots of sysadmins unwilling, ignorant or just plain lazy to do so.
There isn't really a standard for that. Even if you consider the FHS, here: http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYS... I think it's still a bit vague. And, as said, not many distributions care a lot about FHS and LSB :\
Better make it default under /srv I would suggest /srv/mysql (obvious)
Right, would make sense.
OTOH, what's the default directory being set by MySQL builds ?
At first glance, /srv/mysql would make sense, but if SUSE Linux is the
only distribution on the planet that uses /srv/mysql and all the others
use /var/lib/mysql (and so do the mysql.com builds), then I'm not sure
it would be such a good idea...
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\