Learn more about the latest product updates at the Checkmk Conference #12 – live from June 16-17! Watch here

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

Component Setup
Title Fix background job warning "IOError: [Errno 9] Bad file descriptor"
Date Feb 20, 2019
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
1.5.0p13 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

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.

To the list of all Werks