From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 17 14:10:01 2008 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 9C8EF1065676 for ; Mon, 17 Mar 2008 14:10: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 72B118FC24 for ; Mon, 17 Mar 2008 14:10: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.2/8.14.2) with ESMTP id m2HEA1vc072510 for ; Mon, 17 Mar 2008 14:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2HEA1wF072506; Mon, 17 Mar 2008 14:10:01 GMT (envelope-from gnats) Resent-Date: Mon, 17 Mar 2008 14:10:01 GMT Resent-Message-Id: <200803171410.m2HEA1wF072506@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, Jaakko Heinonen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AA50106564A for ; Mon, 17 Mar 2008 14:07:17 +0000 (UTC) (envelope-from jaakko@saunalahti.fi) Received: from gw01.mail.saunalahti.fi (gw01.mail.saunalahti.fi [195.197.172.115]) by mx1.freebsd.org (Postfix) with ESMTP id DE9F58FC1C for ; Mon, 17 Mar 2008 14:07:16 +0000 (UTC) (envelope-from jaakko@saunalahti.fi) Received: from ws64.jh.dy.fi (GMKDCCCII.dsl.saunalahti.fi [85.76.249.203]) by gw01.mail.saunalahti.fi (Postfix) with ESMTP id ABC401511D4 for ; Mon, 17 Mar 2008 15:44:37 +0200 (EET) Received: from ws64.jh.dy.fi (localhost [127.0.0.1]) by ws64.jh.dy.fi (8.14.2/8.14.2) with ESMTP id m2HDia8i002811 for ; Mon, 17 Mar 2008 15:44:36 +0200 (EET) (envelope-from jaakko@ws64.jh.dy.fi) Received: (from jaakko@localhost) by ws64.jh.dy.fi (8.14.2/8.14.2/Submit) id m2HDiaKV002810; Mon, 17 Mar 2008 15:44:36 +0200 (EET) (envelope-from jaakko) Message-Id: <200803171344.m2HDiaKV002810@ws64.jh.dy.fi> Date: Mon, 17 Mar 2008 15:44:36 +0200 (EET) From: Jaakko Heinonen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/121784: [patch] freebsd-update(8) error message on upgrade X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jaakko Heinonen List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Mar 2008 14:10:01 -0000 >Number: 121784 >Category: bin >Synopsis: [patch] freebsd-update(8) error message on upgrade >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: Mon Mar 17 14:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Jaakko Heinonen >Release: FreeBSD 7.0-RELEASE >Organization: >Environment: System: FreeBSD x 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I upgraded a system from 6.3-RELEASE to 7.0-RELEASE with freebsd-update(8). I had manually modified /etc/pf.conf and 7.0-RELEASE doesn't ship that file anymore. This is how freebsd-update handled it: . . The following file will be removed, as it no longer exists in FreeBSD 7.0-RELEASE: /etc/pf.conf Does this look reasonable (y/n)? y . . sha256: merge/new//etc/pf.conf: No such file or directory The following files are affected by updates, but no changes have been downloaded because the files have been modified locally: . . freebsd-upgrade(8) tries erroneously to run sha256 for a non-existent file. Following patch should fix this error. However IMO removing pf.conf in this case isn't optimal for end user but this may not be considered as a bug in freebsd-update(8). >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: