Supervisor is running on 3.0:
pip freeze | grep supervisor
supervisor==3.0
When starting supervisord from the command line:
sud
Per my understanding, you got this CRIT message which is bothering you:
CRIT Supervisor running as root (no user in config file)
The words in brackets is a clue. This message indicates that you may be running Supervisor as root unintentionally.
So the solution is pretty simple: Tell Supervisor that you are doing this intentionally.
(in /etc/supervisor/supervisord.conf
)
[supervisord]
user = root
Once you run Supervisord as root, it sets uid to the user you assigned, which is, root. (#308)
Although now you may get this message:
CRIT Set uid to user 0
No worries, this message should be a INFO level rather than a CRIT level. (#693)