Commit Graph

124 Commits

Author SHA256 Message Date
Peter Varkoly
08a276dc50 - Update to version 2.4.5+git70.64010f57:
* totem: Add cancel_hold_on_retransmit config option

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=184
2021-08-23 10:12:29 +00:00
Peter Varkoly
4f80e588ef Adapt version in changes
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=182
2021-06-01 19:51:26 +00:00
Peter Varkoly
bab62632a9 New version
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=181
2021-06-01 19:50:49 +00:00
Peter Varkoly
c5a162b3fb Clean up
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=180
2021-06-01 14:20:46 +00:00
Peter Varkoly
864db64eae - Update to version 2.4.5:
* man: replace votequorum_poll for actually used fn
  * qnetd: sort by node_id when add new client
  * man: adjust description about interface section
  * qnetd: Simplify KAP Tie-breaker logic
  * qnetd: Fix NULL dereference of client
  * man: votequorum.5: use proper single quotes
  * tests: Use CS_DISPATCH_BLOCKING instead of cycle
  * totemsrp: Move token received callback
  * common_lib: Remove trailing spaces in cs_strerror
  * totemsrp: More informative messages
- Remove patches:
  bug-1166899-quorumtool-Fix-exit-status-codes.patch
  bug-1163460-totemip-Add-support-for-sin6_scope_id.patch

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=179
2021-06-01 14:19:23 +00:00
Dominique Leuenberger
580462a303 Accepting request 878023 from home:dimstar:Factory
- Drop the script-dependencies on /sbin/chkconfig: deprecated
- Drop the main package's dependency on /usr/sbin/adduser: the main
  package does not call this in the pre scripts.
- Change Requires(pre): shadow in corosync-qdevice to
  Requires(pre): /usr/sbin/adduser (support alternartive
  implementations).
- Use %systemd_ordering for the various, too strict, systemd script
  dependencies.

OBS-URL: https://build.opensuse.org/request/show/878023
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=177
2021-03-26 08:45:39 +00:00
Yan Gao
029ad67989 Accepting request 844361 from home:aburlakov:branches:network:ha-clustering:Factory
- (Again) Fix bsc#1163460 Corosync does not support link-local IPv6 addresses
   Added: bug-1163460-totemip-Add-support-for-sin6_scope_id.patch
   Reason: This time the path will NOT cause problems when doing rolling
            upgrade, see bsc#1168771

OBS-URL: https://build.opensuse.org/request/show/844361
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=175
2020-10-28 10:48:33 +00:00
Yan Gao
64213a0370 Accepting request 827836 from home:dimstar:Factory
- Stop mangling libexecdir: it's not needed at all.

OBS-URL: https://build.opensuse.org/request/show/827836
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=173
2020-08-27 17:29:21 +00:00
Xin Liang
9e00067635 Accepting request 796298 from home:XinLiang:branches:network:ha-clustering:Factory
- Revoke the patch bug-1163460-totemip-Add-support-for-sin6_scope_id.patch
  Deleted: bug-1163460-totemip-Add-support-for-sin6_scope_id.patch
  Reason: That path will cause problems while doing rolling upgrade, see bsc#1168771

OBS-URL: https://build.opensuse.org/request/show/796298
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=171
2020-04-22 14:18:54 +00:00
Xin Liang
83c27912eb Accepting request 786910 from home:XinLiang:branches:network:ha-clustering:Factory
- Fix bsc#1163460 Corosync does not support link-local IPv6 addresses
  Added: bug-1163460-totemip-Add-support-for-sin6_scope_id.patch

OBS-URL: https://build.opensuse.org/request/show/786910
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=169
2020-03-20 14:16:43 +00:00
Xin Liang
3a54ce9dd5 Accepting request 786038 from home:XinLiang:branches:network:ha-clustering:Factory
- Fix bsc#1166899, return value of "corosync-quorumtool -s" was not correct
  Added: bug-1166899-quorumtool-Fix-exit-status-codes.patch

