I'm having a sticky problem that I'm trying to get my head wrapped around.

I'm running uwsgi in emperor mode, with the following configuration for the
emperor:
[uwsgi]
socket = /run/uwsgi/uwsgi.socket
pidfile = /run/uwsgi/uwsgi.pid
emperor = /etc/uwsgi/apps-enabled
emperor-tyrant = true
master = true
autoload = true
log-date = true
logto = /var/log/uwsgi/uwsgi-emperor.log

For the vassals, I'm specifying the uid/gid in their configuration, but
when I start uwsgi, the vassals end up running as a completely different
user.
[uwsgi]
<snip>
uid = www-data
gid = www-data

In my scenario, the emperor is running as root, as expected, but the vassal
processes end up running as another user on our test server, not www-data.
However, if remove the "emperor-tyrant = true" from the emperor
configuration, the vassals do run as using the www-data user, as specified
in the vassal configuration.

uwsgi version is 1.9.18.2
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to