Date: Fri, 2 May 2014 11:50:59 GMT From: Matthias Apitz <guru@unixarea.de> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/189233: last(1) output stops in the past Message-ID: <201405021150.s42BoxuD070680@cgiserv.freebsd.org> Resent-Message-ID: <201405021200.s42C01Sx075369@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 189233 >Category: bin >Synopsis: last(1) output stops in the past >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 02 12:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Matthias Apitz >Release: CURRENT (r255948) >Organization: >Environment: # uname -a FreeBSD aurora.Sisis.de 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #1: Fri Oct 18 12:10:57 CEST 2013 guru@aurora.Sisis.de:/usr/obj/usr/src/sys/GENERIC i386 >Description: The output of last -10 stopps in the past (today is May 2): # last -10 shutdown time Tue Mar 25 17:30 guru ttyv1 Tue Mar 25 17:28 - shutdown (00:02) guru ttyv0 Tue Mar 25 17:15 - shutdown (00:14) boot time Tue Mar 25 16:13 shutdown time Tue Mar 25 06:53 guru pts/0 Tue Mar 25 06:41 - 06:53 (00:12) guru ttyv0 Tue Mar 25 06:39 - shutdown (00:14) boot time Tue Mar 25 06:38 shutdown time Mon Mar 24 07:04 guru pts/0 Mon Mar 24 06:24 - 07:04 (00:39)sh trussing shows that not the full file size is read-in: .. open("utx.log.0",O_CLOEXEC,0666) = 3 (0x3) fstat(3,{ mode=-rw-r--r-- ,inode=5379456,size=111586,blksize=32768 }) = 0 (0x0) read(3,"\0\^U\a\0\^D\M-^\^Xr\^Wo\M^H\M-m"...,32768) = 32768 (0x8000) read(3,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,32768) = 32768 (0x8000) read(3,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,32768) = 32768 (0x8000) close(3) = 0 (0x0) .. >How-To-Repeat: just let grow utx.log enogh >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405021150.s42BoxuD070680>