next build

Jacques Distler distler at golem.ph.utexas.edu
Sun Feb 25 17:52:24 EST 2001


-----BEGIN PGP SIGNED MESSAGE-----

At 2001-02-24 23:22:30, <mouring at etoh.eviladmin.org> wrote:

>>  > First off.. Don't use -posix.  I've spent 7 months of my life replacing
>>  > broken posix functions in NeXT.  You may get it to compile with -posix,
>>  > but it's not going to work right.
>>
>>  Openssh-2.3.0p1's ssh, scp, and sshd worked OK for me.  Not exhaustively
>>  tested, but routine use showed no problems.
>>
>It may work for 3.3, but libposix.a itself has a lot of minor bugs, and
>the library itself is totally broken under 4.2.  I was able to run with
>-posix under 3.3 for almost 2 months before noticing odd occurances.
>
>>  > Secondly, why are you attempting to link to bind directly?  What is wrong
>>  > with using the native resolving libraries?
>>
>>  1.  They're really ancient, maybe BSD 4.2 even.
>
>I don't get this argument.  DNS resolution has not changed for a long
>time, and I've not ran into any problems using the native resolver in over
>a year worth of testing.
>
>If you compile without -lbind or -posix it compiles pretty cleanly without
>any changes.


I have to agree with Ben, libposix.a on NeXTStep is evil, and should 
be avoided at all costs.

As to the new resolver libraries, at some point, libbind.a started 
requiring -posix if you wanted to link against it. I complained a 
couple of times to the BIND developers that the POSIXisms in question 
weren't really necessary in the library. They kept promising to fix 
it; eventually I just gave up and keep around an older version of 
libbind.a which does not require -posix.

That said, there's nothing in openssh that needs the new resolver 
routines (and I don't bother linking against them).

And I also have to concur "use prngd." Previously, I had used EGD and 
the entropy-gathering daemon would die about once a month or so. 
Prngd seems much more robust.

Jacques Distler

-----BEGIN PGP SIGNATURE-----
Version: PGP                                                          
Comment: Public Key - http://golem.ph.utexas.edu/~distler/distler.asc

iQCVAwUBOpiryaIBi34rsX+ZAQEQeAQAnVSFd9puJGoD8sAAo1pMROu161B6levm
ZaLLOKJJRTQlFuWwc4wl3G4buT1Pu6rCcT+adRWqiGb7e4iAgtGeQeCoKM07uyJI
GiKgKvdA+lEsRQgkzX99IDv87E9UdvP19zGJTpFvh/wE7XX3cTBcpYSEJzGu/D6P
eOOYrvXNMxc=
=Z6Kz
-----END PGP SIGNATURE-----





More information about the openssh-unix-dev mailing list