Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 2002 12:05:45 -0800 (PST)
From:      Avleen Vig <web-freebsd@silverwraith.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Avleen Vig <web-freebsd@silverwraith.com>
Subject:   i386/46017: smb mounts break /etc/periodic/weekly/310.locate
Message-ID:  <200212052005.gB5K5jO3022645@guava.silverwraith.com>

next in thread | raw e-mail | index | archive | help

>Number:         46017
>Category:       i386
>Synopsis:       smb mounts break /etc/periodic/weekly/310.locate
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 05 13:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212052005.gB5K5jO3022645>