[acassen/keepalived] 72f3f1: If can't get local host name, set default router_i...

pqarmitage <[email protected]> Wed, 24 May 2017 06:31:32 -0700
Newsgroups gmane.linux.keepalived.devel
Message-ID <59258b345464d_1daf13ff383105c3c9331b@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 72f3f1427d562bfedb191e228d1873ac88f77283
      https://github.com/acassen/keepalived/commit/72f3f1427d562bfedb191e228d1873ac88f77283
  Author: Quentin Armitage <[email protected]>
  Date:   2017-05-22 (Mon, 22 May 2017)

  Changed paths:
    M keepalived/core/global_data.c

  Log Message:
  -----------
  If can't get local host name, set default router_id to "[unknown]"

Issue #588 reported that keepalived was segfaulting when generating
an SNMP trap in strlen(global_data->router_id), which presumable is
due to global_data->router_id being NULL. As a precaution set
router_id to "[unknown]" if get_local_name() fails".

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


  Commit: b7395ef2a1f59cf4faceaac893bef2b57a4b11ad
      https://github.com/acassen/keepalived/commit/b7395ef2a1f59cf4faceaac893bef2b57a4b11ad
  Author: Quentin Armitage <[email protected]>
  Date:   2017-05-23 (Tue, 23 May 2017)

  Changed paths:
    M keepalived/core/snmp.c

  Log Message:
  -----------
  Implement SNMP reporting smtpServerPort

Commit 128cd24 added functionality for specifying smtp server port
and commit bcb09b8a added smtpServerPort to the keepalived MIB, but
no code was added to report the port. This commit adds that functionality.

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


  Commit: 2abbbb86c21ac44e36cedff3834d21ae9834054f
      https://github.com/acassen/keepalived/commit/2abbbb86c21ac44e36cedff3834d21ae9834054f
  Author: Quentin Armitage <[email protected]>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
    M lib/notify.c

  Log Message:
  -----------
  Don't use PATH when executing FIFO script

The path has already been resolved as part of checking the script
security, so there is no need to search the path.

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


  Commit: cba544eb9bb066aa77bd8f03588a02900e0985d9
      https://github.com/acassen/keepalived/commit/cba544eb9bb066aa77bd8f03588a02900e0985d9
  Author: Quentin Armitage <[email protected]>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
    M lib/notify.c

  Log Message:
  -----------
  Log error if unable to execute FIFO notify script

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


  Commit: 0607cff191eeb5109fb650bca013a0e64359cb4d
      https://github.com/acassen/keepalived/commit/0607cff191eeb5109fb650bca013a0e64359cb4d
  Author: Quentin Armitage <[email protected]>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
    M doc/keepalived.conf.SYNOPSIS
    M doc/man/man5/keepalived.conf.5
    M doc/samples/sample_notify_fifo.sh
    M keepalived/vrrp/vrrp_daemon.c
    M lib/notify.c
    M lib/notify.h

  Log Message:
  -----------
  Pass FIFO name to notify_fifo_script as parameter

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


  Commit: 67981bd821364147e94db4c7441f9fa5cbf93a75
      https://github.com/acassen/keepalived/commit/67981bd821364147e94db4c7441f9fa5cbf93a75
  Author: Quentin Armitage <[email protected]>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
    M doc/keepalived.conf.SYNOPSIS
    M doc/man/man5/keepalived.conf.5
    M doc/samples/sample_notify_fifo.sh
    M keepalived/check/check_daemon.c
    M keepalived/check/check_data.c
    M keepalived/check/ipwrapper.c
    M keepalived/core/global_data.c
    M keepalived/core/global_parser.c
    M keepalived/include/global_data.h
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_daemon.c
    M keepalived/vrrp/vrrp_notify.c
    M lib/notify.c
    M lib/notify.h

  Log Message:
  -----------
  Add FIFO notify for LVS notifies

To match the FIFO notifies for VRRP, this commit adds FIFO notifies
for LVS. There are now three FIFOs available, a global one that
will send output for VRRP and LVS, one for VRRP only and one for
LVS only.

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


  Commit: b5a111837804350dd5321c9879febe62c54fa1fc
      https://github.com/acassen/keepalived/commit/b5a111837804350dd5321c9879febe62c54fa1fc
  Author: Quentin Armitage <[email protected]>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
    M keepalived/core/global_data.c
    M keepalived/core/keepalived_netlink.c
    M keepalived/core/main.c
    M lib/scheduler.c
    M lib/scheduler.h

  Log Message:
  -----------
  Fix conditional compilation for --enable-debug

Commit 7947247 attempted to sort out making keepalived work with
--enable-debug, but unfortunately it used the wrong conditional
compilation variable (DEBUG instead of _DEBUG_). This commit
corrects the conditional compilation tests.

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


  Commit: 596ae4c4778c577da5b4e203f4f6ddbad1e3bf0a
      https://github.com/acassen/keepalived/commit/596ae4c4778c577da5b4e203f4f6ddbad1e3bf0a
  Author: pqarmitage <[email protected]>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
    M doc/keepalived.conf.SYNOPSIS
    M doc/man/man5/keepalived.conf.5
    M doc/samples/sample_notify_fifo.sh
    M keepalived/check/check_daemon.c
    M keepalived/check/check_data.c
    M keepalived/check/ipwrapper.c
    M keepalived/core/global_data.c
    M keepalived/core/global_parser.c
    M keepalived/core/keepalived_netlink.c
    M keepalived/core/main.c
    M keepalived/core/snmp.c
    M keepalived/include/global_data.h
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_daemon.c
    M keepalived/vrrp/vrrp_notify.c
    M lib/notify.c
    M lib/notify.h
    M lib/scheduler.c
    M lib/scheduler.h

  Log Message:
  -----------
  Merge pull request #590 from pqarmitage/fixes

Add FIFO notifies for LVS notification, and sundry fixes


Compare: https://github.com/acassen/keepalived/compare/0fd7b938a945...596ae4c4778c

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel