You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created by mfriedrich on 2016-11-21 15:11:50 +00:00
Assignee: gbeutner
Status: Resolved (closed on 2016-11-22 12:55:02 +00:00)
Target Version: 2.6.0
Last Update: 2016-11-22 12:55:22 +00:00 (in Redmine)
Icinga Version: v2.5.4-203-g930a3f1
Backport?: Not yet backported
Include in Changelog: 0
Only reproducible with current git master. Send a HUP signal to $(pidof icinga2) which implicitly sends HUP to the child process executing the checks. There are no signal handlers installed which is why the child process dies. The parent is then not able to decode any json message.
This issue has been migrated from Redmine: https://dev.icinga.com/issues/13269
Created by mfriedrich on 2016-11-21 15:11:50 +00:00
Assignee: gbeutner
Status: Resolved (closed on 2016-11-22 12:55:02 +00:00)
Target Version: 2.6.0
Last Update: 2016-11-22 12:55:22 +00:00 (in Redmine)
Only reproducible with current git master. Send a HUP signal to $(pidof icinga2) which implicitly sends HUP to the child process executing the checks. There are no signal handlers installed which is why the child process dies. The parent is then not able to decode any json message.
See discussion in https://dev.icinga.org/issues/8900#note-15 and #12940
Proposed solution - mask the signal handlers in child and unmask them before execvpe() for ALRM handlers in plugins.
Changesets
2016-11-22 12:53:58 +00:00 by gbeutner 78fa197
Relations:
The text was updated successfully, but these errors were encountered: