FS#46872 - [supervisor] Warns about running as root and not using -c for config

Attached to Project: Community Packages
Opened by Jerome Leclanche (Adys) - Monday, 26 October 2015, 01:05 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Friday, 30 October 2015, 08:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Massimiliano Torromeo (mtorromeo)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

On supervisor 3.1.3-1, starting it outputs the following:

Oct 26 02:57:19 mortar supervisord[2750]: /usr/lib/python2.7/site-packages/supervisor/options.py:296: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.

It's probably a good idea to use that -c argument, if they're so adamant about it.
This task depends upon

Closed by  Massimiliano Torromeo (mtorromeo)
Friday, 30 October 2015, 08:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  supervisor-3.1.3-2
Comment by Jerome Leclanche (Adys) - Monday, 26 October 2015, 01:28 GMT
While we're changing the service file, this also popped up:

[/usr/lib/systemd/system/supervisord.service:8] Support for option SysVStartPriority= has been removed and it is ignored

Loading...