From web-freebsd@silverwraith.com  Thu Dec  5 13:32:47 2002
Return-Path: <web-freebsd@silverwraith.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1627D37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  5 Dec 2002 13:32:47 -0800 (PST)
Received: from silverwraith.com (66-214-248-56.gln-eres.charterpipeline.net [66.214.248.56])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9F21343EA9
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  5 Dec 2002 13:32:46 -0800 (PST)
	(envelope-from web-freebsd@silverwraith.com)
Received: from guava.silverwraith.com (localhost [127.0.0.1])
	by guava.silverwraith.com (8.12.6/8.12.6) with ESMTP id gB5KC3W3000102;
	Thu, 5 Dec 2002 12:12:08 -0800 (PST)
	(envelope-from root@guava.silverwraith.com)
Received: (from root@localhost)
	by guava.silverwraith.com (8.12.6/8.12.6/Submit) id gB5K5jO3022645;
	Thu, 5 Dec 2002 12:05:45 -0800 (PST)
Message-Id: <200212052005.gB5K5jO3022645@guava.silverwraith.com>
Date: Thu, 5 Dec 2002 12:05:45 -0800 (PST)
From: Avleen Vig <web-freebsd@silverwraith.com>
Reply-To: Avleen Vig <web-freebsd@silverwraith.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Avleen Vig <web-freebsd@silverwraith.com>
Subject: smb mounts break /etc/periodic/weekly/310.locate
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         46017
>Category:       kern
>Synopsis:       [smbfs] smb mounts break /etc/periodic/weekly/310.locate
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 05 13:40:01 PST 2002
>Closed-Date:    Thu Mar 26 02:09:09 UTC 2009
>Last-Modified:  Thu Mar 26 02:09:09 UTC 2009
>Originator:     Avleen Vig
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
none
>Environment:
System: FreeBSD guava.silverwraith.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Dec 2 06:30:37 PST 2002 root@guava.silverwraith.com:/usr/src/sys/compile/GUAVA i386


	
	p233-mmx, freebsd 4.7-stable (world+kernel cvsup'd on Nov 28th)

>Description:
	I have 3 remote drives mounted under /mnt with mount_smbfs
	My /etc/locate.rc is the default shipped with freebsd.

	When /etc/periodic/weekly/310.locate runs, it correctly maps everything
	until it hits /mnt, at which point locate.code exits.
	
	These are the last lines it dumps during a ktrace:
	22400 locate.code RET   read 0
	22400 locate.code CALL  write(0x1,0x806d000,0x123)
	22400 locate.code GIO   fd 1 wrote 291 bytes
	"\f\M-9\M-?\M^Jp\^Oof\M^Qe\^Oto\M^Als\f\M-7\M-5b\r\M-#\^P\M-dtm\^O\M^A\M^B\^N\M^Osk\M^E\M^T1\^V2\^F\M-/\M-:wa\M-B\^V.\
	new\^N6\^Fi386\^Osdn\r\M-qtw\M-=k\^U6\a\M-N\M^J\M-h\^N\M-:\M-g\M^\\^N\M^L\M^[\M^P\M^Q\^P\M-9\M-2\rhu\M-eown\^N\M^S\
	\M-l\M^[\^N\M-6\M^A\M-p\^Qtl\b\M-x\M-Oe\^Osolv\M^C\M^Mf\rmt\^N\M-N\r\M^Lrv\M-t\M-1\^O\M-C\M-Bs\^N\M^Ul\^Pykeys\fpw\
	\M-D\M-y\^N\M-!\^P/mod\M-Ji\^O\M^Th_\M^A\M^B\M-s\^R\M^V\M^D_d\M^Z_key\^Z\M-a\M-K\a\M^Uy\^Q\M-a\M-K\vrsa_\M^Uy\^U\M-a\
	\M-K\^Ad_\M^A\M^B\M-sl\^O/o\M-l\M-psl\M^C\M^B\f\M-6\M^^l.\M^A\M^B\^P\M^Ng.\M^A\M^B\v\M-Lrm\M^Jp\^O\M-*s\r\M^Sbd\
	\M^C\M^Mf\^Oucp\rwa\M-B_c\M-@s_cl\M->k\^Nzs\M-Cnv
	guav\M-Z\M-'\M-Rp.\M^G\M-;gz\^N\M^V\M^\\^N\M^Urnel\^Otr\M-'\M-V\M-,t\rmnt"
	22400 locate.code RET	write 291/0x123
	22400 locate.code CALL	exit(0)

	Unfortunately, setting:
	   FILESYSTEMS="ufs"
	in /etc/locate.rc does not work. You have to explicitly set:
	   PRUNEPATHS="/mnt"

>How-To-Repeat:
	smb mount something in /mnt/<something> and run the locate
	update.
>Fix:
	Unsure. I'm not REALLY a programmer and this is about the extent
	of my knowledge.
>Release-Note:
>Audit-Trail:

From: Boris Popov <bp@freebsd.org>
To: bug-followup <bug-followup@freebsd.org>, web-freebsd <web-freebsd@silverwraith.com>
Cc:  
Subject: Re: kern/46017: [smbfs] smb mounts break /etc/periodic/weekly/310.locate
Date: Wed, 25 Mar 2009 23:00:40 +0600

  This has been fixed in the recent versions of locate and PR can be closed.
 
 -- 
 Boris Popov
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Mar 26 02:08:45 UTC 2009 
State-Changed-Why:  
Apparently fixed in recent versions. 

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