Comment 1 for bug 63416

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

/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
+ '[' '!' -x /usr/sbin/beagle-build-index ']'
+ umask 022
+ CRAWL_USER=beagleindex
+ export TMPDIR=/tmp
+ TMPDIR=/tmp
++ mktemp -d -p /tmp .beagleindexwapi.XXXXXXXXXX
+ MONO_SHARED_DIR=/tmp/.beagleindexwapi.eqRhZ11478
+ chown beagleindex /tmp/.beagleindexwapi.eqRhZ11478
+ for crawl_file in '/etc/beagle/crawl-*'
+ unset CRAWL_ENABLED CRAWL_DISABLE_FILTERING CRAWL_RECURSIVE CRAWL_CACHE_TEXT CRAWL_ALLOW_PATTERNS CRAWL_DENY_PATTERNS CRAWL_PATHS CRAWL_INDEX_NAME
+ '[' -f /etc/beagle/crawl-applications ']'
+ . /etc/beagle/crawl-applications
++ CRAWL_ENABLED=yes
++ CRAWL_INDEX_NAME=applications
++ CRAWL_PATHS='/usr/share/applications /usr/local/share/applications /opt/gnome/share/applications /opt/kde3/share/applications'
++ CRAWL_RECURSIVE=yes
++ CRAWL_DISABLE_FILTERING=no
++ CRAWL_CACHE_TEXT=no
+ '[' -n yes -a yes = yes ']'
++ test -n no -a no = yes
+ OPTIONS=