]> git.proxmox.com Git - mirror_corosync.git/log
mirror_corosync.git
16 years agoAllow setting of lower priority which is currently disabled.
Steven Dake [Mon, 14 Jul 2008 10:58:28 +0000 (10:58 +0000)]
Allow setting of lower priority which is currently disabled.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1577 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAllow users of logsys to disable output of logging LOG_LEVEL_DEBUG messages
Steven Dake [Mon, 14 Jul 2008 10:55:28 +0000 (10:55 +0000)]
Allow users of logsys to disable output of logging LOG_LEVEL_DEBUG messages
via log_mode_set.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1576 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years ago * Adds documentation for the LOG_MODE_NOSUBSYS mode flag,
Patrick Caulfield [Fri, 11 Jul 2008 10:35:54 +0000 (10:35 +0000)]
 * Adds documentation for the LOG_MODE_NOSUBSYS mode flag,
 * Adds documentation for the LOG_MODE_SHORT_FILELINE mode flag, and
 * Fixes (typo) 'declartion' -> 'declaration'

-- Lon

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1575 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoFix error in a previous logsys patch.
Steven Dake [Thu, 10 Jul 2008 23:52:38 +0000 (23:52 +0000)]
Fix error in a previous logsys patch.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1574 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAdd a missing object_find_reset() call.
Patrick Caulfield [Mon, 7 Jul 2008 08:49:21 +0000 (08:49 +0000)]
Add a missing object_find_reset() call.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1573 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAdd init/config entry points for those that dont with to use macros in logsys.
Steven Dake [Wed, 2 Jul 2008 22:58:03 +0000 (22:58 +0000)]
Add init/config entry points for those that dont with to use macros in logsys.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1572 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAdd cpg_groups_get call to libcpg.
Patrick Caulfield [Wed, 2 Jul 2008 07:19:50 +0000 (07:19 +0000)]
Add cpg_groups_get call to libcpg.

This call causes a complete list of active groups and their
membership lists to be sent to a callback function.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1571 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAdd two new modes LOG_MODE_SHORT_FILELINE and LOG_MODE_NOSUBSYS.
Steven Dake [Tue, 1 Jul 2008 22:08:15 +0000 (22:08 +0000)]
Add two new modes LOG_MODE_SHORT_FILELINE and LOG_MODE_NOSUBSYS.
LOG_MODE_SHORT_FILELINE strips the leading path from the file name in
a debug output.  LOG_MODE_NOSUBSYS removes a global variable and provides
the ability to set or unset this via config_mode_set.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1570 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agothis patch fixes a segfault/crash in confdb_write.
Patrick Caulfield [Tue, 1 Jul 2008 07:23:25 +0000 (07:23 +0000)]
this patch fixes a segfault/crash in confdb_write.

If the operation is succesful there is no need to set error_string. If error_string is not set, don't try to access it or we crash.

At the same time perform the same check in libconfdb when we receive the reply.

