Supervisor

Latest version: v4.2.5

Safety actively analyzes 623092 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 10

4.3.0.dev0

-------------------------

- ``supervisorctl`` now reads extra files included via the ``[include]``
section in ``supervisord.conf`` like ``supervisord`` does. This allows
the ``[supervisorctl]`` section or ``[ctlplugin:x]`` sections to be in
included files. Patch by François Granade.

- If ``supervisord`` searches the default paths for its config file (no
``-c`` flag given), it will now print a message showing the path of the
config file that it loaded. Patch by Alexander Tuna.

4.2.5

------------------

- Fixed a bug where the XML-RPC method ``supervisor.startProcess()`` would
return 500 Internal Server Error instead of an XML-RPC fault response
if the command could not be parsed. Patch by Julien Le Cléach.

- Fixed a bug on Python 2.7 where a ``UnicodeDecodeError`` may have occurred
when using the web interface. Patch by Vinay Sajip.

- Removed use of ``urllib.parse`` functions ``splithost``, ``splitport``, and
``splittype`` deprecated in Python 3.8.

- Removed use of ``asynchat`` and ``asyncore`` deprecated in Python 3.10.

- The return value of the XML-RPC method ``supervisor.getAllConfigInfo()``
now includes the ``directory``, ``uid``, and ``serverurl`` of the
program. Patch by Yellmean.

- If a subprocess exits with a unexpected exit code (one not listed in
``exitcodes=`` in a ``[program:x]`` section) then the exit will now be logged
at the ``WARN`` level instead of ``INFO``. Patch by Precy Lee.

- ``supervisorctl shutdown`` now shows an error message if an argument is
given.

- File descriptors are now closed using the faster ``os.closerange()`` instead
of calling ``os.close()`` in a loop. Patch by tyong920.

4.2.4

------------------

- Fixed a bug where the ``--identifier`` command line argument was ignored.
It was broken since at least 3.0a7 (released in 2009) and probably earlier.
Patch by Julien Le Cléach.

4.2.3

------------------

- Fixed a race condition where an ``rpcinterface`` extension that subscribed
to events would not see the correct process state if it accessed the
the ``state`` attribute on a ``Subprocess`` instance immediately in the
event callback. Patch by Chao Wang.

- Added the ``setuptools`` package to the list of dependencies in
``setup.py`` because it is a runtime dependency. Patch by Louis Sautier.

- The web interface will now return a 404 Not Found response if a log file
is missing. Previously, it would return 410 Gone. It was changed because
410 is intended to mean that the condition is likely to be permanent. A
log file missing is usually temporary, e.g. a process that was never started
will not have a log file but will have one as soon as it is started.

4.2.2

------------------

- Fixed a bug where ``supervisord`` could crash if a subprocess exited
immediately before trying to kill it.

- Fixed a bug where the ``stdout_syslog`` and ``stderr_syslog`` options
of a ``[program:x]`` section could not be used unless file logging for
the same program had also been configured. The file and syslog options
can now be used independently. Patch by Scott Stroupe.

- Fixed a bug where the ``logfile`` option in the ``[supervisord]``
section would not log to syslog when the special filename of
``syslog`` was supplied, as is supported by all other log filename
options. Patch by Franck Cuny.

- Fixed a bug where environment variables defined in ``environment=``
in the ``[supervisord]`` section or a ``[program:x]`` section could
not be used in ``%(ENV_x)s`` expansions. Patch by MythRen.

- The ``supervisorctl signal`` command now allows a signal to be sent
when a process is in the ``STOPPING`` state. Patch by Mike Gould.

- ``supervisorctl`` and ``supervisord`` now print help when given ``-?``
in addition to the existing ``-h``/``--help``.

4.2.1

------------------

- Fixed a bug on Python 3 where a network error could cause ``supervisord``
to crash with the error ``<class 'TypeError'>:can't concat str to bytes``.
Patch by Vinay Sajip.

- Fixed a bug where a test would fail on systems with glibc 2.3.1 because
the default value of SOMAXCONN changed.

Page 1 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.