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 |
|
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.