From jaakko@saunalahti.fi  Mon Mar 17 14:02:20 2008
Return-Path: <jaakko@saunalahti.fi>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 8D5F3106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Mar 2008 14:02:20 +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 41E2D8FC17
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Mar 2008 14:02:20 +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 4E451151642
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Mar 2008 15:47:27 +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 m2HDlQAD002877
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Mar 2008 15:47:26 +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 m2HDlQkd002876;
	Mon, 17 Mar 2008 15:47:26 +0200 (EET)
	(envelope-from jaakko)
Message-Id: <200803171347.m2HDlQkd002876@ws64.jh.dy.fi>
Date: Mon, 17 Mar 2008 15:47:26 +0200 (EET)
From: Jaakko Heinonen <jh@saunalahti.fi>
Reply-To: Jaakko Heinonen <jh.saunalahti.fi@saunalahti.fi>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] freebsd-update(8) upgrade overwrites device.hints
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         121783
>Category:       conf
>Synopsis:       [patch] freebsd-update(8) upgrade overwrites device.hints
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    cperciva
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 17 14:10:00 UTC 2008
>Closed-Date:    Thu Sep 17 11:09:46 UTC 2009
>Last-Modified:  Thu Sep 17 11:09:46 UTC 2009
>Originator:     Jaakko Heinonen
>Release:        FreeBSD 7.0-RELEASE amd64
>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:
freebsd-update(8) overwrites /boot/device.hints on upgrade. This may cause
problems for devices after upgrade.

I need hint.psm.0.flags for my mouse on one machine. After upgrading from
6.3-RELEASE to 7.0-RELEASE my mouse didn't work because /boot/device.hints
was overwritten.

>How-To-Repeat:

>Fix:
It may be reasonable to add /boot/device.hints to default
/etc/freebsd-update.conf MergeChanges.

>Release-Note:
>Audit-Trail:

From: Jaakko Heinonen <jh@saunalahti.fi>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/121783: [patch] freebsd-update(8) upgrade overwrites
	device.hints
Date: Mon, 17 Mar 2008 17:38:24 +0200

 --yNb1oOkm5a9FJOVX
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 
 
 --yNb1oOkm5a9FJOVX
 Content-Type: text/x-diff; charset=us-ascii
 Content-Disposition: attachment; filename="freebsd-update-device.hints.diff"
 
 Index: freebsd-update.conf
 ===================================================================
 RCS file: /home/ncvs/src/etc/freebsd-update.conf,v
 retrieving revision 1.3
 diff -u -r1.3 freebsd-update.conf
 --- freebsd-update.conf	28 Nov 2007 22:45:09 -0000	1.3
 +++ freebsd-update.conf	17 Mar 2008 09:27:12 -0000
 @@ -28,7 +28,7 @@
  
  # When upgrading to a new FreeBSD release, files which match MergeChanges
  # will have any local changes merged into the version from the new release.
 -MergeChanges /etc/ /var/named/etc/
 +MergeChanges /etc/ /var/named/etc/ /boot/device.hints
  
  ### Default configuration options:
  
 
 --yNb1oOkm5a9FJOVX--
Responsible-Changed-From-To: freebsd-bugs->cperciva 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Mon Mar 17 18:03:19 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121783 
State-Changed-From-To: open->patched 
State-Changed-By: brooks 
State-Changed-When: Tue Apr 22 14:22:21 UTC 2008 
State-Changed-Why:  
Fixed on HEAD on May 25th and RELENG_[67] on April 4th. 

Not closed in case cperciva is considering an eratta fix. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121783 
State-Changed-From-To: patched->closed 
State-Changed-By: pav 
State-Changed-When: Thu Sep 17 11:09:25 UTC 2009 
State-Changed-Why:  
No need to keep this 'open' at this point 

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