Univention Bugzilla – Bug 53811
UCR leaks open files
Last modified: 2021-12-08 17:17:13 CET
unittest revelas some warnings: /usr/lib/python3/dist-packages/univention/config_registry/handler.py:793: ResourceWarning: unclosed file <_io.TextIOWrapper name='/etc/univention/templates/files/*' mode='r' encoding='utf-8'> handler.variables = grep_variables(open(from_path, 'r', encoding='utf-8').read()) /usr/lib/python3/dist-packages/univention/config_registry/handler.py:912: ResourceWarning: unclosed file <_io.TextIOWrapper name='/etc/univention/templates/info/*.info' mode='r' encoding='utf-8'> for section in parseRfc822(open(info, 'r', encoding='utf-8').read()):
https://git.knut.univention.de/univention/ucs/-/merge_requests/155
854bde8426 | UCR stop leaking open files 31dc9b4566 | Advisory update fed6883d0a | UCR stop leaking open files f693c80615 | Advisory update
Verified: * Code review * Package update * Advisory
<https://errata.software-univention.de/#/?erratum=5.0x168>