Subject: lib/15169: Reproducable DNS / NIS failure
To: None <gnats-bugs@gnats.netbsd.org>
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
List: netbsd-bugs
Date: 01/07/2002 19:44:41
>Number:         15169
>Category:       lib
>Synopsis:       Reproducable DNS / NIS failure
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 07 16:45:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Mason Loring Bliss
>Release:        NetBSD 1.5ZA
>Organization:
     M a s o n   L o r i n g   B l i s s      mason@acheron.middleboro.ma.us
awake ? sleep : random() & 2 ? dream : sleep; https://acheron.ne.mediaone.net/
>Environment:
System: NetBSD cocytus.in.hades 1.5ZA NetBSD 1.5ZA (GENERIC) #6: Mon Jan  7 03:21:12 EST 2002     root@cocytus.in.hades:/usr/src/sys/arch/sparc64/compile/GENERIC sparc64
Architecture: sparc64, et. al.
Machine: sparc64, et. al.
>Description:

Two things manifest:

1) When using rlogin, the system ignores .rhosts, and prompts for a password
regardless of whether it should or not.
2) When running screen, for example, .screenrc is read as though empty until
the file is run through cat. Once catted, screen is able to read the file
correctly.

This is not a sparc64-specific bug. I was experiencing it on all machines,
current and otherwise, until some stuff was committed to netbsd-1-5. I
believe the relevant file/commit was basesrc/lib/libc/rpc/rpcb_clnt.c,
revision 1.3.2.2, but I've not yet understood what was relevant that
changed in this file between then and now, and it doesn't compile
in-place. I will try to build a libc on a netbsd-1-5 box using a version
of this file prior to the noted commit, to see if the misbehaviour comes
back, in any event.

>How-To-Repeat:

Use DNS, NIS. Set .rhosts to allow for passwordless entry from one system
to another, and then attempt that.

>Fix:

As yet unknown.

>Release-Note:
>Audit-Trail:
>Unformatted: