From owner-freebsd-current@FreeBSD.ORG Fri Aug 20 02:08:26 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 E23DF16A4CE for ; Fri, 20 Aug 2004 02:08:26 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA75E43D3F for ; Fri, 20 Aug 2004 02:08:24 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id C2E9472DD4; Thu, 19 Aug 2004 19:08:24 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id C127E72DCB; Thu, 19 Aug 2004 19:08:24 -0700 (PDT) Date: Thu, 19 Aug 2004 19:08:24 -0700 (PDT) From: Doug White To: Tai-hwa Liang In-Reply-To: <0408192303483.15081@www.mmlab.cse.yzu.edu.tw> Message-ID: <20040819190758.N66276@carver.gumbysoft.com> References: <0408192303483.15081@www.mmlab.cse.yzu.edu.tw> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: 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: Fri, 20 Aug 2004 02:08:27 -0000 On Thu, 19 Aug 2004, Tai-hwa Liang wrote: > 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? Can you run it with sh -x and see exactly what part of the script wigs out with the carriage return? > > # 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 > # > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org