Fabio

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1569 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAllow syslog priority configurations per subsystem in logsys.
Steven Dake [Tue, 24 Jun 2008 08:43:53 +0000 (08:43 +0000)]
Allow syslog priority configurations per subsystem in logsys.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1568 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoRemove warnings of unused variables in main.c
Steven Dake [Tue, 24 Jun 2008 04:54:28 +0000 (04:54 +0000)]
Remove warnings of unused variables in main.c

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1566 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAllow make in the exec directory to work even if root/lcr isn't yet built.
Steven Dake [Tue, 24 Jun 2008 04:52:42 +0000 (04:52 +0000)]
Allow make in the exec directory to work even if root/lcr isn't yet built.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1565 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAdd #include assert.h to some AMF files.
Steven Dake [Tue, 24 Jun 2008 04:49:29 +0000 (04:49 +0000)]
Add #include assert.h to some AMF files.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1564 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoForward port of the synchronization engine into trunk.
Steven Dake [Tue, 24 Jun 2008 04:46:03 +0000 (04:46 +0000)]
Forward port of the synchronization engine into trunk.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1563 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoFix a ton of bugs in totem by forward porting the whitetank totem code into
Steven Dake [Tue, 24 Jun 2008 04:45:38 +0000 (04:45 +0000)]
Fix a ton of bugs in totem by forward porting the whitetank totem code into
trunk.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1562 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoRemove totemip.h reference from file.
Steven Dake [Tue, 24 Jun 2008 04:44:45 +0000 (04:44 +0000)]
Remove totemip.h reference from file.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1561 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoRemove totemip reference from file.
Steven Dake [Tue, 24 Jun 2008 04:44:36 +0000 (04:44 +0000)]
Remove totemip reference from file.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1560 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoremove totemip.h reference from file.
Steven Dake [Tue, 24 Jun 2008 04:44:21 +0000 (04:44 +0000)]
remove totemip.h reference from file.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1559 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoFix unlock_algorithm in lock service.
Steven Dake [Mon, 23 Jun 2008 22:44:06 +0000 (22:44 +0000)]
Fix unlock_algorithm in lock service.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1558 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoImprove the async version of locking library patch from Xinwei Hu.
Steven Dake [Mon, 23 Jun 2008 22:42:42 +0000 (22:42 +0000)]
Improve the async version of locking library patch from Xinwei Hu.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1557 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoPatch from Xinwei Hu to clean up test locking program.
Steven Dake [Mon, 23 Jun 2008 22:40:44 +0000 (22:40 +0000)]
Patch from Xinwei Hu to clean up test locking program.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1556 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAllow user to retrieve logsys mode.
Steven Dake [Fri, 20 Jun 2008 06:06:56 +0000 (06:06 +0000)]
Allow user to retrieve logsys mode.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1555 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoRemove extra unneeded configuration option from logsys.
Steven Dake [Fri, 20 Jun 2008 06:04:03 +0000 (06:04 +0000)]
Remove extra unneeded configuration option from logsys.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1554 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoUse logsys_facility_id_get to do the string conversion instead of doing
Steven Dake [Fri, 20 Jun 2008 05:54:11 +0000 (05:54 +0000)]
Use logsys_facility_id_get to do the string conversion instead of doing
it in the openais configuration parser.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1553 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoMessage service implemntation - more apis now supported.
Steven Dake [Fri, 13 Jun 2008 18:36:21 +0000 (18:36 +0000)]
Message service implemntation - more apis now supported.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1552 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoFix linking of other projects against logsys on ppc64.
Steven Dake [Tue, 20 May 2008 16:26:16 +0000 (16:26 +0000)]
Fix linking of other projects against logsys on ppc64.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1550 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoRemove exit when logsys files can't be created.
Steven Dake [Tue, 20 May 2008 16:18:28 +0000 (16:18 +0000)]
Remove exit when logsys files can't be created.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1549 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoFix loading of multiple objects.
Steven Dake [Wed, 14 May 2008 15:48:54 +0000 (15:48 +0000)]
Fix loading of multiple objects.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1547 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoRepair invalid commit.
Steven Dake [Mon, 12 May 2008 15:57:42 +0000 (15:57 +0000)]
Repair invalid commit.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1545 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAdd ckpt service back in from incorrect patch that was committed found during tesitng...
Steven Dake [Mon, 12 May 2008 15:52:11 +0000 (15:52 +0000)]
Add ckpt service back in from incorrect patch that was committed found during tesitng of rpm of 0.83-1.fc10.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1544 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoChange all email addresses that were sdake@mvista.com to sdake@redhat.com.
Steven Dake [Mon, 12 May 2008 13:48:06 +0000 (13:48 +0000)]
Change all email addresses that were sdake@mvista.com to sdake@redhat.com.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1541 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoRepair loading of external services.
Steven Dake [Mon, 12 May 2008 13:45:38 +0000 (13:45 +0000)]
Repair loading of external services.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1540 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoRemove executable permission from flow.c
Steven Dake [Mon, 12 May 2008 13:35:13 +0000 (13:35 +0000)]
Remove executable permission from flow.c

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1539 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoPatch to remove segfault on the exiting of a service.
Steven Dake [Fri, 9 May 2008 16:48:16 +0000 (16:48 +0000)]
Patch to remove segfault on the exiting of a service.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1538 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoPatch to allow controlled exit of a service.
Steven Dake [Fri, 9 May 2008 16:47:21 +0000 (16:47 +0000)]
Patch to allow controlled exit of a service.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1537 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoExpose confdb write to the library.
Patrick Caulfield [Wed, 7 May 2008 07:27:37 +0000 (07:27 +0000)]
Expose confdb write to the library.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1536 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAdd LDFLAGS to libconfdb linking
Patrick Caulfield [Tue, 6 May 2008 09:49:45 +0000 (09:49 +0000)]
Add LDFLAGS to libconfdb linking

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1535 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoExecute a test of the makefile system from Angus
Steven Dake [Mon, 5 May 2008 20:10:44 +0000 (20:10 +0000)]
Execute a test of the makefile system from Angus

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1534 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoApply suggestion from Andrew for srcdir functionality.
Steven Dake [Mon, 5 May 2008 14:14:25 +0000 (14:14 +0000)]
Apply suggestion from Andrew for srcdir functionality.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1533 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAllow make from the exec directory.
Steven Dake [Fri, 2 May 2008 14:17:03 +0000 (14:17 +0000)]
Allow make from the exec directory.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1532 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAllow libconfdb to run standalone (without aisexec)
Patrick Caulfield [Wed, 30 Apr 2008 15:32:25 +0000 (15:32 +0000)]
Allow libconfdb to run standalone (without aisexec)

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1531 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAdd writeback call to objdb
Patrick Caulfield [Wed, 30 Apr 2008 15:32:04 +0000 (15:32 +0000)]
Add writeback call to objdb

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1530 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoFix build error.
Steven Dake [Tue, 29 Apr 2008 10:08:11 +0000 (10:08 +0000)]
Fix build error.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1529 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoload and unload service engines at runtime.
Steven Dake [Mon, 28 Apr 2008 16:25:47 +0000 (16:25 +0000)]
load and unload service engines at runtime.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1528 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoPatch to add new api to logsys to get priority names from subsystem names.
Steven Dake [Mon, 28 Apr 2008 16:00:38 +0000 (16:00 +0000)]
Patch to add new api to logsys to get priority names from subsystem names.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1527 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoChange initialization order for logsys logging to files to work properly.
Steven Dake [Mon, 28 Apr 2008 15:59:35 +0000 (15:59 +0000)]
Change initialization order for logsys logging to files to work properly.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1526 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoFix building on OSX
Steven Dake [Wed, 23 Apr 2008 12:48:44 +0000 (12:48 +0000)]
Fix building on OSX

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1525 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoFix syscall usage for keygen application
Steven Dake [Wed, 23 Apr 2008 12:35:44 +0000 (12:35 +0000)]
Fix syscall usage for keygen application

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1523 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoFix logsys_config_priority_set() so that it sets the priority
Patrick Caulfield [Wed, 23 Apr 2008 10:39:21 +0000 (10:39 +0000)]
Fix logsys_config_priority_set() so that it sets the priority
of the local subsystem and not always "MAIN".

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1522 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoBuild on latest glibc.
Steven Dake [Tue, 22 Apr 2008 14:36:52 +0000 (14:36 +0000)]
Build on latest glibc.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1520 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoPatch to reinitialize logsys internal variables after a fork for correct
Steven Dake [Mon, 21 Apr 2008 15:15:48 +0000 (15:15 +0000)]
Patch to reinitialize logsys internal variables after a fork for correct
operation.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1519 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAdd man pages for confdb functions.
Patrick Caulfield [Thu, 17 Apr 2008 13:14:28 +0000 (13:14 +0000)]
Add man pages for confdb functions.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1518 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoFix some typos in the CPG man pages
Patrick Caulfield [Thu, 17 Apr 2008 09:54:09 +0000 (09:54 +0000)]
Fix some typos in the CPG man pages

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1517 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAdd confdb, a library to access the configuration object database.
Patrick Caulfield [Wed, 16 Apr 2008 12:07:05 +0000 (12:07 +0000)]
Add confdb, a library to access the configuration object database.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1516 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoFix locking in logsys.
Patrick Caulfield [Wed, 16 Apr 2008 10:13:06 +0000 (10:13 +0000)]
Fix locking in logsys.

