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

Bug #1260830 reported by Artyom Nosov
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gearmand (Ubuntu)
Won't Fix
Undecided
Unassigned

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.

Revision history for this message
Artyom Nosov (artyom.nosov) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in gearmand (Ubuntu):
status: New → Confirmed
Revision history for this message
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`.

Revision history for this message
Artyom Nosov (artyom.nosov) wrote :

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

Revision history for this message
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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.