/etc/cron.daily/bugzilla3 exits with error code 2 when using multiple database configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bugzilla (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bugzilla
Release: Ubuntu 10.04.1 LTS
Package: bugzilla3 3.2.5.1-2
When using multiple database configuration, the daily cron job /etc/cron.
/etc/cron.
Can't locate /etc/bugzilla3/
run-parts: /etc/cron.
with examplesite beeing a configured bugzilla site.
This is due to line 18 in /etc/cron.
paramsf=
which should be:
paramsf=
Furthermore the call of /usr/share/
The following patch fixes both problems.
--- /etc/cron.
+++ /etc/cron.
@@ -15,7 +15,7 @@
if [ -x /usr/share/
if [ "$X_BUGZILLA_SITE" ]; then
- paramsf=
+ paramsf=
else
fi
@@ -31,7 +31,8 @@
# then the extra sites: /etc/bugzilla3/
if [ -d /etc/bugzilla3/
for site in `cd /etc/bugzilla3/
- X_BUGZILLA_
+ export X_BUGZILLA_
+ doit
done
fi