diff options
author | Matthew Jordan <mjordan@digium.com> | 2013-01-19 00:19:19 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2013-01-19 00:19:19 +0000 |
commit | 01763fd41b1325f56d727023b8a92697f272f285 (patch) | |
tree | 0a31b2070754d0110f56e99a529880a2c08b6c8e /default.exports | |
parent | bc97a4ded17bee63555b6215a5ec3d3206f8eec1 (diff) |
Fix astcanary startup problem due to wrong pid value from before daemon call
When Asterisk forks itself into the background via a call to daemon, it must
re-set the pid value of the new process. Otherwise, astcanary gets the pid
value of the process before the fork, which prevents it from running. Asterisk
eventually starts lowering its priority, as it can no longer communicate
with the proverbial canary in the coal mine.
This patch ensures that the correct process identifier is used by astcanary.
Note that this is getting committed to 10 as a regression fix.
(closes issue ASTERISK-20947)
Reported by: Jakob Hirsch
Tested by: mjordan
patches:
asterisk-10.12.0.astcanary_ppid.diff uploaded by Jakob Hirsch (license 6113)
........
Merged revisions 379509 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 379510 from http://svn.asterisk.org/svn/asterisk/branches/10
........
Merged revisions 379513 from http://svn.asterisk.org/svn/asterisk/branches/11
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@379518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'default.exports')
0 files changed, 0 insertions, 0 deletions