Patch from Fabio M. Di Nitto <fabbione@fabbione.net>

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1515 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAdd some new calls into objdb.
Patrick Caulfield [Mon, 10 Mar 2008 15:18:12 +0000 (15:18 +0000)]
Add some new calls into objdb.

These allow replacing/removing keys, and deleting a whole object subtree,
iterator functions to enumerate all objects/keys on an object,
and a dump call for debugging.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1505 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoPatch to install liblogsys
Steven Dake [Tue, 8 Jan 2008 05:22:12 +0000 (05:22 +0000)]
Patch to install liblogsys

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1495 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoRemove closing of ttys that slipped in improperly.
Steven Dake [Tue, 8 Jan 2008 05:12:05 +0000 (05:12 +0000)]
Remove closing of ttys that slipped in improperly.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1494 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agosrcdir is not set when realpath & abspath don't work
Steven Dake [Mon, 10 Dec 2007 21:20:01 +0000 (21:20 +0000)]
srcdir is not set when realpath & abspath don't work

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1492 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoForce logging to stderr if the -f flag is specified.
Steven Dake [Mon, 10 Dec 2007 21:09:48 +0000 (21:09 +0000)]
Force logging to stderr if the -f flag is specified.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1491 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAllow multiple config plugins to be loaded at start time and set the config
Steven Dake [Mon, 10 Dec 2007 21:06:12 +0000 (21:06 +0000)]
Allow multiple config plugins to be loaded at start time and set the config
object database objects.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1490 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agofix install broken when O=<DIR> is used
Steven Dake [Wed, 28 Nov 2007 18:54:54 +0000 (18:54 +0000)]
fix install broken when O=<DIR> is used

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1489 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoPatch to make sure make clean works as advertised.
Steven Dake [Wed, 28 Nov 2007 18:52:35 +0000 (18:52 +0000)]
Patch to make sure make clean works as advertised.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1488 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoProperly daemonize and dup file descriptors to /dev/null.
Steven Dake [Wed, 28 Nov 2007 18:31:03 +0000 (18:31 +0000)]
Properly daemonize and dup file descriptors to /dev/null.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1487 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoMake sure to unlock the handle database on a failure condition.
Steven Dake [Wed, 28 Nov 2007 18:05:51 +0000 (18:05 +0000)]
Make sure to unlock the handle database on a failure condition.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1485 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoPatch to set system from field properly in retransmitted messages.
Steven Dake [Wed, 28 Nov 2007 18:04:55 +0000 (18:04 +0000)]
Patch to set system from field properly in retransmitted messages.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1484 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoRemove & when regular reference works properly.
Steven Dake [Wed, 28 Nov 2007 18:03:54 +0000 (18:03 +0000)]
Remove & when regular reference works properly.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1483 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoPatch to not increment the ring seq id on the first operational ring.
Steven Dake [Wed, 28 Nov 2007 18:03:12 +0000 (18:03 +0000)]
Patch to not increment the ring seq id on the first operational ring.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1482 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agomake install now works properly on systems which produce wierd uname results
Steven Dake [Wed, 28 Nov 2007 17:59:52 +0000 (17:59 +0000)]
make install now works properly on systems which produce wierd uname results

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1481 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoadd missing objdb for static build
Fabien Thomas [Thu, 25 Oct 2007 09:46:00 +0000 (09:46 +0000)]
add missing objdb for static build

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1476 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoPatch to provide generic init script that is generically useful for most
Steven Dake [Mon, 22 Oct 2007 16:18:59 +0000 (16:18 +0000)]
Patch to provide generic init script that is generically useful for most
distributions or can be used as a starting point for making a distribution
custom init script.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1475 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoPatch to close all open files on background run operation.
Steven Dake [Mon, 22 Oct 2007 16:16:29 +0000 (16:16 +0000)]
Patch to close all open files on background run operation.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1474 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoFix missing commit from timer.c in trunk.
Steven Dake [Mon, 22 Oct 2007 15:53:45 +0000 (15:53 +0000)]
Fix missing commit from timer.c in trunk.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1472 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoEndian convert downlist messages from cpg.
Steven Dake [Mon, 22 Oct 2007 15:42:36 +0000 (15:42 +0000)]
Endian convert downlist messages from cpg.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1470 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agocorrect ifdef that must be ifndef because under FreeBSD alloca.h is in stdlib.h
Fabien Thomas [Tue, 16 Oct 2007 13:20:24 +0000 (13:20 +0000)]
correct ifdef that must be ifndef because under FreeBSD alloca.h is in stdlib.h

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1468 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoRemove some includes from .h files so they can be installed.
Patrick Caulfield [Wed, 10 Oct 2007 10:33:55 +0000 (10:33 +0000)]
Remove some includes from .h files so they can be installed.
Also install flow.h & ipc.h for external services.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1467 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoFix openais.conf example and man page to match the new logsys directives.
Patrick Caulfield [Wed, 10 Oct 2007 10:28:14 +0000 (10:28 +0000)]
Fix openais.conf example and man page to match the new logsys directives.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1466 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoFix problem where adding a timer in a timer callback would lock system
Steven Dake [Tue, 2 Oct 2007 16:29:33 +0000 (16:29 +0000)]
Fix problem where adding a timer in a timer callback would lock system
and also timer additions were not protected by mutex because of backwards
pthread_equal comparison.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1463 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agosegfault does not use source.conn unless the originating
Steven Dake [Fri, 28 Sep 2007 01:31:34 +0000 (01:31 +0000)]
segfault does not use source.conn unless the originating
request is local. The actual code tries to dereference pointers
created on another node.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1462 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agolock_algo queues lock requests rather than ignoring them if
Steven Dake [Fri, 28 Sep 2007 01:30:50 +0000 (01:30 +0000)]
lock_algo queues lock requests rather than ignoring them if
an exclusive lock is held on a resource. This led to stale
processes trying to acquire an exclusive lock forever.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1461 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoPatch to fix dependencies in build of test programs.
Steven Dake [Fri, 28 Sep 2007 01:08:39 +0000 (01:08 +0000)]
Patch to fix dependencies in build of test programs.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1460 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoFix linking of library objects.
Steven Dake [Thu, 27 Sep 2007 22:16:58 +0000 (22:16 +0000)]
Fix linking of library objects.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1459 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoAllow override of the LCRSO directory from the Makefiles or command line
Steven Dake [Thu, 27 Sep 2007 09:14:02 +0000 (09:14 +0000)]
Allow override of the LCRSO directory from the Makefiles or command line

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1458 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoFix static libs installation logic inversion
Steven Dake [Thu, 27 Sep 2007 09:12:46 +0000 (09:12 +0000)]
Fix static libs installation logic inversion

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1457 fd59a12c-fef9-0310-b244-a6a79926bd2f

