The /etc/init.d files do not work
Bug #1674761 reported by
Jon Ribbens
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
celery (Debian) |
Fix Released
|
Unknown
|
|||
celery (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The /etc/init.d/celeryd and /etc/init.
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')
Changed in celery (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in celery (Debian): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
This bug has been fixed in Debian since version 3.1.23-4, as per the linked Debian bug.
The fix is available in Ubuntu since Bionic. Therefore, I am closing this one.