Project

General

Profile

Actions

Bug #16099

closed

Running smart-proxy in daemon mode results in missed inotify events on isc leases file

Added by Anonymous over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
DHCP
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Related issues 1 (1 open0 closed)

Related to Foreman - Bug #16093: DHCP deletion is scheduled twice on MAC changeNew08/12/2016Actions
Actions #1

Updated by Anonymous over 7 years ago

  • Subject changed from Smart-proxy running in daemon mode results in missed inotify events on isc leases file to Running smart-proxy in daemon mode results in missed inotify events on isc leases file
Actions #2

Updated by Anonymous over 7 years ago

  • Related to Bug #16093: DHCP deletion is scheduled twice on MAC change added
Actions #3

Updated by Anonymous over 7 years ago

A possible fix is to do forking before all initialization/startup code.

Actions #4

Updated by Anonymous over 7 years ago

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.

Actions #5

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Anonymous
  • Pull request https://github.com/theforeman/smart-proxy/pull/453 added
Actions #6

Updated by Dominic Cleal over 7 years ago

  • translation missing: en.field_release set to 160
Actions #7

Updated by Ivan Necas over 7 years ago

  • Target version set to 1.6.1
Actions #8

Updated by Anonymous over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF