bind-8.2.2_p7 chrooted / named-xfer fails (sigpipe)
Ricardo Manuel Oliveira
rmo at eurotux.com
Fri Nov 24 17:14:03 UTC 2000
I already did that, and copied all of the libraries
accordingly to /chroot/dns/lib. I also created the
/chroot/dns/dev/null device.
Strangest thing: chroot /chroot/dns; named-xfer ......
works perfectly.
So, the strace doesn't really give any clue :/
graham.adams at bt.com wrote:
>
> Ricardo,
>
> You could run ldd on named-xfer to see what libraries it needs.
> On Solaris we also need /dev/zero and /dev/null in the chrooted environment.
>
> Doing an strace on named-xfer would show where it's falling over.
>
> Regards,
> > -----Original Message-----
> > From: Ricardo Manuel Oliveira [mailto:rmo at eurotux.com]
> > Sent: 24 November 2000 10:41
> > To: bind-users at isc.org
> > Subject: bind-8.2.2_p7 chrooted / named-xfer fails (sigpipe)
> >
> >
> >
> >
> > Hi everyone. First post on the list :)
> >
> > I have a bind-8.2.2P7 running perfectly, chrooted,
> > except for the zone-transfers; I get these kind of messages
> > in the logs:
> >
> > ns named[30012]: named-xfer "domain.com" exited with signal
> > 13
> >
> >
> > I have verified that, running the named-xfer by hand, it
> > works like a
> > charm.
> >
> > The chroot'ed environment contains the following:
> >
> > /chroot/dns/etc/named.conf
> > /chroot/dns/var/named/misc dns data files
> > /chroot/dns/lib/ld-linux.so.2
> > /chroot/dns/lib/libc.so.6
> > /chroot/dns/
> > /chroot/dns/usr/sbin/named-xfer
> > /chroot/dns/var/log/misc logfiles
> >
> >
> > And I start bind with this cmdline:
> >
> > daemon named -u named -g named -t /chroot/dns
> >
> > Does anyone have a clue?
> >
> > Thanks in advance.
> >
> > ----
> > Ricardo Manuel Oliveira
> > Eurotux Informática, SA
> >
> >
--
----
Ricardo Manuel Oliveira
Eurotux Informática, SA
Tel: +351 253257395 // +351 919475934
Fax: +351 253257396
More information about the bind-users
mailing list