Bug #18177
The autosign checker does not close its file descriptor
Pull request:
Fixed in Releases:
Found in Releases:
Description
Over a period of time lsof shows that the autosign.conf file is being opened repeatedly but not closed.
I am working with a very old code base but the fault is still there in development.
Associated revisions
History
#1
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/smart-proxy/pull/497 added
#2
Updated by Dmitri Dolguikh over 5 years ago
This looks like the culprit: https://github.com/theforeman/smart-proxy/blob/develop/modules/puppetca/puppetca_main.rb#L25. But there are a couple more places where file descriptors will be leaked should an error occur.
#3
Updated by The Foreman Bot about 5 years ago
- Pull request https://github.com/theforeman/smart-proxy/pull/522 added
#4
Updated by Paul Kelly about 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 538faca79fd94d9e98542ed2d1d98e11131c0b09.
fixes #18177 - file descriptor leak in puppet autosign handling