[15317] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: Who are you? and Re: disappearing xterms

daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Jul 30 03:24:52 1997

Date: Tue, 29 Jul 1997 11:31:23 -0400
From: Greg Hudson <ghudson@MIT.EDU>
To: John Hawkinson <jhawk@MIT.EDU>
Cc: Craig Fields <cfields@MIT.EDU>, bugs@MIT.EDU
In-Reply-To: "[15307] in Athena Bugs"

> modifying the local database (/etc/hosts, and so forth) causes that
> cache to become invalidated within ten seconds.

When we copy /etc/passwd.local over /etc/passwd in reactivate, we use
"cp -p", which sets the time on the passwd file to some fairly old
date.  Thus, nscd doesn't notice that the passwd file has changed, and
doesn't invalidate its cache entries.  That's probably best considered
a bug in reactivate.

I still have two questions about the bug:

	* Why does it depend on having xterms open when you log out?

	* Why does xterm not get the cached passwd entry?  (It's a
	  setuid program; maybe that's relevant.)

home help back first fref pref prev next nref lref last post