Actions
Bug #16099
closed
Running smart-proxy in daemon mode results in missed inotify events on isc leases file
Actions
Added by Anonymous almost 10 years ago. Updated almost 8 years ago.
A possible fix is to do forking before all initialization/startup code.
The cause of the problem is the monitoring thread started at https://github.com/theforeman/smart-proxy/blob/develop/modules/dhcp_isc/inotify_leases_file_observer.rb#L37 is terminated when the parent fork exits.
Applied in changeset 350b4cf73f7452943a4fc8a601df771c7cd0dbf9.