Bug#545808: bind9: Binding to specific Ipv6 address does not work with chroot (-t)

2009-10-05 Thread Andreas Vögele
Florian Weimer writes:

> * Christian Franke:
>
>> The logs with "-t" and without "-t" have the line
>>  "listening on IPv6 interface lo, 2001:123:1234::1#53"
>> as only difference. There is no error message to be seen.
>
> Could you try to mount proc inside the chroot, please?

Mounting /proc in the chroot helps.

BTW, isn't this bug a duplicate of bug #434955?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#545808: bind9: Binding to specific Ipv6 address does not work with chroot (-t)

2009-09-12 Thread Florian Weimer
* Christian Franke:

> The logs with "-t" and without "-t" have the line
>   "listening on IPv6 interface lo, 2001:123:1234::1#53"
> as only difference. There is no error message to be seen.

Could you try to mount proc inside the chroot, please?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#545808: bind9: Binding to specific Ipv6 address does not work with chroot (-t)

2009-09-09 Thread Christian Franke
Package: bind9
Version: 1:9.5.1.dfsg.P3-1
Severity: important


I need the named to bind on a specific address, let's say 2001:123:1234::1.
I specify: "listen-on-v6 { 2001:123:1234::1/128; };" in the named.conf.options.
When starting named with /etc/init.d/bind9, it does not listen on IPv6.
The init script starts it with the option "-t /var/lib/bind".
Starting it without "-t .." makes named bind on the address.
This is a very unexpected behaviour and should not happen.

The logs with "-t" and without "-t" have the line
"listening on IPv6 interface lo, 2001:123:1234::1#53"
as only difference. There is no error message to be seen.

Binding on IPv6 works with "-t ..." if "listen-on-v6 { any; };" is specified,
however I can't use "any" and "any" shouldn't be used in the most cases anyway.


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.20-xen-r6 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bind9 depends on:
ii  adduser 3.110add and remove users and groups
ii  bind9utils  1:9.5.1.dfsg.P3-1Utilities for BIND
ii  debconf [debcon 1.5.24   Debian configuration management sy
ii  libbind9-40 1:9.5.1.dfsg.P3-1BIND9 Shared Library used by BIND
ii  libc6   2.7-18   GNU C Library: Shared libraries
ii  libcap2 2.11-2   support for getting/setting POSIX.
ii  libdb4.64.6.21-11Berkeley v4.6 Database Libraries [
ii  libdns451:9.5.1.dfsg.P3-1DNS Shared Library used by BIND
ii  libisc451:9.5.1.dfsg.P3-1ISC Shared Library used by BIND
ii  libisccc40  1:9.5.1.dfsg.P3-1Command Channel Library used by BI
ii  libisccfg40 1:9.5.1.dfsg.P3-1Config File Handling Library used 
ii  libkrb531.6.dfsg.4~beta1-5lenny1 MIT Kerberos runtime libraries
ii  libldap-2.4-2   2.4.11-1 OpenLDAP libraries
ii  liblwres40  1:9.5.1.dfsg.P3-1Lightweight Resolver Library used 
ii  libssl0.9.8 0.9.8g-15+lenny3 SSL shared libraries
ii  libxml2 2.6.32.dfsg-5+lenny1 GNOME XML library
ii  lsb-base3.2-20   Linux Standard Base 3.2 init scrip
ii  net-tools   1.60-22  The NET-3 networking toolkit
ii  netbase 4.34 Basic TCP/IP networking system

bind9 recommends no packages.

Versions of packages bind9 suggests:
pn  bind9-doc  (no description available)
ii  dnsutils   1:9.5.1.dfsg.P3-1 Clients provided with BIND
pn  resolvconf (no description available)
pn  ufw(no description available)

-- debconf information:
  bind9/different-configuration-file:
  bind9/run-resolvconf: true
  bind9/start-as-user: bind



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org