From owner-freebsd-bugs Thu Dec 5 13:40: 5 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 278C537B401 for ; Thu, 5 Dec 2002 13:40:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CBB743EBE for ; Thu, 5 Dec 2002 13:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB5Le2x3038639 for ; Thu, 5 Dec 2002 13:40:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB5Le2h5038638; Thu, 5 Dec 2002 13:40:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1627D37B401 for ; 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 ; 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 Reply-To: Avleen Vig To: FreeBSD-gnats-submit@FreeBSD.org Cc: Avleen Vig X-Send-Pr-Version: 3.113 Subject: i386/46017: smb mounts break /etc/periodic/weekly/310.locate Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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/ 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