Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 May 2001 09:09:33 -0700 (PDT)
From:      "Thomas D. Dean" <tomdean@speakeasy.org>
To:        freebsd-current@FreeBSD.ORG
Subject:   Strangeness with newsyslog/wtmp
Message-ID:  <200105011609.f41G9X555662@celebris.tddhome>

next in thread | raw e-mail | index | archive | help
I notice that my /var/log/wtmp has strange renewal times.  I don't
know when it was not like this.  newsyslog.conf is set to renew this
once per week.  What is causing this?

# ls -l /var/log/wtmp*
-rw-rw-r--  1 root  wheel    0 Apr 29 12:00 /var/log/wtmp
-rw-rw-r--  1 root  wheel   27 Apr 27 16:00 /var/log/wtmp.0.gz
-rw-rw-r--  1 root  wheel   27 Apr 22 12:00 /var/log/wtmp.1.gz
-rw-rw-r--  1 root  wheel   27 Apr 20 16:00 /var/log/wtmp.2.gz
-rw-rw-r--  1 root  wheel   27 Apr 15 12:00 /var/log/wtmp.3.gz
-rw-rw-r--  1 root  wheel  244 Apr 13 15:52 /var/log/wtmp.4.gz
-rw-rw-r--  1 root  wheel  176 Apr  8 12:12 /var/log/wtmp.5.gz
-rw-rw-r--  1 root  wheel  148 Apr  3 10:51 /var/log/wtmp.6.gz
-rw-rw-r--  1 root  wheel  280 Mar 30 21:16 /var/log/wtmp.7.gz

It looks like there are several cycles of renewal,
  Apr 8, 15, 22, 29 &
  Apr 13, 20, 27.

# grep wtmp /etc/newsyslog.conf 
/var/log/wtmp                           644  7     *    168   ZB

# uptime
 8:57AM  up 17 days, 17:06, 5 users, load averages: 0.07, 0.05, 0.02

I am running -current of April 12.

# uname -a
FreeBSD celebris 5.0-CURRENT FreeBSD 5.0-CURRENT #0:\
  Thu Apr 12 19:30:44 PDT 2001\
  root@celebris:/usr/src/sys/compile/CELEBRIS  i386

tomdean

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105011609.f41G9X555662>