OBS-URL: https://build.opensuse.org/request/show/786038
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=168
2020-03-18 03:03:01 +00:00
nick wang
03886ab714 Accepting request 760630 from home:mgerstner:branches:network:ha-clustering:Factory
- Don't package sysconfig file in tmpfiles.d, it's a bug. Instead correctly
  add it to /etc/sysconfig, invoking fillup accordingly.

OBS-URL: https://build.opensuse.org/request/show/760630
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=166
2020-03-11 03:05:27 +00:00
Yuan Ren
76c3d6829f Accepting request 749106 from home:yuanren10
Update tmp sysconfig restore location

OBS-URL: https://build.opensuse.org/request/show/749106
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=164
2019-11-17 07:55:58 +00:00
Yuan Ren
3b4a9d7d25 Accepting request 746530 from home:yuanren10
fix corosync upgrade problem

OBS-URL: https://build.opensuse.org/request/show/746530
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=162
2019-11-11 07:28:06 +00:00
Yuan Ren
da8f6162fc Accepting request 746240 from home:yuanren10
Fix some noisy output during installation and sysconfig file issues

OBS-URL: https://build.opensuse.org/request/show/746240
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=161
2019-11-07 11:52:11 +00:00
Yuan Ren
08f972974d Accepting request 742114 from home:yuanren10
upgade to corosync-2.4.5

