Running 310.locate in background without nohup

Tai-hwa Liang avatar at mmlab.cse.yzu.edu.tw
Thu Aug 19 08:14:39 PDT 2004


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
#


More information about the freebsd-current mailing list