gearman upstart job does not use /etc/default/gearman-job-server

Bug #1260830 reported by Artyom Nosov on 2013-12-13
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gearmand (Ubuntu)

Bug Description

Previous gearman-job-server SysV init script used /etc/default/gearman-job-server to configure command line arguments. Current upstart job script does not use /etc/default/gearman-job-server. So at this moment we do not have any opportunity to configure gearman, e.g. configure persistent storage. The file /etc/default/gearman-job-server is still present it package.

The following patch fixes this behaviour.

Artyom Nosov (artyom.nosov) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gearmand (Ubuntu):
status: New → Confirmed
Giorgio Sironi (giorgiosironi) wrote :

I think you should use `"$PARAMS"` in the patch rather than the unquoted `$PARAMS`. There are some parameters containing spaces like `--libpq-conninfo`.

Artyom Nosov (artyom.nosov) wrote :

2 years old bug. I suppose that we should use systemd instead ;)

Giorgio Sironi (giorgiosironi) wrote :

To be fair $PARAMS without quotes works for the other parameters, but it doesn't for values containing spaces like the PostgreSQL connection info. A work around is to use a URL for PostgreSQL, which does not contain spaces instead.

Clint Byrum (clint-fewbar) wrote :

upstart job is long gone I'm afraid. systemd unit from Debian seems to work fine.

Changed in gearmand (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers