Hi
If corosync can't find the configured group then the log message causes a
segfault.
Note: "group" is NULL.
-Angus
Index: exec/main.c
===================================================================
--- exec/main.c (revision 1708)
+++ exec/main.c (working copy)
@@ -293,7 +293,7 @@
struct group *group;
group = getgrnam (main_config->group);
if (group == 0) {
- log_printf (LOG_LEVEL_ERROR, "ERROR: The '%s' group is not
found in /etc/group, please read the documentation.\n", group->gr_name);
+ log_printf (LOG_LEVEL_ERROR, "ERROR: The '%s' group is not
found in /etc/group, please read the documentation.\n", main_config->group);
corosync_exit_error (AIS_DONE_GID_DETERMINE);
}
gid_valid = group->gr_gid;
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais