[Pacemaker] About a process name to output in log.

renayama19661014 at ybb.ne.jp renayama19661014 at ybb.ne.jp
Fri Sep 19 07:04:56 UTC 2014


Hi All,

In the log of latest Pacemaker, the name of the lrmd process is output by the name of the pacemaker_remoted process.
We like that log is output by default as lrmd.
These names seem to be changed on a macro.
However, the option which even "configure" command changes this macro to does not seem to exist.

 * lrmd/Makefile.am
(snip)
pacemaker_remoted_CFLAGS= -DSUPPORT_REMOTE
(snip)
 * lrmd/main.c
(snip)
#if defined(HAVE_GNUTLS_GNUTLS_H) && defined(SUPPORT_REMOTE)
#  define ENABLE_PCMK_REMOTE
#endif
(snip)
#ifndef ENABLE_PCMK_REMOTE
    crm_log_preinit("lrmd", argc, argv);
    crm_set_options(NULL, "[options]", long_options,
                    "Daemon for controlling services confirming to different standards");
#else
    crm_log_preinit("pacemaker_remoted", argc, argv);
    crm_set_options(NULL, "[options]", long_options,
                    "Pacemaker Remote daemon for extending pacemaker functionality to remote nodes.");
#endif
(snip)


Please examine the option of the "configure" command to give macro.

Best Regards,
Hideo Yamauchi.





More information about the Pacemaker mailing list