Subject: Re: lastlogx inappropriate format?
To: Christos Zoulas <christos@zoulas.com>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: current-users
Date: 03/30/2005 22:02:19
At 21:07 Uhr -0500 29.3.2005, Christos Zoulas wrote:
>| I saw this both on a 3.99.1 sparc64 and a 3.0_BETA sparc64. rm;touch did
>| *not* fix it. Removing the file and letting login create it on its own did.
>| After that, I never saw the error again, and lastlogx grows as expected.
>
>Yes, I fixed this by making hash.c in libc able to create a db on top of
>a 0 length file. The fix is on the request queue for 3.0.

I have the same issue when using radmind on a netbsd-2 system and had
aleady suspected that the zero length file wasn't accepted as a valid
database file. Please request a pull-up.

	hauke

--
/~\  The ASCII Ribbon Campaign
\ /    No HTML/RTF in email
 X     No Word docs in email
/ \  Respect for open standards