On Thu, 13 May 1999, Oden Eriksson wrote:
> > I don't know aht all the fuss is about. My RH5.1 version of tcp-wrappers
> > works fine.
>
> Yes the Russ (or who ever) is wrong about this at the www.qmail.org
> site, at least RH5.1-RH6 has tcp wrappers built "the right way". I think
> Russ Nelson should update the info about this ?
That's not strictly true. RH5.0 shipped with a tcpd which would segfault
if a rule tried to set an environment variable. They released an update,
but then used the old, broken version for RH5.1, which earned another
update.
I believe that 5.2 and 6.0 have this OK, though.
The problem with the packages was that they were compiled with an option
which used a replacement getenv/setenv instead of the libc one (supposedly
to avoid broken libc's). Unfortunately, this code is (was?) buggy; I
couldn't find a case which _didn't_ make it segfault. Unless it has been
fixed, it's still fair to say that tcp_wrappers is broken, although it
works find with glibc-based Linux systems (and probably most others).
Matthew.