chroot{} and named-xfer

Kevin Darcy kcd at daimlerchrysler.com
Sat Aug 26 02:45:04 UTC 2000


There must be something really screwy with your chroot then, because the only
libraries truss needs on Solaris 7 are libc and libdl. I just did a truss -f on
a chroot'ed named and it traces the named-xfer's just fine (admittedly this is
on Solaris 2.5.1 rather than 7). In addition to the libraries, are you sure you
have all of the right dev nodes in the chroot, including "null", "udp", "tcp"
and "zero"?


- Kevin
Stefan Wold wrote:

> The problem with that is that i can't get truss running in the chroot.
> I get som strange internal malloc error when i try...
>
> Stefan
>
> On Fri, 25 Aug 2000, Kevin Darcy wrote:
>
> >=20
> > Try starting named with a truss -f -o filename.
> >=20
> >=20
> > - Kevin
> >=20
> > Stefan Wold wrote:
> >=20
> > > Yes I'm completely sure about that. I've checked it like 1000 times. Bu=
> =3D
> > t
> > > named-xfer  is not satisfied anyway.
> > >
> > > Stefan
> > >
> > > On Fri, 25 Aug 2000, Kevin Darcy wrote:
> > >
> > > >
> > > > Are you sure you moved (I assume you mean "copied") *all* of the nece=
> =3D
> > ssary
> > > > libraries? The error message implies that the "ld.so.1" library is mi=
> =3D
> > ssing
> > > > from /opt/chroot/usr/lib.
> > > >
> > > >
> > > >
> > > > - Kevin
> > > >
> > > > Stefan Wold wrote:
> > > >
> > > > > Hi.
> > > > >
> > > > > I'm experiencing heavy difficulties to get named-xfer working
> > > > > in chrooted environment. Everything else seems to be working
> > > > > perfectly. But as soon as it tries to do a zone transfer i get
> > > > > the following error in my /var/adm/messages log "unix: named-xfer: =
> =3D
> > Cannot
> > > > > find /usr/lib/ld.so.1".
> > > > >
> > > > > I'm running Solaris SPARC/7 with Bind-8.2.2-p5.
> > > > >
> > > > > I have done an ldd on named-xfer and moved all libraries needed to =
> =3D
> > the
> > > > > chroot but nevertheless it will not work. Any help is appreciated.
> > > > > This is how my directory tree looks like
> > > > > /opt
> > > > > /opt/chroot
> > > > >         dev/
> > > > >         etc/
> > > > >         lib/
> > > > >         opt/bind-8.2.2-p5
> > > > >         usr/lib
> > > > >         var/
> > > > >
> > > > >
> > > > > This is really urgent because this DNS is already going live!
> > > > >
> > > > > --
> > > > > Sincerely
> > > > > Stefan Wold             Tel: +46 8 50600000     Wineasy AB
> > > > > Staff, Sysadmin UNIX    Fax: +46 8 50600010     Positionen 155
> > > > >                         Mob: +46 701 880093     SE-115 74 Stockholm
> > > > >                                                 Sweden
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > > --
> > > Med v=3DE4nliga h=3DE4lsningar
> > > Stefan Wold             Tel: +46 8 50600000     Wineasy AB
> > > Staff, Sysadmin UNIX    Fax: +46 8 50600010     Positionen 155
> > >                         Mob: +46 701 880093     SE-115 74 Stockholm
> > >                                                 Sweden
> >=20
> >=20
> >=20
> >=20
> >=20
>
> --=20
> Med v=E4nliga h=E4lsningar
> Stefan Wold=09=09Tel: +46 8 50600000     Wineasy AB
> Staff, Sysadmin UNIX=09Fax: +46 8 50600010     Positionen 155
> =09=09        Mob: +46 701 880093     SE-115 74 Stockholm
> =09=09=09=09=09        Sweden
> =20






More information about the bind-users mailing list