<div dir="ltr">Hi,<div><br></div><div>I am verifying the operation of the cluster with RHEL8.<br>In the verification, I noticed that resource-agents log was not output to /var/log/pacemaker/pacemaker.log.<br>"/etc/sysconfig/pacemaker" is used by default.<br><br>I know that resource-agents logs are output when passing the HA_logfile environment variable.<br>Pacemaker on RHEL7 has confirmed that this environment variable is set.<br>```<br># cat /proc/$(pidof /usr/libexec/pacemaker/lrmd)/environ | tr '\0' '\n' | sort<br>HA_LOGD=no<br>HA_LOGFACILITY=daemon<br>HA_cluster_type=corosync<br>HA_debug=0<br>HA_logfacility=daemon<br>HA_logfile=/var/log/cluster/corosync.log<br>HA_mcp=true<br>HA_quorum_type=corosync<br>HA_use_logd=off<br>LANG=ja_JP.UTF-8<br>LC_ALL=C<br>NOTIFY_SOCKET=/run/systemd/notify<br>PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin<br>PCMK_cluster_type=corosync<br>PCMK_debug=0<br>PCMK_logfacility=daemon<br>PCMK_logfile=/var/log/cluster/corosync.log<br>PCMK_mcp=true<br>PCMK_quorum_type=corosync<br>PCMK_service=pacemakerd<br>PCMK_use_logd=off<br>PCMK_watchdog=false<br>VALGRIND_OPTS=--leak-check=full --tresource-agentsce-children=no --vgdb=no --num-callers=25 --log-file=/var/lib/pacemaker/valgrind-%p --suppressions=/usr/share/pacemaker/tests/valgrind-pcmk.suppressions --gen-suppressions=all<br>```<br><br>However, it seems that this environment variable is not set in RHEL8.<br>```<br># cat /proc/$(pidof /usr/libexec/pacemaker/pacemaker-execd)/environ | tr '\0' '\n' | sort<br>HA_LOGFACILITY=daemon<br>HA_cluster_type=corosync<br>HA_debug=0<br>HA_logfacility=daemon<br>HA_mcp=true<br>HA_quorum_type=corosync<br>INVOCATION_ID=6204f0841b814f6c92ea20db02b8ec9e<br>JOURNAL_STREAM=9:1314759<br>LANG=ja_JP.UTF-8<br>LC_ALL=C<br>NOTIFY_SOCKET=/run/systemd/notify<br>PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin<br>PCMK_cluster_type=corosync<br>PCMK_debug=0<br>PCMK_logfacility=daemon<br>PCMK_mcp=true<br>PCMK_quorum_type=corosync<br>PCMK_service=pacemakerd<br>PCMK_watchdog=false<br>SBD_DELAY_START=no<br>SBD_OPTS=<br>SBD_PACEMAKER=yes<br>SBD_STARTMODE=always<br>SBD_TIMEOUT_ACTION=flush,reboot<br>SBD_WATCHDOG_DEV=/dev/watchdog<br>SBD_WATCHDOG_TIMEOUT=5<br>VALGRIND_OPTS=--leak-check=full --tresource-agentsce-children=no --vgdb=no --num-callers=25 --log-file=/var/lib/pacemaker/valgrind-%p --suppressions=/usr/share/pacemaker/tests/valgrind-pcmk.suppressions --gen-suppressions=all<br>```<br><br>Is this the intended behavior?<br><br>By the way, when /var/log/pacemaker/pacemaker.log is explicitly set in the PCMK_logfile, it is confirmed that the resource-agents log is output to the file set in the PCMK_logfile.<div><br></div><div>Regards,</div><div>Yusuke</div></div></div>