uwsgi init script not dash compatible, syntax error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uWSGI Ubuntu package |
New
|
Undecided
|
Unassigned |
Bug Description
While debugging the absence of a uwsgi process after a fresh apt install of it
(having run "service uwsgi start" without problem, apparently, normal
startup message), I wanted to check by running
# sh -x /etc/init.d/uwsgi start
(Notice "sh"). This lines then displayed end in
+ ...
/etc/init.d/uwsgi: 79: /usr/share/
#
Line 79 of the sourced script "do_command" has the end of a while loop
that reads input from a <(...) construct:
done 4< <(find "$UWSGI_
The line, syntactically, has the form of:
# echo 4< <(echo a)
dash: 3: Syntax error: redirection unexpected
which, while bash accepts it, dash does not accept. So, when the system shell
can be dash, the script needs fixing.
Ubuntu 14.0.4 LTS
Is there any outline/hack for this bug ? I have the same problem using docker with Ubuntu latest.