commit | a8b2671cf6fd2edf1614397aac22db3bd08bba0a | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Tue Nov 13 18:30:12 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Nov 13 19:32:45 2018 +0100 |
tree | 473c64a464fdcf6a1ee013278c2d21a8a483b5cd | |
parent | 2e8fad9c3042a2bb48a4409e12c73a86a5f53a37 [diff] |
BUG/MEDIUM: log: don't CLOEXEC the inherited FDs When configuring the logs with a FD and using the master worker, the FD was closed upon a reload because it was configured with CLOEXEC. It leads to using the wrong FD for the logs and to close them. Which is unfortunate since the master rely on the FD left opened during a reload. The fix is to stop doing a CLOEXEC when the FD is inherited. No backport needed.