Bug #33881 | log-bin and relay-log places files in an unsafe and wrong directory by default | ||
---|---|---|---|
Submitted: | 16 Jan 2008 5:07 | Modified: | 23 Jan 2008 23:39 |
Reporter: | Robin Johnson | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.0.44, 5.0.54 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[16 Jan 2008 5:07]
Robin Johnson
[23 Jan 2008 23:04]
Sveta Smirnova
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the original bug instead. Thank you for your interest in MySQL. Duplicate of bug #25192
[23 Jan 2008 23:15]
Robin Johnson
That bug is not the same issue. It deals with incorrect parsing of the value used by relay-log and log-bin, while my bug deals with those options using the wrong directory (/var/run/mysqld/ instead of $datadir). As I stated in my initial report, the MYSQL_LOG::generate_name() function incorrectly uses the full path of the pidfile, rather than $datadir/`basename $pid-file` to create the binary and relay logs.
[23 Jan 2008 23:39]
Sveta Smirnova
Thank you for the feedback. Sorry: set as duplicate of wrong report. Correct is bug #33693