[acassen/keepalived] e40598: Terminate child processes if parent dies

pqarmitage <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <5845cf2bda620_65c3ff112c79140958c0@hookshot-fe1-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: e4059872833f12f4c0d9964866327e55ac250b98
      https://github.com/acassen/keepalived/commit/e4059872833f12f4c0d9964866327e55ac250b98
  Author: Ryan O'Hara <[email protected]>
  Date:   2016-12-05 (Mon, 05 Dec 2016)

  Changed paths:
    M configure.ac
    M keepalived/check/check_daemon.c
    M keepalived/vrrp/vrrp_daemon.c

  Log Message:
  -----------
  Terminate child processes if parent dies

If the parent keepalived process is killed, the child processes will
be orphaned and can cause problem when attempting to restart
keepalived. This patch makes use of prctl with PR_SET_PDEATHSIG such
that all child processes will receive SIGTERM if the parent process
dies.

Signed-off-by: Ryan O'Hara <[email protected]>


  Commit: fa37c4300bc3152b8d31a3d6e722d04c28ce8cca
      https://github.com/acassen/keepalived/commit/fa37c4300bc3152b8d31a3d6e722d04c28ce8cca
  Author: pqarmitage <[email protected]>
  Date:   2016-12-05 (Mon, 05 Dec 2016)

  Changed paths:
    M configure.ac
    M keepalived/check/check_daemon.c
    M keepalived/vrrp/vrrp_daemon.c

  Log Message:
  -----------
  Merge pull request #475 from rohara/devel

Terminate child processes if parent dies


Compare: https://github.com/acassen/keepalived/compare/ebd70d36a4c1...fa37c4300bc3

------------------------------------------------------------------------------

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.