[acassen/keepalived] 071a33: Fix unused variable warning when building only wit...

Quentin Armitage <[email protected]> Fri, 15 Feb 2019 16:02:48 -0800
Newsgroups gmane.linux.keepalived.devel
Message-ID <acassen/keepalived/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 071a3398addcccdb61476a7b6755a390c4eebbaf
      https://github.com/acassen/keepalived/commit/071a3398addcccdb61476a7b6755a390c4eebbaf
  Author: Quentin Armitage <[email protected]>
  Date:   2019-02-14 (Thu, 14 Feb 2019)

  Changed paths:
    M keepalived/vrrp/vrrp_snmp.c

  Log Message:
  -----------
  Fix unused variable warning when building only with RFC compliant SNMP

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 76f77d2e1e673e8a4c79ab41a42684b9cbb92f2b
      https://github.com/acassen/keepalived/commit/76f77d2e1e673e8a4c79ab41a42684b9cbb92f2b
  Author: Quentin Armitage <[email protected]>
  Date:   2019-02-15 (Fri, 15 Feb 2019)

  Changed paths:
    M configure.ac
    M keepalived/check/check_dns.c
    M keepalived/check/check_http.c
    M keepalived/check/check_smtp.c
    M keepalived/core/keepalived_netlink.c
    M keepalived/core/main.c
    M keepalived/core/track_process.c
    M keepalived/vrrp/vrrp_dbus.c
    M keepalived/vrrp/vrrp_scheduler.c
    M keepalived/vrrp/vrrp_track.c
    M lib/scheduler.c
    M lib/utils.c
    M lib/utils.h

  Log Message:
  -----------
  Add option not to check for EINTR if using signalfd()

If keepalived is using signalfd(), there are no asynchronous signal
handlers, and therefore EINTR cannot be returned.

Currently the check for EINTR is enabled by default, and configure
option --disable-eintr-debug disables the check, while
--enable-eintr-debug enables writing log entries if EINTR is returned.

Once sufficient testing has been performed, the default will be
changed not to test for EINTR if signalfd() is supported.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: c785e6c2f53bd47a848f4a977832444afd1964ac
      https://github.com/acassen/keepalived/commit/c785e6c2f53bd47a848f4a977832444afd1964ac
  Author: Quentin Armitage <[email protected]>
  Date:   2019-02-15 (Fri, 15 Feb 2019)

  Changed paths:
    M keepalived/check/check_dns.c
    M keepalived/check/check_http.c
    M keepalived/check/check_smtp.c
    M keepalived/core/keepalived_netlink.c
    M keepalived/core/main.c
    M keepalived/core/smtp.c
    M keepalived/core/track_process.c
    M keepalived/vrrp/vrrp_scheduler.c
    M keepalived/vrrp/vrrp_track.c
    M lib/utils.h

  Log Message:
  -----------
  Make checking for EAGAIN/EWOULDBLOCK consistent

The code in some places checked errno for EAGAIN and EWOULDBLOCK
and in other places only checked EAGAIN. On Linux EAGAIN == EWOULDBLOCK,
so the check is not necessary, but EAGAIN is not guaranteed to be the
same value as EWOULDBLOCK, so define check_EAGAIN that only checks EAGAIN
if they are the same value, but checks both if they are different.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 295d31f3b504b97c589b689d216b8114b1610840
      https://github.com/acassen/keepalived/commit/295d31f3b504b97c589b689d216b8114b1610840
  Author: Quentin Armitage <[email protected]>
  Date:   2019-02-15 (Fri, 15 Feb 2019)

  Changed paths:
    M keepalived/check/check_smtp.c

  Log Message:
  -----------
  Ensure default connection timeout for smtp checker hosts set

Commit ebd3712 (Update connect_timeout configuration options) didn't
set the default timeout for smtp check host entries. This commit sets
them.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 77e08b27e71c77d68f43c5f58887c31cec625272
      https://github.com/acassen/keepalived/commit/77e08b27e71c77d68f43c5f58887c31cec625272
  Author: Quentin Armitage <[email protected]>
  Date:   2019-02-16 (Sat, 16 Feb 2019)

  Changed paths:
    M configure.ac
    M keepalived/check/check_dns.c
    M keepalived/check/check_http.c
    M keepalived/check/check_smtp.c
    M keepalived/core/keepalived_netlink.c
    M keepalived/core/main.c
    M keepalived/core/smtp.c
    M keepalived/core/track_process.c
    M keepalived/vrrp/vrrp_dbus.c
    M keepalived/vrrp/vrrp_scheduler.c
    M keepalived/vrrp/vrrp_snmp.c
    M keepalived/vrrp/vrrp_track.c
    M lib/scheduler.c
    M lib/utils.c
    M lib/utils.h

  Log Message:
  -----------
  Merge pull request #1129 from pqarmitage/updates

Improve handling of EINTR and EAGAIN, and set default smtp checker host timeouts


Compare: https://github.com/acassen/keepalived/compare/eeb699c79412...77e08b27e71c