murano-agent/muranoagent
Stan Lagun 75e7e04695 Restores SIGPIPE on script processes
There is an issue https://bugs.python.org/issue1652
in Python 2.7 which was resolved in Py3.

By default Python sets SIGPIPE to SIG_IGN on startup, because
it prefers to check every write and raise an IOError exception rather
than taking SIGPIPE. This is all well and good for Python itself.
However, non-Python Unix subprocesses generally expect to have
SIGPIPE set to the default action, since that's what will happen if
they're started from a normal shell.

As a result scripts with piping that is terminated in reverse chain
order are never exit.

See more info here:
http://www.enricozini.org/blog/2009/debian/python-pipes/

Closes-Bug: #1524347
Change-Id: Ia015e7fd46912f6a0be97a6b9c297f8d14fd3f7c
2016-03-22 14:19:38 +00:00
..
cmd Enable H301, H302, H304, H306, H231, H233 2014-08-29 13:32:56 +00:00
common Fix use of the oslo-config-generator 2014-11-25 17:53:41 +02:00
executors Restores SIGPIPE on script processes 2016-03-22 14:19:38 +00:00
openstack Fix use of the oslo-config-generator 2014-11-25 17:53:41 +02:00
tests Merge "Folder Not Found with Git Downloadable File" into stable/kilo 2015-04-22 10:31:40 +00:00
__init__.py Extract main python client to the top 2014-05-29 20:02:50 +04:00
app.py Increment max FormatVersion 2015-04-20 17:37:24 +03:00
exceptions.py Increment max FormatVersion 2015-04-20 17:37:24 +03:00
execution_plan_queue.py Enable H301, H302, H304, H306, H231, H233 2014-08-29 13:32:56 +00:00
execution_plan_runner.py Enable H301, H302, H304, H306, H231, H233 2014-08-29 13:32:56 +00:00
execution_result.py Unicode characters handling 2014-12-03 14:07:16 +03:00
files_manager.py Folder Not Found with Git Downloadable File 2015-04-22 03:31:52 +03:00
opts.py Fix use of the oslo-config-generator 2014-11-25 17:53:41 +02:00
script_runner.py Support non-application scripts in the execution plan 2015-03-25 16:47:24 +01:00
version.py Fix murano agent component name 2014-09-24 15:08:52 +04:00
win32.py Enable H301, H302, H304, H306, H231, H233 2014-08-29 13:32:56 +00:00