From nobody@FreeBSD.org  Wed Feb  4 11:23:40 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4A8EB1065672
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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" <freebsd@bengrimm.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: freebsd-update tag file not updated after freebsd-update rollback
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         131359
>Category:       bin
>Synopsis:       freebsd-update(8): freebsd-update tag file not updated after freebsd-update rollback
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    cperciva
>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:  Sat Feb 28 04:00:36 UTC 2009
>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:
Responsible-Changed-From-To: freebsd-bugs->cperciva 
Responsible-Changed-By: remko 
Responsible-Changed-When: Wed Feb 4 20:49:13 UTC 2009 
Responsible-Changed-Why:  
Reassign to Colin who authored FreeBSD-update 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131359 
>Unformatted:
