[1087] in NetBSD-Development
Minor fixes
daemon@ATHENA.MIT.EDU (Greg Hudson)
Fri Oct 27 03:28:29 1995
Date: Fri, 27 Oct 1995 03:22:15 -0400
From: Greg Hudson <ghudson@MIT.EDU>
To: pc-dialup@MIT.EDU, netbsd-dev@MIT.EDU
Some little fixes:
* gunner was truncating one column to the left of what it
should have been truncating at, so it was using a two-hour
threshold. I fixed this.
* I rebuilt the kernel without the DIAGNOSTIC option, so it
won't panic when the reference count on /etc is wrong. I'm
hoping that the error here is benevolent (e,g. a writecount
gets left incremented after some operation), but I'm not
sure of this.
* I modified the sources for login, cleanup, and libAL to
block when locking the passwd file, so users won't get "the
passwd database is busy". I noticed that ftpd (and xlogin
and dm, irrelevant to the dialup) are appending to
/etc/master.passwd rather than locking and copying, so there
are some race conditions where ftpd's changes might get
clobbered. Probably no big deal.
I currently favor doing away with the whole passwd (and
possibly group) nonsense and integrating hesiod into
getpwnam() via nsswitch. Presumably, this will have to wait
until NetBSD uses an nsswitch (I haven't heard from a core
team member as to if and when this is likely to happen).