Subject: Re: pkgsrc conflict: compiling mysql with bind8 libs
To: Chris Jones <chris@cjones.org>
From: Heron Gallegos <gallegos@csxxi.sepc.edu.mx>
List: netbsd-help
Date: 05/09/2001 08:35:07
On Tue, 8 May 2001, Chris Jones wrote:
> On Sat, May 05, 2001 at 02:55:13PM -0500, Heron Gallegos wrote:
>
> > To reproduce this problem, "first" compile and install pkgsrc/net/bind8
> > and "second" compile pkgsrc/databases/mysql-server. Otherwise mysql
> > will be compiled cleanly without bind-8.2.3 libraries.
>
> If you compile them in the opposite order, do they both work? If so,
> I'd suggest submitting a pr using send-pr(1) with all this
> information. The problem will get handled by the appropriate people,
> and they'll let you know when it's fixed.
Thanks, Chris for your answer.
Yes, I have one server like that, "VICTORIA" NetBSD-1.5/i386 (a fresh
installation in dec 1, 2000 and pkgsrc.tar.gz dated of dec 1, 2000)
and mysql-3.22.32 compiled in those days. Victoria is our internal
DNS server and mysql database server. From dec 2000 to feb 2001
all was working fine (with bind 8.2.2-P7).
When i read the nottice of vulnerability of BIND in feb 2001,
I decided install bind 8.2.3 from pkgsrc. In feb 8 I download
only the directory net/bind8 from pkgsrc of ftp.netbsd.org
(this is because bind 8.2.3 have not prerequisites). The
compilation and installation were successfull.
Now Victoria seems work fine with bind 8.2.3 but I am not sure
because the resolver have a lot of delays. A new problem in
such server is like the following command:
victoria> ftp ftp.netbsd.org
No address asociated with such host name (or some message like that)
But if I try again immediatly
victoria> ftp ftp.netbsd.org
Connected to ftp.netbsd.org (the answer is immediate)
The same problem occurs with the browser of our PC's, if i try
open www.netbsd.org the answer is host not found, but if I click
the reload button, the page downloads immediatly. (victoria
is the DNS server of PC's)
This problem occurs about 5 to 10 percent of all events.
A morning of april, named was die (I could see it ps -ax, but it was
not responding) no response for PC's, no nslookup, no nothing.
I killed it and restart by hand and it is working from these day (with
the same problem).
We have other DNS server (i386/1.5), it have not mysql. From the
installation of bind 8.2.3, it have the same problem... And one
time bind died too.
I am not sure if I must to send a "send-pr" because these problems
may be my fault. I prefer to wait for NetBSD-1.5.1 with integrated bind.
In march I installed a new "test server" 1,5/i386 (the server of
my message) then our pkgsrc.tar.gz (dated of dec 1 200 with net/bind8
dated of feb 8 2001) first I compiled bind8 and installed it without
problems, and second, the compilation of mysql with errors.
For my second test, I pkg_delete all packages and then I compiled and
installed first mysql and second bind8 cleanly.
For my third test, I pkg_delete all packages and then I compiled and
installed first bind8 and then mysql with errors.
For my fourth test (march 27), I deleted my /usr/pkgsrc, I
pkg_deleted all packages, then I
downloaded the new pkgsrc.tar.gz and I untared it.
With it, if I compile first mysql and second bind8, it compiles
cleanly, but if I compile first bind8, mysql will compile with
the errors of my first message.
I need help to resolve this problem
Thanks a lot for your time
Heron Gallegos