[Vserver] Running bind 9.2.4 on Debian Sarge without caps

From: Holger Nowak <Holger.Nowak_at_psychonomics.de>
Date: Tue 24 Oct 2006 - 14:52:58 BST
Message-ID: <09A6E2A1271D7743A7AE525F3E77800E01E61C88@server03.psychonomics.de>

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://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)

strace gives no more information, so I think I've made some mistake configuring the listening server.
The crucial file where named is stop is the name.conf.options

mystery:/etc/bind# cat named.conf.options
options {

            // Avoids listening on
            listen-on {

        auth-nxdomain no; # conform to RFC1035


    controls {
            inet allow {

The one and only IP is 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,
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.

Best regards,

Holger Nowak
Junior Projektmanager
Datenmanagement | Programmierung
> psychonomics AG
> Berrenrather Str. 154-156
> D-50937 Köln
> T +49 (0) 221 42061-346
> F +49 (0) 221 42061-100
> E-Mail: holger.nowak@psychonomics.de
> www.psychonomics.de
Neuer "psychonomics Kundenmonitor Banken" ab Ende September 2006 erhaeltlich. Weitere Info: www.psychonomics.de/kundenmonitor_banken
psychonomics Newsletter bestellen: www.psychonomics.de/newsletter 

Vserver mailing list
Received on Tue Oct 24 15:00:27 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 24 Oct 2006 - 15:00:35 BST by hypermail 2.1.8