Commit Graph

1436 Commits

Author SHA1 Message Date
Steven Dake
bbb7a141cc Revert incorrect patch.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1578 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-07-14 11:05:13 +00:00
Steven Dake
1c1800dd1b 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
2008-07-14 10:58:28 +00:00
Steven Dake
eef9f0644b 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
2008-07-14 10:55:28 +00:00
Patrick Caulfield
281a9fec2f * 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
2008-07-11 10:35:54 +00:00
Steven Dake
49dd2badad Fix error in a previous logsys patch.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1574 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-07-10 23:52:38 +00:00
Patrick Caulfield
f3256e4198 Add a missing object_find_reset() call.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1573 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-07-07 08:49:21 +00:00
Steven Dake
8ab1d3aa9f 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
2008-07-02 22:58:03 +00:00
Patrick Caulfield
a53b222341 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
2008-07-02 07:19:50 +00:00
Steven Dake
5f31ffa559 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
2008-07-01 22:08:15 +00:00
Patrick Caulfield
e1c909598d 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
2008-07-01 07:23:25 +00:00
Steven Dake
89bd6e3a57 Allow syslog priority configurations per subsystem in logsys.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1568 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-06-24 08:43:53 +00:00
Steven Dake
81d5565256 Remove warnings of unused variables in main.c
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1566 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-06-24 04:54:28 +00:00
Steven Dake
43d7517eb9 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
2008-06-24 04:52:42 +00:00
Steven Dake
0d498c6628 Add #include assert.h to some AMF files.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1564 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-06-24 04:49:29 +00:00
Steven Dake
4cb815a6ce Forward port of the synchronization engine into trunk.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1563 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-06-24 04:46:03 +00:00
Steven Dake
a7f4b6d8cb 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
2008-06-24 04:45:38 +00:00
Steven Dake
9e2376fcc0 Remove totemip.h reference from file.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1561 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-06-24 04:44:45 +00:00
Steven Dake
31779dc311 Remove totemip reference from file.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1560 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-06-24 04:44:36 +00:00
Steven Dake
558fcdc4aa remove totemip.h reference from file.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1559 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-06-24 04:44:21 +00:00
Steven Dake
94391fd19b Fix unlock_algorithm in lock service.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1558 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-06-23 22:44:06 +00:00
Steven Dake
80f4d57d5e 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
2008-06-23 22:42:42 +00:00
Steven Dake
0ed0469113 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
2008-06-23 22:40:44 +00:00
Steven Dake
5068ac3e1d Allow user to retrieve logsys mode.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1555 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-06-20 06:06:56 +00:00
Steven Dake
6d7baee4b0 Remove extra unneeded configuration option from logsys.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1554 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-06-20 06:04:03 +00:00
Steven Dake
addd57e7a3 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
2008-06-20 05:54:11 +00:00
Steven Dake
f323f47343 Message service implemntation - more apis now supported.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1552 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-06-13 18:36:21 +00:00
Steven Dake
d7fdcacc90 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
2008-05-20 16:26:16 +00:00
Steven Dake
1cfebbddca 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
2008-05-20 16:18:28 +00:00
Steven Dake
9dc78ee584 Fix loading of multiple objects.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1547 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-05-14 15:48:54 +00:00
Steven Dake
8f2ec814d1 Repair invalid commit.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1545 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-05-12 15:57:42 +00:00
Steven Dake
7ec44aface 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
2008-05-12 15:52:11 +00:00
Steven Dake
46b0163813 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
2008-05-12 13:48:06 +00:00
Steven Dake
39d574d0bb Repair loading of external services.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1540 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-05-12 13:45:38 +00:00
Steven Dake
b5e1e1a9ea Remove executable permission from flow.c
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1539 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-05-12 13:35:13 +00:00
Steven Dake
475df23583 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
2008-05-09 16:48:16 +00:00
Steven Dake
daaa6eeab0 Patch to allow controlled exit of a service.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1537 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-05-09 16:47:21 +00:00
Patrick Caulfield
fef53eb2c4 Expose confdb write to the library.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1536 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-05-07 07:27:37 +00:00
Patrick Caulfield
cbae863c4b Add LDFLAGS to libconfdb linking
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1535 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-05-06 09:49:45 +00:00
Steven Dake
48ad1d66fb 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
2008-05-05 20:10:44 +00:00
Steven Dake
a316334d31 Apply suggestion from Andrew for srcdir functionality.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1533 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-05-05 14:14:25 +00:00
Steven Dake
b12c024493 Allow make from the exec directory.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1532 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-05-02 14:17:03 +00:00
Patrick Caulfield
1165060e46 Allow libconfdb to run standalone (without aisexec)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1531 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-04-30 15:32:25 +00:00
Patrick Caulfield
87e7ea9c1e Add writeback call to objdb
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1530 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-04-30 15:32:04 +00:00
Steven Dake
37c7b6184b Fix build error.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1529 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-04-29 10:08:11 +00:00
Steven Dake
4ad44b9c86 load and unload service engines at runtime.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1528 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-04-28 16:25:47 +00:00
Steven Dake
c8c2ad6df6 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
2008-04-28 16:00:38 +00:00
Steven Dake
bd54e87e16 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
2008-04-28 15:59:35 +00:00
Steven Dake
25f715574f Fix building on OSX
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1525 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-04-23 12:48:44 +00:00
Steven Dake
70f19eb335 Fix syscall usage for keygen application
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1523 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-04-23 12:35:44 +00:00
Patrick Caulfield
6bc3231549 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
2008-04-23 10:39:21 +00:00