Steven Dake
562a8d87b4
Remove warning about unsigned/signed passed to strcpy
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1043 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-26 02:31:04 +00:00
Steven Dake
416440f88b
Modified initscript to not start by default on redhat systems
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1042 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-26 02:25:20 +00:00
Steven Dake
62a453da47
Return unsigned char as needed by gcc 4.1
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1041 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-26 02:21:03 +00:00
Steven Dake
c3ad9d1330
code analysis found a memset overwrote a data structure.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1040 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-26 02:09:48 +00:00
Patrick Caulfield
48ebfdc432
Add missing endian conversion to memb_merge_detect
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1039 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-25 07:33:12 +00:00
Patrick Caulfield
6b457e653c
Remove poinless man-page.
...
bug fix CPG example.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1038 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-23 08:43:02 +00:00
Steven Dake
953a21eab8
commit for redundant ring take 4 was only done from exec directory missing all
...
of the commits for the rest of the directories. This commit will now allow the
tree to compile.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1035 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-21 23:11:42 +00:00
Steven Dake
afe1867a80
First take at doxygen support for openais APIs.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1034 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-21 23:01:34 +00:00
Steven Dake
4da5612bd3
Endian fixes for the recent redundant ring protocol work plus the cluster
...
membership API support.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1033 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-19 20:31:35 +00:00
Steven Dake
483a9baac7
The redundant ring take 4 patch. This includes modes for active, passive,
...
and none. Read openais.conf.5 for information regarding how to configure
redundant ring.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1032 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-19 19:49:40 +00:00
Steven Dake
835f16ba53
Patch to allow system to work if no ld.so.conf is present. ld.so.conf is
...
optional and may not be present on a system.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1031 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-19 19:40:40 +00:00
Patrick Caulfield
1afe7db63a
Don't crash if we get an unathenticated connection from a library.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1030 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-19 07:38:30 +00:00
Patrick Caulfield
1948867924
Allow the syslog facility type to be set in the configuration file.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1029 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-19 07:36:49 +00:00
Patrick Caulfield
8a55ef585e
Move CPG_SERVICE into service_types where it belongs.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1028 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-17 12:54:37 +00:00
Patrick Caulfield
c7090b5047
Close ld.so.conf file descriptor when finished with it.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1027 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-17 07:34:09 +00:00
Hans Feldt
5b30c0a120
Introduction of SA Forum information model for AMF as specified in
...
SAI-Overview-B.02.01.pdf. Other AMF changes as specified in
SAI-AIS-AMF-B.02.01.
Summary:
- SA Forum B.02 Information model for AMF
- groups.conf renamed to amf.conf
- amf.conf syntax changed heavily to follow SA Forum specs.
- AMF works when daemon.
- linux lists removed from AMF
- component cmd environment variables support
- component argv support
- multi value csi attributes
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1026 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-17 07:22:43 +00:00
Patrick Caulfield
29bdf6bcdc
getaddrinfo() doesn't actually set errno, it has its own error variable, so
...
returning -errno is not useful (it may be zero even if getaddrinfo failed).
So, simply return -1 if getaddrinfo fails, to indicate a name resolution
or badly formed address.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1025 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-15 13:38:25 +00:00
Steven Dake
734dce9972
Environment variable cleanup, documentation of environment variables in
...
man pages, and rename of one of the environment variables used to specify
the main openais configuration file.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1024 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-11 00:40:06 +00:00
Fabien Thomas
e472131c0e
fix compile under darwin: sched_setscheduler does not exist
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1023 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-10 12:43:17 +00:00
Hans Feldt
a5019f2edc
- Preprocessor flags to control user, group and directory for
...
configuration files removed.
- Environment variables for the same thing added:
OPENAIS_AISPARSER_FILE
OPENAIS_AMF_CONFIG_FILE
OPENAIS_TOTEM_AUTHKEY_FILE
- Make depend target in exec makefile updated with missing source files.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1022 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-10 06:20:00 +00:00
Hans Feldt
905ba3b406
- printouts buffered before log_setup() has been called, flushed at early exit.
...
- rests of old logging removed from all code (#define LOG_SERVICE...).
- line feed added if not in message.
- new trace() function added so that trace macros adds minimum of code and runtime penalties to user code.
- ENTER_ARGS macro changed to ENTER. ENTER macro now requires arguments.
- openais.conf.5 man page updated with logger directives.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1021 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-03 08:45:44 +00:00
Patrick Caulfield
e92a77598b
Cope with >32 groups on a node that goes down.
...
Add a missing endian conversion.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1020 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-02 14:49:23 +00:00
Steven Dake
b6543dd3c4
Fix comile failures for BSD/Darwin port
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1019 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-30 04:57:22 +00:00
Steven Dake
e92d65ba90
add vsf none option for those that don't want a virtual synchrony filter
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1018 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-30 04:52:21 +00:00
Steven Dake
2439b397fb
Fix up mutexes to avoid deadlocks
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1017 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-28 17:57:04 +00:00
Patrick Caulfield
f61e578267
A misplaced close brace, caused cpg to only return the first node in the
...
list went several went down.
Also, replaced totemip_equal() calls with nodeid comparisons as CPG works
entirely on nodeIDs anyway.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1016 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-28 08:55:33 +00:00
Steven Dake
70ee761257
Remove prio commented out code
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1015 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-27 20:41:22 +00:00
Steven Dake
5bd057566c
Add invalid handle definition
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1014 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-27 20:18:44 +00:00
Steven Dake
570b7ac44f
Remove priority from aispoll since we now use the kernel scheduler for
...
priorities for polling
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1013 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-27 01:46:36 +00:00
Steven Dake
5a29ea623a
Add IPC files from missing previous commit
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1012 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-27 01:43:28 +00:00
Steven Dake
3c7f8b7c05
This patch reworks IPC to use threads instead of the main poll loop
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1011 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-27 01:39:10 +00:00
Steven Dake
38151d8e0c
Fix segfault because list was not reinitialized after its entry was deleted
...
and it would later be deleted by closing the ipc.
the
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1010 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-26 22:24:30 +00:00
Hans Feldt
947995bd80
test commit, one line amf.c change in clc_cli_cleanup
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1009 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-26 09:00:41 +00:00
Fabien Thomas
f9ce4bea58
Remove warnings under Darwin
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1008 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-25 07:28:20 +00:00
Steven Dake
61922deab5
Fix scanning of LCRSOs not working on various systems
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1007 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-25 07:11:25 +00:00
Steven Dake
8f281418a9
Patch to ensure backlogs are never negative which would cause problems with
...
the flow control algorithm and protocol in general.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1006 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-25 07:04:09 +00:00
Steven Dake
e5aa601df1
Allow running with BUILD_DYNAMIC set to zero.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1005 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-25 07:03:09 +00:00
Steven Dake
6a7bfa5caf
Patch from Hans to clean up some error handling in main.c when service handlers
...
do the wrong thing.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1002 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-24 19:05:59 +00:00
Steven Dake
81658a8158
Patch from Hans to clean up main error handling a little bit
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1001 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-24 19:00:26 +00:00
Steven Dake
4c75519ea3
Clean out private key memory area in case of parser override is used
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1000 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-24 18:58:36 +00:00
Steven Dake
721c9459ab
Patch from Hans to fix segfault in loading of LCR components
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@999 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-24 18:56:02 +00:00
Steven Dake
ced99237d9
More make install work to install all necessary files
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@998 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-20 23:17:16 +00:00
Mark Haverkamp
ca640fa486
Updated copyright dates.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@997 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-20 17:14:38 +00:00
Steven Dake
3bab5bffb4
Make install now works along with different search paths for openais's
...
lcrsos.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@996 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-19 20:39:25 +00:00
Steven Dake
f50a6a11c8
Patch from Hans to significantly improve the logging functionality
...
read openais.conf.5 for info on how the new logging works.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@995 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-18 19:53:18 +00:00
Steven Dake
94e827e318
Remove segfault when object database can't be loaded
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@994 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-16 02:05:27 +00:00
Steven Dake
b394a79248
Remove segfaults when object database can't be loaded for some reason.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@993 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-16 02:03:45 +00:00
Steven Dake
5fdbfe5934
remove -DDEBUG from release build
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@992 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-15 08:28:28 +00:00
Steven Dake
ca04a99884
defect 1201
...
cleanup poll_dispatch_delete in trunk
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@991 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-15 08:27:48 +00:00
Steven Dake
990d0af0ce
remove warnings form totemrrp and also fix bug where send_flush wasn't
...
being called for the active replication algorithm
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@990 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-15 08:04:21 +00:00