Angus Salkeld
bed7002213
Autobuild: add -v option to mock
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2904 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-21 08:53:17 +00:00
Steven Dake
68c580fc54
Bump revision to 1.2.3.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2901 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-19 14:01:06 +00:00
Steven Dake
d209f7bb27
Fix leak in error path in nss encryption.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2857 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-19 05:30:18 +00:00
Steven Dake
9ad14156c6
This patch updates the wording for the bindnetaddr option
...
in corosync.conf to explicitly state that you need to use
the network address, as opposed to "should always end in
zero", which is only correct for class C networks.
Regards,
Tim
--
Tim Serong <tserong@novell.com>
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2856 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-19 05:26:13 +00:00
Steven Dake
0e9f0bfeb4
Make cpg_membership_get() functional.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2855 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-19 05:03:52 +00:00
Angus Salkeld
7999995273
cov 10412: fix mem leak in encrypt_and_sign_nss()
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2854 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-19 04:35:25 +00:00
Angus Salkeld
4ff33854ad
add __attribute__((noreturn)) to functions that always exit.
...
we had some __attribute__((__noreturn__))
and some __attribute__((noreturn))
I made them all: __attribute__((noreturn))
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2853 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-19 04:34:53 +00:00
Steven Dake
02cddf6854
Fix free of ring status information when memory allocation fails during
...
allocation of the ring status information.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2852 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-18 17:20:05 +00:00
Steven Dake
6d79a218e2
Fix signed comparison with unsigned value in mainconfig.c
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2851 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-18 16:44:59 +00:00
Angus Salkeld
0c790c067a
cov 10388: fix check for no mcast address
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2850 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-18 00:46:35 +00:00
Angus Salkeld
ad71b66c7b
cov (many): make sure all _set() functions return a signed int
...
in the body it can return -1, and callers check for -1.
but the return type is unsigned int?
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2849 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-18 00:46:08 +00:00
Angus Salkeld
2a23dfc585
cov 10391: allow assert to check for a negative number
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2848 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-18 00:43:41 +00:00
Angus Salkeld
8236a0873e
cov 10404: don't assign loc pointer when not used.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2847 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-18 00:14:02 +00:00
Steven Dake
d4f92c864a
Fix problem where logsys messages are not flushed at exit before worker thread
...
is created.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2846 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-18 00:13:54 +00:00
Angus Salkeld
92985c31d9
cov 10405: remove unused pointer from totemsrp.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2845 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-18 00:12:52 +00:00
Angus Salkeld
b1d84f9ecc
cov 10373: check poll return value
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2844 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-16 23:35:45 +00:00
Angus Salkeld
18a1ea648b
Fix compile error in services/cfg.c
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2843 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-16 22:23:25 +00:00
Angus Salkeld
18326ad242
cov 10392: remove pointless assert
...
backlog is unsigned
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2842 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-16 21:40:19 +00:00
Angus Salkeld
71a09466e4
cov 10413: crypto init a variable.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2841 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-16 21:36:51 +00:00
Angus Salkeld
b2a304d8f8
cov (10387, 10397): cleanup memory mapping functions
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2840 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-16 21:35:52 +00:00
Angus Salkeld
0886c03881
cov 10374: check sam_hc_send() before counter++
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2839 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-16 21:34:41 +00:00
Angus Salkeld
d08c6d577f
cov 10399: set the msg_flags to 0 in coroipcs.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2838 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-16 21:33:32 +00:00
Angus Salkeld
25a3d310ac
cov 10390: remove pointless assert.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2837 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-16 21:32:21 +00:00
Angus Salkeld
43d4f9d040
cov 10389: remove unneccessary check.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2836 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-16 21:31:28 +00:00
Angus Salkeld
2f21e126be
cov 10371: check return of lcr_ifact_reference
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2835 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-16 21:29:30 +00:00
Angus Salkeld
5eba844916
cov 10401: error_string never set
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2834 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-16 21:28:13 +00:00
Angus Salkeld
202de1b8e2
cov 10411: fix leak in totemudp.c
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2833 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-16 21:26:15 +00:00
Angus Salkeld
ff8d0084cb
cov 10400: unit'ed variable.
...
not important, easy to fix.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2832 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-16 21:25:33 +00:00
Steven Dake
ed7b299290
Merge patch from Sato Yuki which fixes corosync-cfgtool -r
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2831 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-14 08:01:03 +00:00
Angus Salkeld
d146ae8ec9
cov 10396: prevent a leak under error conditions (lib/sam.c)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2830 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-14 02:08:30 +00:00
Angus Salkeld
45152f0902
cov 10378: fix syntax error.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2829 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-14 02:08:02 +00:00
Angus Salkeld
c94dba0b49
cov 10385: assigning signed int to unsigned variable
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2828 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-14 02:07:39 +00:00
Angus Salkeld
cb536a12ce
cov 10384: better error handling from accept()
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2827 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-14 02:06:30 +00:00
Angus Salkeld
96c9360c79
cov 10383: impove the error handling after socket()
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2826 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-14 02:06:00 +00:00
Angus Salkeld
3eb76c2154
cov 10382: improve error handling around open()
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2825 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-14 02:05:32 +00:00
Angus Salkeld
b4f61842b6
cov 10381: check result of open()
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2824 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-14 02:04:53 +00:00
Angus Salkeld
3ebd6fab52
cov 10379 &10380: check result of open before calling ftruncate.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2823 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-14 02:03:49 +00:00
Jan Friesse
d5884cd714
SAM integration of quorum
...
Patch adds integration of SAM and quorum, so it's now possible to use
SAM_RECOVERY_POLICY_QUORUM_QUIT or SAM_RECOVERY_POLICY_QUORUM_RESTART
recovery policy. With these policies, sam_start will block until
corosync is quorate. If quorum is lost during health checking, recovery
action is taken.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2822 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-13 11:20:49 +00:00
Jan Friesse
088a2a0f17
Allow call sam_warn_signal_set after sam_register
...
Patch fixes situation, when user want to change warn signal after
call of sam_register function. This was not possible, because parent
process never got new value from child.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2821 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-13 11:19:52 +00:00
Steven Dake
5211e03908
Bump version to 1.2.2.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2818 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-13 04:42:06 +00:00
Steven Dake
5e8f1a730f
logsys rework to deal with memory corruption around debug:on configurations.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2816 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-13 04:36:42 +00:00
Angus Salkeld
4ebd7974b4
autobuild: clean up the example config before installing
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2815 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-12 23:13:51 +00:00
Angus Salkeld
562616c79d
cpg: fix unitialized variable
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2814 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-12 09:25:58 +00:00
Angus Salkeld
48aff01d75
CTS: fix test_agent start/stop errors
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2813 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-12 09:25:18 +00:00
Angus Salkeld
09615628b1
CTS: fix test service configuration
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2812 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-12 09:24:43 +00:00
Angus Salkeld
534891da2b
configure: minor change to get tab completion to work
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2811 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-12 09:24:03 +00:00
Angus Salkeld
4cdf7708de
autobuild: hard code mock path to /usr/bin/mock
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2808 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-05 09:38:14 +00:00
Angus Salkeld
fc9abc10ac
set execute bit on autobuild.sh
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2807 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-05 09:07:20 +00:00
Angus Salkeld
45fc3a51d4
spec: fix some errors from rpmbuild & rpmlint
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2806 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-05 04:42:26 +00:00
Angus Salkeld
1df8675995
testcpg: fix a format string compile warning.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2805 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-05 04:37:43 +00:00