From owner-freebsd-bugs@FreeBSD.ORG Fri May 2 12:00:01 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 92AF6C6A for ; Fri, 2 May 2014 12:00:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 702771E44 for ; Fri, 2 May 2014 12:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s42C01Ze075370 for ; Fri, 2 May 2014 12:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s42C01Sx075369; Fri, 2 May 2014 12:00:01 GMT (envelope-from gnats) Resent-Date: Fri, 2 May 2014 12:00:01 GMT Resent-Message-Id: <201405021200.s42C01Sx075369@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthias Apitz Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ACA61961 for ; Fri, 2 May 2014 11:51:00 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9A10C1D92 for ; Fri, 2 May 2014 11:51:00 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s42BoxNi070685 for ; Fri, 2 May 2014 11:50:59 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s42BoxuD070680; Fri, 2 May 2014 11:50:59 GMT (envelope-from nobody) Message-Id: <201405021150.s42BoxuD070680@cgiserv.freebsd.org> Date: Fri, 2 May 2014 11:50:59 GMT From: Matthias Apitz To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: bin/189233: last(1) output stops in the past X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2014 12:00:01 -0000 >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: