Problem with notify script

"Ryan O'Hara" <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
A problem with the notify script in version 1.2.17 was reported to me
and I verified the issue this evening. In short, the notify script is
not being executed. The other notification script (notify_master,
notify_backup, notify_fault) seem to work just fine.

While testing this, I had two VRRP instances defined in
keepalived.conf. I noticed that if I had a notify script defined, the
second VRRP instance was not being parsed, so I looked at changes to
vrrp_parser.c. It seems that this patch [1]is causing the problem.

The reporter of this bug also opened an issue on github, which can be
found here [2].

I'm considering reverting this patch, but a git revert of this commit
is not clean so it may take a bit of work.

Ryan

[1] https://github.com/acassen/keepalived/commit/5c4177381bee24f9f7fbe33b8dc20c2d9cc2bccb
[2] https://github.com/acassen/keepalived/issues/156

------------------------------------------------------------------------------
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.