Werk #7177: Fix background job warning "IOError: [Errno 9] Bad file descriptor"

Komponente Setup
Titel Fix background job warning "IOError: [Errno 9] Bad file descriptor"
Datum 20.02.2019
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.5.0p13 1.6.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

When starting a background job an unproblematic error message like this could occur in the output of the background job log:

sys.stdin.close() IOError: [Errno 9] Bad file descriptor

This was caused by an unclean stdin/stdout/stderr handling during job startup since commit b15dfeb619c14c925b66f2a3437d213852204975.

Zur Liste aller Werks