Package: mod-gearman-worker
Version: 1.3.4-1
Severity: serious
Justification: fails to install

Hi,

when doing a fresh install of mod-gearman-worker that fails with the
following error message:

Configuration file /etc/mod-gearman/worker.conf not present...failed.
invoke-rc.d: initscript mod-gearman-worker, action "start" failed.
dpkg: error processing mod-gearman-worker (--install):
 subprocess installed post-installation script returned error exit status 1

This is due to the init script (which is called from postinst) aborting
with status 1 if the config is not there. Printing a warning message and
existing with status 0 solves that problem even though I don't exactly
like that either (but it's a problem other packages face as well).

In that particular case, imho two approaches would be (more) sensible:

 - install the sample config by default

 - don't start mod-gearman-worker by default (e.g. thru /etc/default/
   mod-gearman-worker)

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

Reply via email to