Uwsgi daemon won't start if there is no uid/gid in configuration
Bug #781226 reported by
cezio
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uWSGI Ubuntu package |
In Progress
|
Undecided
|
Leonid Borisenko |
Bug Description
New uwsgi init script won't run uwsgi app if there are no uid or gid values in app configuration, but error message is misleading and giving no clue of what's wrong:
* Restarting app server(s) uwsgi-python
install: invalid group `'
[fail]
uid and gid are used as parameters in install command in do_start_
If there is no uid/gid, there should be a proper error message or those params should be ommited in installing $SPECIFIC_RUNDIR
Changed in uwsgi: | |
assignee: | nobody → Leonid Borisenko (leonidborisenko) |
To post a comment you must log in.
I can't reproduce this bug.
But problem related to executing 'install' command is definitely exists in init script.
Try to apply following patch to /usr/lib/ uwsgi/init/ snippets and rerun init script with problem configuration file. Does error message disappears after applying of patch or not?
--- /usr/lib/ uwsgi/init/ snippets. orig 2011-05-11 21:12:24.000000000 +0300 uwsgi/init/ snippets 2011-05-11 21:08:14.000000000 +0300
+++ /usr/lib/
@@ -45,6 +45,7 @@
extract_id()
{
local KIND="$1"
+ shift
local CONFNAME="$@"
local CONFFILE= "$(path_ to_conffile_ with_name "$CONFNAME")"