Re: 1.2.7 Vrrp not remove virtual in terface when receive termination signal

umit <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
I found reason of this problem:
This problem occurs because of keepalived and its vrrp child process has same 
name that "keepalived". So if I call "killall keealived" command, linux system 
sends SIGTERM signal to keeaplived and vrrp processes. When keepalived 
procecess receives SIGTERM signal, it sends SIGTERM vrrp child. In this 
situation, vrrp receives two SIGTERM signal and it confuses. 

I solved this problem by changing vrrp child's name with using 
prctl(PR_SET_NAME, "vrrp_name", ..); system function.


Thanks,





------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
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.