Subject: Re: bin/28115
To: Christos Zoulas <christos@zoulas.com>
From: Ed Ravin <eravin@panix.com>
List: netbsd-bugs
Date: 11/11/2004 19:59:50
> | On Thu, Nov 11, 2004 at 01:15:44AM +0000, christos@narn.netbsd.org wrote:
> | > Synopsis: telnetd -u0 functionality missing from NetBSD 2.0
> | > 
> | > State-Changed-From-To: open->feedback
> | > State-Changed-By: christos@narn.netbsd.org
> | > State-Changed-When: Wed, 10 Nov 2004 20:15:43 -0500
> | > State-Changed-Why:
> | > I added -n to last and fixed ftpd to record the proper address.
> | > Is that ok?
> | 
> | Yes, thank you!  But you'll also want to fix the telnetd.c usage message
> | and the telnetd man page.
> 
> I think usage is now fixed on head.
> 
> | I also noticed that lastlogin(8) only reads /var/log/lastlog, not lastlogx.
> 
> I just fixed that one... Unfortunately not many programs write lastlogx
> entries it seems.

Sounds good!  In the meantime, I noticed two more minor issues:

(a) date(1) also needs fixing - it writes notices about changing the time
to wtmp, but not wtmpx.

(b) newsyslog.conf has these entries:

   /var/log/wtmp                           644  7    *    168  ZBN
   /var/log/wtmpx                          644  7    *    168  ZBN

On an system upgraded from 1.x, the two files will not get rotated together,
unless the upgrade happens at the exact same time wtmp is a week old.  It
"would be nice" if the files were rotated together, in case one needs to
go through logs.  I'm changing mine to use the "specific time" syntax.