Re: Running 310.locate in background without nohup

From: Doug White <dwhite_at_gumbysoft.com>
Date: Thu, 19 Aug 2004 19:08:24 -0700 (PDT)
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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite_at_gumbysoft.com          |  www.FreeBSD.org
Received on Fri Aug 20 2004 - 00:08:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:07 UTC