Package: otrs
Version: 1.3.2p01-5
Severity: wishlist
Tags: patch
Hi,
it would be reasonable to check whether programs which are called
by cron daemon really exist. While most of the cron.d entries are
just comments it might happen that one entry was uncommented and
later the program which is called was deinstalled. This happened
in my case with fetchmail. Thus I think the cron.d script should
be enhanced like this:
--- otrs_fetchmail.orig 2005-04-05 23:06:53.000000000 +0200
+++ otrs_fetchmail 2005-06-30 10:28:40.265018760 +0200
@@ -6,5 +6,5 @@
# This software comes with ABSOLUTELY NO WARRANTY.
# --
# fetch every 5 minutes emails via fetchmail
-#*/5 * * * * otrs /usr/bin/fetchmail --fetchmailrc /etc/otrs/fetchmailrc -a >>
/dev/null
+#*/5 * * * * otrs [ -x /usr/bin/fetchmail ] ; then /usr/bin/fetchmail
--fetchmailrc /etc/otrs/fetchmailrc -a >> /dev/null ; fi
In case this was intentionally done this way to trigger any error message
from the system feel free to close this bug, but for my understanding it
would be reasonable this way.
Kind regards
Andreas.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (501, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages otrs depends on:
ii apache2 2.0.54-4 next generation, scalable, extenda
ii apache2-mpm-worker [apache2] 2.0.54-4 high speed threaded model for Apac
ii libauthen-sasl-perl 2.08-2 Authen::SASL - SASL Authentication
ii libdate-pcalc-perl 1.2-2 Perl module for Gregorian calendar
ii libdbi-perl 1.48-1 Perl5 database interface by Tim Bu
ii libemail-valid-perl 0.15-2 Check validity of Internet email a
ii libio-stringy-perl 2.110-1 Perl5 modules for IO from scalars
ii libmailtools-perl 1.62-1 Manipulate email in perl programs
ii libmime-perl 5.417-1 Perl5 modules for MIME-compliant m
ii perl 5.8.7-3 Larry Wall's Practical Extraction
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]