16 years agoMakefile system improvements from Angus Salkeld
Steven Dake [Thu, 27 Sep 2007 08:50:17 +0000 (08:50 +0000)]
Makefile system improvements from Angus Salkeld

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1456 fd59a12c-fef9-0310-b244-a6a79926bd2f

17 years agoInstall logsys.h rather than print.h
Patrick Caulfield [Thu, 20 Sep 2007 15:26:52 +0000 (15:26 +0000)]
Install logsys.h rather than print.h

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1454 fd59a12c-fef9-0310-b244-a6a79926bd2f

17 years agoFix reference counting in LCR code. Also fix problem with inability to compile
Steven Dake [Sat, 15 Sep 2007 20:48:31 +0000 (20:48 +0000)]
Fix reference counting in LCR code.  Also fix problem with inability to compile
from the exec directory because PREFIX wasn't defined for lcr_ifact.c.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1451 fd59a12c-fef9-0310-b244-a6a79926bd2f

17 years agoAllow missing spots in the synchronization engine
Steven Dake [Sat, 15 Sep 2007 20:32:36 +0000 (20:32 +0000)]
Allow missing spots in the synchronization engine

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1448 fd59a12c-fef9-0310-b244-a6a79926bd2f

17 years agoFixes the following problems:
Steven Dake [Sat, 15 Sep 2007 20:14:55 +0000 (20:14 +0000)]
Fixes the following problems:
1) the encapsulated and not encapsulated values for multicast messages
are now enumerated instead of magic number.
2) the endian detector is now set for new encapsulated messages intended
for transmission.  previously these messages would use whichever endian
detector value happened to be in memory which could be a) correct endian
b) incorrect endian from another machine byte order message c) junk
values.
3) The retransmission flag is not set by default on new originated
tokens in the recovery state.  Instead it is set based upon whether the
node actually can retransmit any messages.
4) some workaround code was removed that was necessary to make the
system work when #3 was incorrect
5) the my_install_seq and my_aru fields are compared based upon a window
instead of static comparison because it could be that the my_aru is
0xFFFFFF5 where my_install_seq is 5.  In this case (after a lot of
messages are sent) the comparison would return the incorrect result in
the recovery phase of the algorithm.
6) The queue chosen for adding messages to the retransmission queue is
now set based upon the encapsulated bit rather then the current state of
the state machine.
7) the encapsulated bit is set properly in an endian conversion
operation for a multicast message header.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1447 fd59a12c-fef9-0310-b244-a6a79926bd2f

