From owner-freebsd-bugs@FreeBSD.ORG Wed Feb 4 11:30:01 2009 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 D4A621065670 for ; Wed, 4 Feb 2009 11:30:01 +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 91CB18FC2D for ; Wed, 4 Feb 2009 11:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n14BU1v9090197 for ; Wed, 4 Feb 2009 11:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n14BU1Rt090195; Wed, 4 Feb 2009 11:30:01 GMT (envelope-from gnats) Resent-Date: Wed, 4 Feb 2009 11:30:01 GMT Resent-Message-Id: <200902041130.n14BU1Rt090195@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, "Ben C. O. Grimm" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A8EB1065672 for ; Wed, 4 Feb 2009 11:23:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3704D8FC17 for ; Wed, 4 Feb 2009 11:23:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n14BNea0038899 for ; Wed, 4 Feb 2009 11:23:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n14BNdx3038890; Wed, 4 Feb 2009 11:23:39 GMT (envelope-from nobody) Message-Id: <200902041123.n14BNdx3038890@www.freebsd.org> Date: Wed, 4 Feb 2009 11:23:39 GMT From: "Ben C. O. Grimm" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/131359: freebsd-update tag file not updated after freebsd-update rollback X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 11:30:02 -0000 >Number: 131359 >Category: misc >Synopsis: freebsd-update tag file not updated after freebsd-update rollback >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 04 11:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ben C. O. Grimm >Release: 7.1-RELEASE-p2 >Organization: None >Environment: FreeBSD 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: After performing a rollback from (e.g.) 7.1-RELEASE-p2 to 7.1-RELEASE-p1 the tag file (/var/db/freebsd-update/tag) does not reflect the changed patch level. It remains on "|2|". After a rollback, there is no way to find out which patch level you are actually running. Only the admin's memory is available for that, and he may encounter a train. The tag is only updated by the 'freebsd-update fetch' command. >How-To-Repeat: >Fix: Either have freebsd-update alter the tag file, or export the patch level to e.g. /etc/motd or uname -a (which also does not reflect the current patch level of the OS - just the kernel's). >Release-Note: >Audit-Trail: >Unformatted: