Summary: | net-dns/bind - dlz does not work with mysql 5.x | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dennis Koerner <koerner> |
Component: | [OLD] Server | Assignee: | Konstantin Arkhipov (RETIRED) <voxus> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | bind+disabled, dertobi123, kenneth.kalmer, pavel.stratil-jun |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Only apply the bind-dlzmysql5-reconnect.patch in the presence of dev-db/mysql-5 |
Description
Dennis Koerner
2007-06-03 12:09:18 UTC
This is fixed in 9.4.2. See http://www.shell-tips.com/2007/09/04/bind-950-patch-dlz-mysql-5-for-auto-reconnect/ for reference. Hi guys Folks over on the bind-dlz-testers mailing list advice against using the MySQL 5 client libraries, and instead use the MySQL 4 ones. I've seen our production servers randomly die today during a trial with what seems to be related to the timeouts. I've downgraded MySQL from dev-db/mysql-5.0.54 to dev-db/mysql-4.1.22-r1, and then realized that net-dns/bind-9.5.0_p1-r1 doesn't compile against the specified version of MySQL because of the bind-dlzmysql5-reconnect.patch getting applied. I'm attaching an updated version of the net-dns/bind-9.5.0_p1-r1 ebuild that will only apply the patch in the presence of dev-db/mysql-5 or older. I compiled the updated net-dns/bind-9.5.0_p1-r1 ebuild againt dev-db/mysql-4.1.22-r1 and its running happily. I killed the connection on the MySQL server on several occasions, and named correctly re-establishes the connection. Apologies if something is not in order, I'm a long term Gentoo fanatic, but this is my first attempt at modifying an ebuild. Created attachment 161314 [details]
Only apply the bind-dlzmysql5-reconnect.patch in the presence of dev-db/mysql-5
Updated to only apply the bind-dlzmysql5-reconnect.patch in the presence of dev-db/mysql-5 or higher
(In reply to comment #2) > Apologies if something is not in order, I'm a long term Gentoo fanatic, but > this is my first attempt at modifying an ebuild. Looks good to me, just committet your fix to CVS. Thanks Kenneth! |