Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208324 - dev-db/mysql-5.0.44-r2: binary logs created in inappropriate directory
Summary: dev-db/mysql-5.0.44-r2: binary logs created in inappropriate directory
Status: RESOLVED DUPLICATE of bug 205174
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-31 17:20 UTC by Alessandro Zarrilli
Modified: 2008-01-31 17:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Zarrilli 2008-01-31 17:20:43 UTC
I created a big partition to store MySQL data and mounted it in /var/lib/mysql. Anyway after some days I had problems because my /var partition was full: after some investigation I found out dev-db/mysql-5.0.44-r2 enables by default "binary logs" and what's most surprising it saves them in /var/run/mysqld directory, in my opinion an absolutely inappropriate directory for such thing.

I propose to:
1) MANDATORY: configure an appropriate default binary logging directory in /etc/mysql/my.cnf
2) OPTIONAL: disable by default binary logging by commenting out "log-bin" directive in /etc/mysql/my.cnf, so that this feature starts as disabled and, if the user enables it, binary logs will be saved in an appropriate directory (see previous step).

Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-31 17:26:00 UTC

*** This bug has been marked as a duplicate of bug 205174 ***