Your message dated Wed, 28 Jun 2006 11:47:06 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#336885: fixed in keepalived 1.1.12-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: keepalived
Version: 1.1.11-3
Severity: important
Tags: patch

When keepalived starts up, it tries to enter master mode, but if it
detects the link is down on the interface it goes directly to the fault
state, without calling the notify script about the change to fault
state.

Similarly when keepalived is currently in backup state and it looses
link, it goes directly to fault state without running the notify script.

The included patch fixes it for me.  It handles calling the notify
script in the two places the state can be switched to fault which did
not already call the notify script on the change.

-- System Information:
Debian Release: 3.1
  APT prefers experimental
  APT policy: (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.12-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages keepalived depends on:
ii  iproute                     20041019-3   Professional tools to control the 
ii  ipvsadm                     1.24+1.21-1  Linux Virtual Server support progr
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libpopt0                    1.7-5        lib for parsing cmdline parameters
ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries

-- no debconf information
diff -ruN keepalived-1.1.11/keepalived/vrrp/vrrp.c 
keepalived-1.1.11.rr1/keepalived/vrrp/vrrp.c
--- keepalived-1.1.11/keepalived/vrrp/vrrp.c    2005-02-28 19:27:11.000000000 
-0500
+++ keepalived-1.1.11.rr1/keepalived/vrrp/vrrp.c        2005-11-01 
11:11:21.000000000 -0500
@@ -786,6 +786,7 @@
                vrrp->ms_down_timer =
                    3 * vrrp->adver_int + VRRP_TIMER_SKEW(vrrp);
                vrrp->state = VRRP_STATE_FAULT;
+               notify_instance_exec(vrrp, VRRP_STATE_FAULT);
                return 1;
        }
 
diff -ruN keepalived-1.1.11/keepalived/vrrp/vrrp_scheduler.c 
keepalived-1.1.11.rr1/keepalived/vrrp/vrrp_scheduler.c
--- keepalived-1.1.11/keepalived/vrrp/vrrp_scheduler.c  2005-02-28 
19:27:44.000000000 -0500
+++ keepalived-1.1.11.rr1/keepalived/vrrp/vrrp_scheduler.c      2005-10-31 
17:12:11.000000000 -0500
@@ -568,6 +568,9 @@
                vrrp_log_int_down(vrrp);
                syslog(LOG_INFO, "VRRP_Instance(%s) Now in FAULT state",
                       vrrp->iname);
+               if(vrrp->state != VRRP_STATE_FAULT) {
+                       notify_instance_exec(vrrp, VRRP_STATE_FAULT);
+               }
                vrrp->state = VRRP_STATE_FAULT;
                vrrp->ms_down_timer =
                    3 * vrrp->adver_int + VRRP_TIMER_SKEW(vrrp);

--- End Message ---
--- Begin Message ---
Source: keepalived
Source-Version: 1.1.12-1

We believe that the bug you reported is fixed in the latest version of
keepalived, which is due to be installed in the Debian FTP archive:

keepalived_1.1.12-1.diff.gz
  to pool/main/k/keepalived/keepalived_1.1.12-1.diff.gz
keepalived_1.1.12-1.dsc
  to pool/main/k/keepalived/keepalived_1.1.12-1.dsc
keepalived_1.1.12-1_amd64.deb
  to pool/main/k/keepalived/keepalived_1.1.12-1_amd64.deb
keepalived_1.1.12.orig.tar.gz
  to pool/main/k/keepalived/keepalived_1.1.12.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexander Wirt <[EMAIL PROTECTED]> (supplier of updated keepalived package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 28 Jun 2006 20:01:56 +0200
Source: keepalived
Binary: keepalived
Architecture: source amd64
Version: 1.1.12-1
Distribution: unstable
Urgency: low
Maintainer: Alexander Wirt <[EMAIL PROTECTED]>
Changed-By: Alexander Wirt <[EMAIL PROTECTED]>
Description: 
 keepalived - Failover and monitoring daemon for LVS clusters
Closes: 333102 336885 365220
Changes: 
 keepalived (1.1.12-1) unstable; urgency=low
 .
   * New upstream release (Closes: #365220)
   * Call notification for every failure. Thanks to Len Sorenson for
     the patch (Closes: #336885)
   * delete /tmp/.vrrp and /tmp/.healthcheckers if they exists before
     starting keepalived (Closes: #333102)
   * bumped standard version
Files: 
 5ebb34318e9f61c0d926bce71f0b0076 622 admin optional keepalived_1.1.12-1.dsc
 622e656a1e79566df04f2922afef524c 215811 admin optional 
keepalived_1.1.12.orig.tar.gz
 a34627a51321fd16f27ec19704e32a81 12439 admin optional 
keepalived_1.1.12-1.diff.gz
 5c06c20e4c0e2b344c3b78537b6c6c65 122764 admin optional 
keepalived_1.1.12-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEosgD01u8mbx9AgoRAkuxAJsGwABIG7QSSu9pGXxLWT5pyBhmewCfTNmh
+FVdo+9SGQ5xbadMgyrgEtU=
=d3BP
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to