Date: Mon, 25 Sep 2000 03:10:07 -0700 (PDT) From: Peter Pentchev <roam@orbitel.bg> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/21535: /etc/periodic/weekly/310.locate only builds FULL system database without 'echo' and '|nice...' args Message-ID: <200009251010.DAA34555@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/21535; it has been noted by GNATS. From: Peter Pentchev <roam@orbitel.bg> To: glenn@intextonline.com Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: conf/21535: /etc/periodic/weekly/310.locate only builds FULL system database without 'echo' and '|nice...' args Date: Mon, 25 Sep 2000 13:09:09 +0300 On Mon, Sep 25, 2000 at 02:51:34AM -0700, glenn@intextonline.com wrote: [snip] > >Description: > I discovered the problem first tonight when doing a 'locate portsentry.conf' > which resides in /usr/local/psionic/portsentry. When I did a locate it > didn't come up with the filename. I was however able to find it by > doing find '/ -name portsentry.con -print'. [snip] > >Fix: > > The only way I have found to fix the problem is to remove; > 'echo' from the beginning of the command and to remove > '| nice -5 su -fm nobody' from the end of the command, leaving > the binary to run simply as /usr/libexec.updatedb in 301.locate. What you're doing is, effectively, running libexec.updatedb as root instead of nobody. Are you sure this is not a permissions problem on /usr/local/psionic/portsentry or any of the parent directories? G'luck, Peter -- This sentence every third, but it still comprehensible. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009251010.DAA34555>