17 years agoAdd missing files from the ais utils exporting patch.
Steven Dake [Tue, 11 Sep 2007 19:27:13 +0000 (19:27 +0000)]
Add missing files from the ais utils exporting patch.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1445 fd59a12c-fef9-0310-b244-a6a79926bd2f

17 years agoCalculate the default path based on the project value of PREFIX
Steven Dake [Sun, 9 Sep 2007 07:00:53 +0000 (07:00 +0000)]
Calculate the default path based on the project value of PREFIX

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1444 fd59a12c-fef9-0310-b244-a6a79926bd2f

17 years agoEnsure DESTDIR and PREFIX are properly used in Makefiles
Steven Dake [Sun, 9 Sep 2007 07:00:13 +0000 (07:00 +0000)]
Ensure DESTDIR and PREFIX are properly used in Makefiles

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1443 fd59a12c-fef9-0310-b244-a6a79926bd2f

17 years agoExpose utils to the user
Steven Dake [Sun, 9 Sep 2007 06:58:41 +0000 (06:58 +0000)]
Expose utils to the user

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1442 fd59a12c-fef9-0310-b244-a6a79926bd2f

17 years agoNow that -l is set correclt yuse #include <header.h> instead of using quotes.
Steven Dake [Sun, 9 Sep 2007 06:57:41 +0000 (06:57 +0000)]
Now that -l is set correclt yuse #include <header.h> instead of using quotes.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1441 fd59a12c-fef9-0310-b244-a6a79926bd2f

