Package: celeryd
Severity: important

Dear Maintainer,

Default celeryd package ships with the (upstream) SysV initscript and
creates a system user named celery. By default this user has /bin/false
as a shell. So if you set correct variables in /etc/default/celery and
start the daemon, celery never starts.

This is the relevant function from the initscript:

_chuid () {
    su "$CELERYD_USER" -c "$CELERYD_MULTI $*"
}

Simply changing this to:
    su "$CELERYD_USER" --shell=/bin/sh -c "$CELERYD_MULTI $*"

works. I don't know if this is the best way to fix this, though.

I'm marking this important because the package celeryd only provides the
initscript. Running the worker proccess by hand of course works.

Reply via email to