Problem with /etc/cron.daily/beagle-crawl-system
Bug #63416 reported by
Adrien Cunin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
beagle (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
On edgy (dist-upgraded from hoary).
Every day I receive a mail saying:
run-parts: /etc/cron.
If I try to run "sudo /etc/cron.
To post a comment you must log in.
/etc/cron. daily/beagle- crawl-system does exit with an error code:
# /etc/cron. daily/beagle- crawl-system
# echo $?
1
Running the script with sh -x gives the following output:
# /etc/cron. daily/beagle- crawl-system beagle- build-index ']' beagleindex i.XXXXXXXXXX DIR=/tmp/ .beagleindexwap i.eqRhZ11478 exwapi. eqRhZ11478 crawl-* ' FILTERING CRAWL_RECURSIVE CRAWL_CACHE_TEXT CRAWL_ALLOW_ PATTERNS CRAWL_DENY_PATTERNS CRAWL_PATHS CRAWL_INDEX_NAME crawl-applicati ons ']' crawl-applicati ons NAME=applicatio ns '/usr/share/ applications /usr/local/ share/applicati ons /opt/gnome/ share/applicati ons /opt/kde3/ share/applicati ons' FILTERING= no
+ '[' '!' -x /usr/sbin/
+ umask 022
+ CRAWL_USER=
+ export TMPDIR=/tmp
+ TMPDIR=/tmp
++ mktemp -d -p /tmp .beagleindexwap
+ MONO_SHARED_
+ chown beagleindex /tmp/.beagleind
+ for crawl_file in '/etc/beagle/
+ unset CRAWL_ENABLED CRAWL_DISABLE_
+ '[' -f /etc/beagle/
+ . /etc/beagle/
++ CRAWL_ENABLED=yes
++ CRAWL_INDEX_
++ CRAWL_PATHS=
++ CRAWL_RECURSIVE=yes
++ CRAWL_DISABLE_
++ CRAWL_CACHE_TEXT=no
+ '[' -n yes -a yes = yes ']'
++ test -n no -a no = yes
+ OPTIONS=