From root@prometheus.scode.org  Mon Jul  7 20:14:47 2008
Return-Path: <root@prometheus.scode.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 252161065673
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  7 Jul 2008 20:14:47 +0000 (UTC)
	(envelope-from root@prometheus.scode.org)
Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73])
	by mx1.freebsd.org (Postfix) with ESMTP id D865A8FC26
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  7 Jul 2008 20:14:46 +0000 (UTC)
	(envelope-from root@prometheus.scode.org)
Received: from ironport2.bredband.com (195.54.101.122) by proxy3.bredband.net (7.3.127)
        id 481183EA0141F430 for FreeBSD-gnats-submit@freebsd.org; Mon, 7 Jul 2008 22:14:45 +0200
Received: from c-a916e555.03-51-73746f3.cust.bredbandsbolaget.se (HELO prometheus.scode.org) ([85.229.22.169])
  by ironport2.bredband.com with ESMTP; 07 Jul 2008 22:14:44 +0200
Received: by prometheus.scode.org (Postfix, from userid 0)
	id 1961A219624; Mon,  7 Jul 2008 22:15:47 +0200 (CEST)
Message-Id: <20080707201547.1961A219624@prometheus.scode.org>
Date: Mon,  7 Jul 2008 22:15:47 +0200 (CEST)
From: peter.schuller@infidyne.com
Reply-To: peter.schuller@infidyne.com
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] FILESYSTEMS in /etc/locate.rc missing zfs / out of synch with locate.updatedb
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         125378
>Category:       conf
>Synopsis:       [PATCH] FILESYSTEMS in /etc/locate.rc missing zfs / out of synch with locate.updatedb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    se
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 07 20:20:01 UTC 2008
>Closed-Date:    Fri Oct 17 14:14:35 UTC 2008
>Last-Modified:  Fri Oct 17 14:14:35 UTC 2008
>Originator:     peter.schuller@infidyne.com
>Release:        FreeBSD 7.0-RELEASE-p1 amd64
>Organization:
>Environment:
System: FreeBSD prometheus.scode.org 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #2: Sat Apr 19 19:15:39 CEST 2008 scode@prometheus.scode.org:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	/etc/locate.rc has:

	# filesystems allowed. Beware: a non-listed filesystem will be pruned
	# and if the SEARCHPATHS starts in such a filesystem locate will build
	# an empty database.
	#
	# be careful if you add 'nfs'
	#FILESYSTEMS="ufs ext2fs" 

	This suggests that the default, when left commented out, is "ufs ext2fs".
	However, locate.updatedb has this:

	: ${FILESYSTEMS:="ufs ext2fs zfs"}

	The default /etc/locate.rc should probably be updated to contain zfs.

>How-To-Repeat:
>Fix:
--- usr.bin/locate/locate/locate.rc.orig	2008-07-07 22:14:48.323989775 +0200
+++ usr.bin/locate/locate/locate.rc	2008-07-07 22:14:55.060985957 +0200
@@ -23,4 +23,4 @@
 # an empty database.
 #
 # be careful if you add 'nfs'
-#FILESYSTEMS="ufs ext2fs" 
+#FILESYSTEMS="ufs ext2fs zfs" 


>Release-Note:
>Audit-Trail:

From: Peter Schuller <peter.schuller@infidyne.com>
To: freebsd-bugs@freebsd.org
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: conf/125378: [PATCH] FILESYSTEMS in /etc/locate.rc missing zfs / out of synch with locate.updatedb
Date: Sat, 26 Jul 2008 20:41:54 +0200

 --nextPart1906501.bPAhNVs2Zq
 Content-Type: text/plain;
   charset="iso-8859-15"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 I just noticed that this is already fixed in 8-CURRENT.
 
 =2D-=20
 / Peter Schuller
 
 PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>'
 Key retrieval: Send an E-Mail to getpgpkey@scode.org
 E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org
 
 
 --nextPart1906501.bPAhNVs2Zq
 Content-Type: application/pgp-signature; name=signature.asc 
 Content-Description: This is a digitally signed message part.
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.9 (FreeBSD)
 
 iEYEABECAAYFAkiLb/sACgkQDNor2+l1i30+0gCg0nHCTJoMhBHkuK1tkoExA5EV
 GqkAmwZMlmlAzDIiDmblZHi+Vtpw3eEu
 =lmg3
 -----END PGP SIGNATURE-----
 
 --nextPart1906501.bPAhNVs2Zq--
State-Changed-From-To: open->patched 
State-Changed-By: linimon 
State-Changed-When: Sat Jul 26 23:51:19 UTC 2008 
State-Changed-Why:  
Over to committer of Revision 1.11 as an MFC reminder. 


Responsible-Changed-From-To: freebsd-bugs->se@FreeBSD.org 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Jul 26 23:51:19 UTC 2008 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=125378 
Responsible-Changed-From-To: se@FreeBSD.org->se 
Responsible-Changed-By: pav 
Responsible-Changed-When: Fri Sep 5 15:40:31 UTC 2008 
Responsible-Changed-Why:  
Canonical assignment 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125378 
State-Changed-From-To: patched->closed 
State-Changed-By: brooks 
State-Changed-When: Fri Oct 17 14:12:46 UTC 2008 
State-Changed-Why:  
The patch committed for conf/114101 solves this problem. 

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