Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 208324

Summary: dev-db/mysql-5.0.44-r2: binary logs created in inappropriate directory
Product: Gentoo Linux Reporter: Alessandro Zarrilli <alessandro>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***