Public bug reported:

This bug was originally reported using reportbug. Filing by proxy.

The contents of the original report follow:
From: Paul Smith <[EMAIL PROTECTED]>
To: Ubuntu Bug Tracking System <[EMAIL PROTECTED]>
Subject: beagle-crawl-system is failing every day
Date: Thu, 07 Dec 2006 01:38:48 -0500
X-Mailer: reportbug 3.21.2ubuntu1

Package: beagle
Version: 0.2.9-1ubuntu3
Severity: normal

Every morning I'm getting an email from cron:

> run-parts: /etc/cron.daily/beagle-crawl-system exited with return code
1

This is happening because someone enabled "set -e" in this cron script, and a
test "fails", which causes the entire script to exit immediately.  Here's what
happens if I run this script from the command line with /bin/sh -x:

  # /bin/sh -x /etc/cron.daily/beagle-crawl-system 
  + set -e
  + [ ! -x /usr/sbin/beagle-build-index ]
  + umask 022
  + CRAWL_USER=beagleindex
  + export TMPDIR=/tmp
  + mktemp -d -p /tmp .beagleindexwapi.XXXXXXXXXX
  + MONO_SHARED_DIR=/tmp/.beagleindexwapi.kaHXT18301
  + chown beagleindex /tmp/.beagleindexwapi.kaHXT18301
  + 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=

  # echo $?
  1

The test shown above (test -n no -a no = yes) is obviously not true, so the -e
option forces the script to exit immediately.

I suspect someone added the set -e in there for debugging, then forgot to take
it out again.  I've checked my .deb file and this script appears like that
(with set -e) in the package file.


-- System Information:
Debian Release: testing/unstable
  APT prefers edgy-updates
  APT policy: (500, 'edgy-updates'), (500, 'edgy-security'), (500, 
'edgy-backports'), (500, 'edgy')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-10-generic
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages beagle depends on:
ii  adduser            3.92                  Add and remove users and groups
ii  bash               3.1-5ubuntu3          The GNU Bourne Again SHell
ii  libatk1.0-0        1.12.3-0ubuntu1       The ATK accessibility toolkit
ii  libc6              2.4-1ubuntu12         GNU C Library: Shared libraries
ii  libcairo2          1.2.4-1ubuntu2        The Cairo 2D vector graphics libra
ii  libexif12          0.6.13-4              library to parse EXIF files
ii  libexpat1          1.95.8-3.2            XML parsing C library - runtime li
ii  libfontconfig1     2.3.2-7ubuntu2        generic font configuration library
ii  libfreetype6       2.2.1-5               FreeType 2 font engine, shared lib
ii  libgconf2.0-cil    2.16.0-0ubuntu2       CLI binding for GConf 2.16
ii  libglade2.0-cil    2.10.0-0ubuntu2       CLI binding for the Glade librarie
ii  libglib2.0-0       2.12.4-0ubuntu1       The GLib library of C routines
ii  libglib2.0-cil     2.10.0-0ubuntu2       CLI binding for the GLib utility l
ii  libgmime2.2-cil    2.2.3-1ubuntu1        CLI binding for the MIME library, 
ii  libgnome2.0-cil    2.16.0-0ubuntu2       CLI binding for Gnome 2.16
ii  libgnomevfs2-0     2.16.1-0ubuntu2       GNOME virtual file-system (runtime
ii  libgsf-1-114       1.14.1-2ubuntu1.1     Structured File Library - runtime 
ii  libgsf0.0-cil      0.8-1ubuntu1          CLI bindings for libgsf
ii  libgtk2.0-0        2.10.6-0ubuntu1       The GTK+ graphical user interface 
ii  libgtk2.0-cil      2.10.0-0ubuntu2       CLI binding for the GTK+ toolkit 2
ii  libice6            2:1.0.1-1ubuntu1      X11 Inter-Client Exchange library
ii  libjpeg62          6b-13                 The Independent JPEG Group's JPEG 
ii  libmono-corlib1.0- 1.1.17.1-1ubuntu7     Mono core library (1.0)
ii  libmono-sharpzip0. 1.1.17.1-1ubuntu7     Mono SharpZipLib library
ii  libmono-sharpzip0. 1.1.17.1-1ubuntu7     Mono SharpZipLib library
ii  libmono-sqlite1.0- 1.1.17.1-1ubuntu7     Mono Sqlite library
ii  libmono-system-dat 1.1.17.1-1ubuntu7     Mono System.Data library
ii  libmono-system-run 1.1.17.1-1ubuntu7     Mono System.Runtime library
ii  libmono-system-web 1.1.17.1-1ubuntu7     Mono System.Web library
ii  libmono-system1.0- 1.1.17.1-1ubuntu7     Mono System libraries (1.0)
ii  libmono1.0-cil     1.1.17.1-1ubuntu7     Mono libraries (1.0)
ii  libpango1.0-0      1.14.5-0ubuntu1       Layout and rendering of internatio
ii  libpng12-0         1.2.8rel-5.1ubuntu0.1 PNG library - runtime
ii  librsvg2-2         2.16.0-0ubuntu2       SAX-based renderer library for SVG
ii  libsm6             2:1.0.1-1ubuntu1      X11 Session Management library
ii  libwmf0.2-7        0.2.8.3-3.1ubuntu1    Windows metafile conversion librar
ii  libwv-1.2-1        1.2.1-2ubuntu0.1      Library for accessing Microsoft Wo
ii  libx11-6           2:1.0.3-0ubuntu4      X11 client-side library
ii  libxcursor1        1.1.7-0ubuntu1        X cursor management library
ii  libxext6           2:1.0.1-1ubuntu1      X11 miscellaneous extension librar
ii  libxfixes3         1:4.0.1-0ubuntu1      X11 miscellaneous 'fixes' extensio
ii  libxi6             2:1.0.1-0ubuntu1      X11 Input extension library
ii  libxinerama1       2:1.0.1-4build1       X11 Xinerama extension library
ii  libxml2            2.6.26.dfsg-2ubuntu4  GNOME XML library
ii  libxrandr2         2:1.1.1-0ubuntu1      X11 RandR extension library
ii  libxrender1        1:0.9.1-0ubuntu1      X Rendering Extension client libra
ii  libxss1            1:1.0.1-4ubuntu1      X11 Screen Saver extension library
ii  mono-runtime       1.1.17.1-1ubuntu7     Mono runtime
ii  zlib1g             1:1.2.3-13ubuntu2     compression library - runtime

Versions of packages beagle recommends:
ii  poppler-utils             0.5.4-0ubuntu4 PDF utilitites (based on libpopple

-- no debconf information

** Affects: beagle (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
beagle-crawl-system is failing every day
https://launchpad.net/bugs/75782

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to