Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2004 19:08:24 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Running 310.locate in background without nohup
Message-ID:  <20040819190758.N66276@carver.gumbysoft.com>
In-Reply-To: <0408192303483.15081@www.mmlab.cse.yzu.edu.tw>
References:  <0408192303483.15081@www.mmlab.cse.yzu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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