fixes error in Python3 running saslauthd.py in fork mode
Code harmonized with code in def run of kolabd/__init.py and wallace/init__.py
Differential D3442
[Python 3] fork code harmonizing ghane on Mar 14 2022, 10:41 AM. Authored by Tags None Referenced Files
Subscribers
Details
fixes error in Python3 running saslauthd.py in fork mode Code harmonized with code in def run of kolabd/__init.py and wallace/init__.py
Diff Detail
Event TimelineComment Actions Could you add to the summary of this differential a description of the concrete error that is being solved here? I presume that some part of Python (which one?) complained about one of the file descriptors for stdin/ stdout/ stderr being unavailable, but it would be great to make that explicit. Comment Actions with --fork
Traceback (most recent call last): File "/usr/lib/python3.x/logging/__init__.py", line 1037, in emit stream.write(msg + self.terminator) BrokenPipeError: [Errno 32] Broken pipe File "./saslauthd.py", line 43, in <module> saslauthd.run() ... I tried to localize the error on other parts of the code, but I couldn't localize.
I just checked against the same fork code snippet on wallace and kolabd, C&P the missing code part and it worked. So I just harmonized the fork code in def run on the daemon. |