OBS-URL: https://build.opensuse.org/request/show/742114
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=159
2019-10-23 11:03:23 +00:00
Yuan Ren
061629cb94 Accepting request 736412 from home:yuanren10
Replace corosync-2.4.5.tar.gz with a clean source.tar.gz(bsc#1144200)

OBS-URL: https://build.opensuse.org/request/show/736412
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=157
2019-10-09 08:08:27 +00:00
Yuan Ren
45797e0db8 Accepting request 736398 from home:yuanren10
Update corosync-2.4.5.tar.gz with a clean one. Base on
https://bugzilla.suse.com/show_bug.cgi?id=1144200#c12

OBS-URL: https://build.opensuse.org/request/show/736398
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=156
2019-10-09 07:20:05 +00:00
Yuan Ren
a2080431b0 Accepting request 736351 from home:yuanren10
disable corosync-testagents

OBS-URL: https://build.opensuse.org/request/show/736351
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=155
2019-10-09 03:08:45 +00:00
Yuan Ren
b39d72432a Accepting request 724896 from home:yuanren10
Upgrade to corosync-2.4.5

OBS-URL: https://build.opensuse.org/request/show/724896
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=153
2019-08-21 03:00:36 +00:00
Yuan Ren
f2ba1a2fd2 Accepting request 721953 from home:yuanren10
upgrade to corosync-2.4.5

OBS-URL: https://build.opensuse.org/request/show/721953
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=151
2019-08-09 07:37:31 +00:00
nick wang
fe325c775c Accepting request 720964 from home:yuanren10
Upgrade to corosync-2.4.5

OBS-URL: https://build.opensuse.org/request/show/720964
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=150
2019-08-08 01:54:39 +00:00
Bin Liu
ec6bf0b62e Accepting request 602893 from network:ha-clustering:Unstable
- cpg: Inform clients about left nodes during pause(bsc#1091593)
    Added: 0012-cpg-Inform-clients-about-left-nodes-during-pause.patch

OBS-URL: https://build.opensuse.org/request/show/602893
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=148
2018-05-02 02:49:52 +00:00
Bin Liu
b98c1fc972 Accepting request 601109 from home:BinLiu:branches:network:ha-clustering:Factory
OBS-URL: https://build.opensuse.org/request/show/601109
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=146
2018-04-26 07:25:08 +00:00
Bin Liu
87f9c9f0b8 Accepting request 601101 from home:BinLiu:branches:network:ha-clustering:Factory
- NSS_NoDB_Init: the parameter is reserved, must be NULL(bsc#1090996)
    Added: 0011-NSS_NoDB_Init-the-parameter-is-reserved-must-be-NULL.patch

OBS-URL: https://build.opensuse.org/request/show/601101
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=145
2018-04-26 06:59:57 +00:00
Bin Liu
75e953789d Accepting request 598458 from home:BinLiu:branches:network:ha-clustering:Factory
- corosync-2.4.4 is available now(bsc#1089836)
      man:fix in corosync-qdevice.8
      quorumtool: remove duplicated help message
      cfg: nodeid should be unsigned int
      coroparse: Use readdir instead of readdir_r
      wd: fix snprintf warnings
      Fix compile errors in qdevice on FreeBSD
      qdevice: mv free(str) after port validation
      Fix various typos
      Fix typo: recomended -> recommended
      man: support SOURCE_DATE_EPOCH
      configure: add --with-initconfigdir option
      Use static case blocks to determine distro flavor
      Use RuntimeDirectory instead of tmpfiles.d
      coroparse: Do not convert empty uid, gid to 0
      sam: Fix snprintf compiler warnings
      quorumtool: Use full buffer size in snprintf
      man: Add note about qdevice parallel cmds start
      sync: Remove unneeded determine sync code
      sync: Call sync_init of all services at once
      corosync.conf: publicize nodelist.node.name
      totemudp[u]: Drop truncated packets on receive
      logging: Make blackbox configurable
      logging: Close before and open blackbox after fork
      init: Quote subshell result properly
      blackbox: Quote subshell result properly
      qdevice: quote certutils scripts properly
      sam_test_agent: Remove unused assignment
      qdevice: Fix NULL pointer dereference
      quorumtool: Don't set our_flags without v_handle

OBS-URL: https://build.opensuse.org/request/show/598458
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=143
2018-04-19 09:12:27 +00:00
Bin Liu
1687aa60d7 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=141 2018-04-13 05:19:40 +00:00
Bin Liu
948754c2b0 Accepting request 596060 from home:BinLiu:branches:network:ha-clustering:Factory
OBS-URL: https://build.opensuse.org/request/show/596060
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=140
2018-04-13 05:15:44 +00:00
Bin Liu
7c8e057def Accepting request 595018 from home:BinLiu:branches:network:ha-clustering:Factory
- UNKNOWN version in corosync pkg-config(bsc#1088619)
    Added: 0017-bsc#1088619-add-version.patch

OBS-URL: https://build.opensuse.org/request/show/595018
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=139
2018-04-10 02:57:50 +00:00
Bin Liu
83edaebdf7 Accepting request 584183 from home:BinLiu:branches:network:ha-clustering:Factory
- [Build 489.1] Corosync is not working after upgrade from sle11sp4-ha to sle15-ha(bsc#1083561) 
    Added: 0016-bsc#1083561-upgrade-from-1-x-y.patch

OBS-URL: https://build.opensuse.org/request/show/584183
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=137
2018-03-08 06:28:39 +00:00
Bin Liu
457957e6de Accepting request 582536 from home:BinLiu:branches:network:ha-clustering:Factory
- some coverity fixes for corosync on upstream(bsc#1083895)
    Added: 0015-coverity-fixes.patch

OBS-URL: https://build.opensuse.org/request/show/582536
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=135
2018-03-05 08:32:16 +00:00
Bin Liu
868d6de717 Accepting request 571270 from home:BinLiu:branches:network:ha-clustering:Factory
- corosync exposes itself for a self-crash under rare circumstance(bsc#1078412)
    Added: 0013-logging-Make-blackbox-configurable.patch
           0014-logging-Close-before-and-open-blackbox-after-fork.patch
    Modified: remove unncessary git commit messages
           0001-coroapi-Use-size_t-for-private_data_size.patch
           0002-fix-ifdown-udp.patch
           0005-do-not-convert-empty-uid-gid-to-0.patch
           0008-wd-fix-snprintf-warnings.patch
           0010-qdevice-mv-free-str-after-port-validation.patch
           0011-libcpg-Fix-issue-with-partial-big-packet-assembly.patch
           0012-totemudp-u-Drop-truncated-packets-on-receive.patch

OBS-URL: https://build.opensuse.org/request/show/571270
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=133
2018-01-31 06:32:47 +00:00
Bin Liu
1cb59d8095 Accepting request 563223 from home:BinLiu:branches:network:ha-clustering:Factory
- totemudp[u]: Drop truncated packets on receive(bsc#1075300)
    Added: 0012-totemudp-u-Drop-truncated-packets-on-receive.patch

OBS-URL: https://build.opensuse.org/request/show/563223
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=131
2018-01-10 09:59:41 +00:00
Bin Liu
6649b328a4 Accepting request 562378 from home:BinLiu:branches:network:ha-clustering:Factory
- issue with partial packets assembly when multiple nodes are sending big packets(bsc#1074929) 
    Added: 0011-libcpg-Fix-issue-with-partial-big-packet-assembly.patch

OBS-URL: https://build.opensuse.org/request/show/562378
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=130
2018-01-08 02:59:01 +00:00
Bin Liu
2b389892e9 Accepting request 561082 from home:BinLiu:branches:network:ha-clustering:Factory
- qdevice failed to run(bsc#1074276)
    Added: 0010-qdevice-mv-free-str-after-port-validation.patch

- add support for corosync-qdevice in yast2-cluster and bootstrap(bsc#1070961)
    Added: 0009-add-config-for-corosync-qnetd.patch

OBS-URL: https://build.opensuse.org/request/show/561082
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=128
2018-01-03 02:29:50 +00:00
Bin Liu
85a3c2235b Accepting request 548540 from home:BinLiu:branches:network:ha-clustering:Factory
- wd: gcc shows snprintf warnings(bsc#1071187)  
    Added: 0008-wd-fix-snprintf-warnings.patch

OBS-URL: https://build.opensuse.org/request/show/548540
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=126
2017-12-05 07:39:23 +00:00
Bin Liu
a55efafcf9 Accepting request 544770 from home:RBrownSUSE:branches:network:ha-clustering:Factory
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544770
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=124
2017-11-24 04:58:49 +00:00
Bin Liu
6151d7bebd Accepting request 544012 from home:BinLiu:branches:network:ha-clustering:Factory
Modified: 0005-do-not-convert-empty-uid-gid-to-0.patch, 
            check whether the uid, gid is empty before calling strtol

OBS-URL: https://build.opensuse.org/request/show/544012
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=122
2017-11-21 03:17:50 +00:00
Bin Liu
47b73d77da Accepting request 542517 from home:BinLiu:branches:network:ha-clustering:Factory
- corosync race condition when node leaves immediately after joining(bsc#1067958)
    Added: 0007-sync-Call-sync_init-of-all-services-at-once.patch

OBS-URL: https://build.opensuse.org/request/show/542517
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=120
2017-11-17 03:16:16 +00:00
Bin Liu
4fe79c3237 Accepting request 540401 from home:BinLiu:branches:network:ha-clustering:Factory
8 bytes into a region of size between 1 and 255(bsc#1066090)

OBS-URL: https://build.opensuse.org/request/show/540401
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=118
2017-11-10 06:23:14 +00:00
Bin Liu
a9ba154cbc Accepting request 540066 from home:BinLiu:branches:network:ha-clustering:Factory
- gcc: snprintf gives warning: ‘%s’ directive output may be truncated writing
       8 bytes into a region of size between 1 and 255(nsc#1066090)
    Added: 0006-Fix-compile-warnings-with-GCC-7.2.1.patch

OBS-URL: https://build.opensuse.org/request/show/540066
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=117
2017-11-09 05:50:58 +00:00
Bin Liu
4c8b0e71aa Accepting request 539228 from home:BinLiu:branches:network:ha-clustering:Factory
- coroparse: uidgid with empty uid or gid results into add uid 0(bsc#1066585) 
    Added: 0005-do-not-convert-empty-uid-gid-to-0.patch

OBS-URL: https://build.opensuse.org/request/show/539228
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=116
2017-11-06 09:28:09 +00:00
Bin Liu
c548204c02 Accepting request 536229 from home:BinLiu:branches:network:ha-clustering:Factory
OBS-URL: https://build.opensuse.org/request/show/536229
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=114
2017-10-24 02:16:45 +00:00
Bin Liu
4560e27e9c Accepting request 535834 from home:BinLiu:branches:network:ha-clustering:Factory
- Upgrade corosync-2.4.2 to corosync-2.4.3(fate#321385)
        doc: document watchdog_device parameter
        Main: Call mlockall after fork
        Totempg: remove duplicate memcpy in mcast_msg func
        Qdevice: fix spell errors in qdevice
        logconfig: Do not overwrite logger_subsys priority
        totemconfig: Prefer nodelist over bindnetaddr
        cpghum: Fix printf of size_t variable
        Qnetd lms: Use UTILS_PRI_RING_ID printf format str
        wd: Report error when close of wd fails
        votequorum: Don't update expected_votes display if value is too high
        votequorum: simplify reconfigure message handling
        quorumtool: Add option to show all node addresses
        main: Don't ask libqb to handle segv, it doesn't work
        man: Document -a option to corosync-quorumtool
        main: use syslog & printf directly for early log messages
        votequorum: make atb consistent on nodelist reload
        Fix typo: Destorying -> Destroying
        init: Add doc URIs to the systemd service files
        wd: fix typo
        corosync.conf.5: Fix watchdog documentation
        corosync.conf.5: add warning about slow watchdogs
        wd: remove extra capitalization typo
        corosync.conf.5: watchdog support is conditional
        notifyd: Add the community name to an SNMP trap
        Logsys: Change logsys syslog_priority priority
        totemrrp: Fix situation when all rings are faulty
        main: Display reason why cluster cannot be formed
        totem: Propagate totem initialization failure
        totemcrypto: Refactor symmetric key importing

OBS-URL: https://build.opensuse.org/request/show/535834
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=113
2017-10-23 04:32:00 +00:00
Bin Liu
9359e2998a Accepting request 529073 from home:BinLiu:branches:network:ha-clustering:Factory
- wrong "service_del_postun corosync.service"(bsc#1060767)
    Modified: corosync.spec, remove service_del_postun in postun of corosync

OBS-URL: https://build.opensuse.org/request/show/529073
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=111
2017-09-28 06:24:02 +00:00
Bin Liu
bca759631d Accepting request 523762 from home:jengelh:branches:network:ha-clustering:Factory
- Restore conformance to shared library packaging guideline.
- Remove redundant cleaning in %install and %clean.

OBS-URL: https://build.opensuse.org/request/show/523762
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=109
2017-09-22 07:34:32 +00:00
Bin Liu
aca77467e9 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=107 2017-08-29 09:56:24 +00:00
Bin Liu
81c78de08e Accepting request 519298 from home:BinLiu:branches:network:ha-clustering:Factory
3) remove macro tpmfiles_create define from corosync.spec.

OBS-URL: https://build.opensuse.org/request/show/519298
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=106
2017-08-29 09:54:18 +00:00
Bin Liu
d1c555f69a Accepting request 519278 from home:BinLiu:branches:network:ha-clustering:Factory
- corosync.service should be marked as a static service(bsc#1055585)
    Added: 0012-mark-corosync-as-a-static-service.patch

OBS-URL: https://build.opensuse.org/request/show/519278
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=105
2017-08-29 08:00:14 +00:00
Bin Liu
791e2ffa6c Accepting request 519251 from home:BinLiu:branches:network:ha-clustering:Factory
3) remove  "||:" from tpmfiles_create if tmpfiles_create not defined, and add to the line when it is called.

OBS-URL: https://build.opensuse.org/request/show/519251
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=104
2017-08-29 05:55:21 +00:00