Public bug reported:

The /etc/init.d/celeryd and /etc/init.d/celerybeat scripts try to start
the celery programs like this:

    su "$CELERYBEAT_USER" -c "$CELERYBEAT $*"

(in the _chuid() function)

The 'celery' user which is automatically created by the package,
however, has its shell set to /bin/false, so this command does nothing
except immediately fail.

Either the celery user needs to have a proper shell set on creation, or
the _chuid() function needs to be amended as follows:

    su "$CELERYBEAT_USER" -s /bin/bash -c "$CELERYBEAT $*"

(or change the scripts to use celery's --uid option instead of using
'su')

** Affects: celery (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1674761

Title:
  The /etc/init.d files do not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/celery/+bug/1674761/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to