[Vserver] Re: Running bind 9.2.4 on Debian Sarge without caps

From: Laurent Vallar - aka Val <val_at_zbla.net>
Date: Wed 25 Oct 2006 - 15:48:50 BST
Message-ID: <20061025144850.GB25565@zbla.net>

Hi,

On Wed,Oct,25,2006, Herbert Poetzl wrote:
>
> On Tue, Oct 24, 2006 at 03:52:58PM +0200, Holger Nowak wrote:
> > Hello,
> > I know that running bind in a vserver guest is a bit problematic, so
> > I decided to recompile Bind with linux-caps disabled according to
> > http://linux-vserver.org/Problematic_Programs#Bind9_on_Debian_GNU.2FLinux_Woody_.283.0.29_and_Sarge_.283.1.29 and
> > http://www.newt.com/debian/acornHOWTO/ (Section bind9)
> >
> > But I couldn't start named properly. No error messages neither on
> > promt nor on syslog occur but the name server isn't running. If I want
> > to stop the service I receive the well known message:
> >
> > Stopping domain name service: namedrndc: connect failed: connection refused
> >
> > But I don't think it is a permission problem, since running named in
> > foreground resulting in
> >
> > mystery:/etc/bind# named -g -p 53
> > Oct 24 13:50:14.675 starting BIND 9.2.4 -g -p 53
> > Oct 24 13:50:14.676 using 1 CPU
> > Oct 24 13:50:14.678 loading configuration from '/etc/bind/named.conf'
> > Segmentation fault (core dumped)
>
> looks like a bind bug to me, at least a proper
> app should not segfault on a bad config (if it
> is a bad one at all)
> [...]

Did you tried bind9.2.4 from http://zbla.net/debian/bind9-9.2.4-1+nocaps/ ?
It works fine for me.

> [...]
> > The one and only IP is 195.227.242.154 which is a virtual IP on eth0:5
> > on the host system. The host system is running bind too but I don't
> > listen to the given IP.
> >
> > If I disable the listen directive I get the following message from
> > named:
> >
> > mystery:/etc/bind# named -g -p 53
> > Oct 24 13:56:53.970 starting BIND 9.2.4 -g -p 53
> > Oct 24 13:56:53.970 using 1 CPU
> > Oct 24 13:56:53.973 loading configuration from '/etc/bind/named.conf'
> > Oct 24 13:56:53.973 no IPv6 interfaces found
> > Oct 24 13:56:53.973 listening on IPv4 interface eth0:5, 195.227.242.154#53
> > Oct 24 13:56:53.975 peer.c:87: REQUIRE(*list != ((void *)0)) failed
> > Oct 24 13:56:53.975 exiting (due to assertion failure)
> > Aborted (core dumped)
> >
> > I've been at my wits' end and I hope some could help me.
> [...]

Mmmh, did you tried to shut down bind9 on the main host before testing guest
one ? Is the main host domain server listening on 127.0.0.1 ?

Regards,
Val.

-- 
 .''`.
: :' : Laurent Vallar - aka Val - Network & System Staff Engineer
`. `'  GPG Key: 1024D/C4F38417 - http://www.zbla.net
  `-
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Oct 25 15:56:49 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 25 Oct 2006 - 15:56:58 BST by hypermail 2.1.8