17 years agoStatic libraries become out of date on Darwin once they are copied or moved
Steven Dake [Sun, 9 Sep 2007 06:51:39 +0000 (06:51 +0000)]
Static libraries become out of date on Darwin once they are copied or moved

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1440 fd59a12c-fef9-0310-b244-a6a79926bd2f

17 years agoUse makefile loops where possible
Steven Dake [Sun, 9 Sep 2007 06:50:52 +0000 (06:50 +0000)]
Use makefile loops where possible

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1439 fd59a12c-fef9-0310-b244-a6a79926bd2f

17 years agoProvide information as to why a plugin refused to load
Steven Dake [Sun, 9 Sep 2007 06:50:18 +0000 (06:50 +0000)]
Provide information as to why a plugin refused to load

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1438 fd59a12c-fef9-0310-b244-a6a79926bd2f

17 years agoAdd extra brackets to clarify scope.
Steven Dake [Sun, 9 Sep 2007 06:49:43 +0000 (06:49 +0000)]
Add extra brackets to clarify scope.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1437 fd59a12c-fef9-0310-b244-a6a79926bd2f

17 years agoFix build dependencies
Steven Dake [Sun, 9 Sep 2007 06:47:57 +0000 (06:47 +0000)]
Fix build dependencies

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1436 fd59a12c-fef9-0310-b244-a6a79926bd2f

17 years agoIf iface_ver0_p is not reset, then as long as the first plugin loads
Steven Dake [Sun, 9 Sep 2007 06:47:16 +0000 (06:47 +0000)]
If iface_ver0_p is not reset, then as long as the first plugin loads
then all subsequent plugins will report success.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1435 fd59a12c-fef9-0310-b244-a6a79926bd2f