From owner-freebsd-current@FreeBSD.ORG Thu Aug 19 15:14:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7673016A4CE for ; Thu, 19 Aug 2004 15:14:39 +0000 (GMT) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.145.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1227443D46 for ; Thu, 19 Aug 2004 15:14:39 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 209DD4EFCD1; Thu, 19 Aug 2004 23:14:35 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 1C2814EFCD0 for ; Thu, 19 Aug 2004 23:14:35 +0800 (CST) Date: Thu, 19 Aug 2004 23:14:35 +0800 (CST) From: Tai-hwa Liang To: freebsd-current@freebsd.org Message-ID: <0408192303483.15081@www.mmlab.cse.yzu.edu.tw> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Running 310.locate in background without nohup X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2004 15:14:39 -0000 Hello, It looks like invoking background /etc/periodic/weekly/310.locate from csh/tcsh then press ENTER before the job completes always failed on my -CURRENT box(without /var/db/locate.database being updated). Adding a "nohup" before the command seems to fix this problem. Since this never happen in -STABLE, I'm wondering about whether it's a feature or a bug? # sh /etc/periodic/weekly/310.locate & [1] 502 # Rebuilding locate database: # # [1] Exit 3 sh /etc/periodic/weekly/310.locate # rmdir: /tmp/located0uLR5x0te/mklocate5EuBPt1Izh: No such file or directory Hangup rmdir: /tmp/located0uLR5x0te: No such file or directory #