From owner-freebsd-bugs@FreeBSD.ORG Sun Jul 25 12:10:05 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D7D81065686 for ; Sun, 25 Jul 2010 12:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E67948FC29 for ; Sun, 25 Jul 2010 12:10:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o6PCA4Fw097407 for ; Sun, 25 Jul 2010 12:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o6PCA4bT097406; Sun, 25 Jul 2010 12:10:04 GMT (envelope-from gnats) Resent-Date: Sun, 25 Jul 2010 12:10:04 GMT Resent-Message-Id: <201007251210.o6PCA4bT097406@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, tedm@ipinc.net Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C7921065672 for ; Sun, 25 Jul 2010 12:07:32 +0000 (UTC) (envelope-from tedm@ipinc.net) Received: from mail.ipinc.net (mail.ipinc.net [65.75.192.11]) by mx1.freebsd.org (Postfix) with ESMTP id 597D88FC1F for ; Sun, 25 Jul 2010 12:07:32 +0000 (UTC) Received: from dns2.ipinc.net (dns2.ipinc.net [65.75.192.254]) by mail.ipinc.net (8.14.4/8.14.4) with ESMTP id o6PBTQLl073859 for ; Sun, 25 Jul 2010 04:29:26 -0700 (PDT) (envelope-from tedm@ipinc.net) Received: from dns2.ipinc.net (localhost [127.0.0.1]) by dns2.ipinc.net (8.14.3/8.14.3) with ESMTP id o6PBUr6u002603 for ; Sun, 25 Jul 2010 04:30:53 -0700 (PDT) (envelope-from tedm@ipinc.net) Received: (from root@localhost) by dns2.ipinc.net (8.14.3/8.14.3/Submit) id o6PBUrBk002602; Sun, 25 Jul 2010 04:30:53 -0700 (PDT) (envelope-from tedm) Message-Id: <201007251130.o6PBUrBk002602@dns2.ipinc.net> Date: Sun, 25 Jul 2010 04:30:53 -0700 (PDT) From: tedm@ipinc.net To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: misc/148922: uptime command output inconsistency after boot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tedm@ipinc.net List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jul 2010 12:10:05 -0000 >Number: 148922 >Category: misc >Synopsis: uptime command output inconsistency after boot >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: Sun Jul 25 12:10:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Ted Mittelstaedt >Release: FreeBSD 8.0-RELEASE i386 >Organization: Internet Partners, Inc. >Environment: System: FreeBSD dns2.ipinc.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: After boot, the uptime command produces inconsistent output. Here is output from a machine that was just booted a few minutes ago: 4:16AM up 3:06, 1 user, load averages: 0.02, 0.08, 0.07 Here is output from an 8.0 system that has been up for a while: 4:41PM up 1 day, 10:22, 1 user, load averages: 0.00, 0.00, 0.00 Here is output from a FreeBSD 7.3 system that was rebooted a few minutes ago: 4:06AM up 8 mins, 1 user, load averages: 0.01, 0.10, 0.07 As you can see, the "minutes" field is missing from the 8.0 system that had been rebooted recently. The bug must have been introduced when the XX:XX time printout was added to the uptime output. >How-To-Repeat: run uptime on a recently booted system. Run uptime on a system that has been up for a day. Compare the results. >Fix: >Release-Note: >Audit-Trail: >Unformatted: