- update to 1.4.1:
* Improve and fix use of getopt_long(). We musn't use a long option val of 1, since getopt_long() can return that value. getopt_long() also returns longindex == 0 when there is no matching long option, and there needs to be careful checking if there is an error to work out whether a long or short option was used, which is needed for meaningful error messages. * Write assert() messages to syslog. assert()s are nasty things, but at least let's get the benefit of them, and write the messages to syslog, rather than losing them down stderr. * Enable sorry server at startup if quorum down due to alpha mode If alpha mode is configured on sufficient checkers so that a virtual server doesn't have a quorum, we need to add the sorry server at startup, otherwise it won't be added until a quorum has been achieved and subsequently lost again. In the case where some of the checkers remain in the down state at startup, this would have meant that the sorry server never got added. * For virtual servers, ensure quorum <= number of real servers If the quorum were gigher than the number of real servers, the quorum for the real server to come up could never be achieved, so if the quorum is greater than the number of real servers, reduce it to the number of real servers. * Fix some SNMP keepalived checker integer types and default values. Some virtual server and real server values were being sent to SNMP with a signed type whereas the value is unsigned, so set the type field correctly. Some virtual server and real server values that apply to checkers are set to nonsense default values in order to determine if a OBS-URL: https://build.opensuse.org/package/show/network/keepalived?expand=0&rev=42
This commit is contained in:
parent
349045239f
commit
5f5ed9e175
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:463b26c134101c57c05a65ac2853a757b922878876b2a9539118de1697c98a01
|
||||
size 731936
|
3
keepalived-1.4.1.tar.gz
Normal file
3
keepalived-1.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:220407517ccad822d1ffa80f7bc37582abaf97da6f7bda2326fa6904b1855bd0
|
||||
size 735190
|
@ -1,3 +1,64 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 14:52:29 UTC 2018 - dmueller@suse.com
|
||||
|
||||
- update to 1.4.1:
|
||||
* Improve and fix use of getopt_long().
|
||||
We musn't use a long option val of 1, since getopt_long() can return
|
||||
that value.
|
||||
getopt_long() also returns longindex == 0 when there is no matching
|
||||
long option, and there needs to be careful checking if there is an
|
||||
error to work out whether a long or short option was used, which is
|
||||
needed for meaningful error messages.
|
||||
* Write assert() messages to syslog.
|
||||
assert()s are nasty things, but at least let's get the benefit of
|
||||
them, and write the messages to syslog, rather than losing them down
|
||||
stderr.
|
||||
* Enable sorry server at startup if quorum down due to alpha mode
|
||||
If alpha mode is configured on sufficient checkers so that a
|
||||
virtual server doesn't have a quorum, we need to add the sorry
|
||||
server at startup, otherwise it won't be added until a quorum has
|
||||
been achieved and subsequently lost again. In the case where some
|
||||
of the checkers remain in the down state at startup, this would have
|
||||
meant that the sorry server never got added.
|
||||
* For virtual servers, ensure quorum <= number of real servers
|
||||
If the quorum were gigher than the number of real servers, the
|
||||
quorum for the real server to come up could never be achieved, so
|
||||
if the quorum is greater than the number of real servers, reduce it
|
||||
to the number of real servers.
|
||||
* Fix some SNMP keepalived checker integer types and default values.
|
||||
Some virtual server and real server values were being sent to SNMP
|
||||
with a signed type whereas the value is unsigned, so set the type
|
||||
field correctly.
|
||||
Some virtual server and real server values that apply to checkers
|
||||
are set to nonsense default values in order to determine if a
|
||||
value has been specified. Handle these values when reporting them
|
||||
to SNMP replying with 0 rather than a nonsense value.
|
||||
* Fix some MALLOC/FREE issues with notify FIFOs.
|
||||
* Add instance_name/config_id to alert emails' subjects if configured.
|
||||
If multiple instances of keepalived are running, either different
|
||||
instance_names and/or config_ids, it is useful to know which
|
||||
keepalived instance the email relates to.
|
||||
* Ensure that email body string isn't unterminated.
|
||||
Using strncpy() needs to ensure that there is a nul termination byte,
|
||||
so this commits adds always writing a nul byte to the end of the buffer.
|
||||
* Remove duplicate fault notification.
|
||||
* Fix problem with scripts found via PATH with a '/' in parameters.
|
||||
Recent discussions on issue #101 led to discovering that if an
|
||||
executable without a fully qualified name was specified as a script
|
||||
and there was a '/' character in the parameters, then the path
|
||||
resolution would not work.
|
||||
* Send SNMP traps when go from backup to fault due to sync group.
|
||||
Commit 020a9ab added executing notify_fault for vrrp instances
|
||||
transitioning from backup to fault state due to another instance
|
||||
in the sync group going to fault state. This commit adds sending
|
||||
SNMP traps in the same circumstance.
|
||||
* Revert "Add instance_name/config_id to alert emails' subjects if
|
||||
configured". This should be handled by setting router_id
|
||||
* Add config option to send smtp-alerts to file rather than send emails
|
||||
This is useful for debugging purposes.
|
||||
* Add additional entry to Travis-CI build matrix.
|
||||
* Fix segfault if no sorry server configured for a virtual server.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 22 13:03:55 UTC 2018 - mrueckert@suse.de
|
||||
|
||||
|
@ -30,13 +30,13 @@
|
||||
%bcond_with json
|
||||
|
||||
Name: keepalived
|
||||
Version: 1.4.0
|
||||
Version: 1.4.1
|
||||
Release: 0
|
||||
Summary: A keepalive facility for Linux
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Networking/Routing
|
||||
Url: http://www.keepalived.org/
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Source: http://www.keepalived.org/software/%{name}-%{version}.tar.gz
|
||||
Source2: keepalive-rpmlintrc
|
||||
Patch1: keepalive-init.patch
|
||||
BuildRequires: libnfnetlink-devel
|
||||
|
Loading…
Reference in New Issue
Block a user