[FreeBSD-Announce] FreeBSD-4.11 Release Candidate 1 Available

Trond Endrestøl Trond.Endrestol at gtf.ol.no
Mon Dec 20 03:13:47 PST 2004


On Mon, 20 Dec 2004 11:49+0100, Matthias Andree wrote:

> bin/46866   nondeterministic NIS returns
>             (this has been messing up NIS-based systems for ages
>             with users gone one moment and appearing the next)

While you're at it, could someone take a look at the logit() function
in portmap (in the file portmap/pmap_check.c)?

Make the function more safe to use with NIS, i.e. the call to
getrpcbynumner(), and particularly when the NIS domain is set, but
ypbind hasn't yet registrered itself with portmap or are about to
register itself with portmap. This (serious) problem occurs only when
portmap is run with logging turned on, which probably accounts for why
no one has done anything about it before.

Take a look at PR bin/73422 for more details about this problem with
portmap, ypbind and rc.network. Please don't hesitate about contacting
me if you need more information.

Btw, the same problem is present in FreeBSD 5.x.

-- 
----------------------------------------------------------------------
Trond Endrestøl                          |    trond at ramstind.gtf.ol.no
Patron of The Art of Computer Programming|   FreeBSD 4.8-S & Pine 4.55


More information about the freebsd-stable mailing list