Skip to content

Pacemaker 3.0.4 - Release Candidate 1

Pre-release
Pre-release

Choose a tag to compare

@clumens clumens released this 04 Dec 15:17
49ef508

Pacemaker-3.0.4 (02 Dec 2026)

  • 1087 commits with 428 files changed, 18829 insertions(+), 14344 deletions(-)

Features added since Pacemaker-3.0.3

  • libcib: Assert on allocation error when creating new cib_t
  • libcrmcommon: Add support for compression to remote messages.
  • libcrmcommon: Assert on memory error in mainloop_add_fd()
  • libcrmcommon: crm_time_parse_period requires years in [1, 9999]
  • libcrmcommon: decode_transition_magic() validates more strictly
  • libcrmcommon: Drop support for PCMK_ipc_type env variable
  • libcrmcommon: mainloop_add_ipc_server{,_with_prio} ignores type argument
  • tools: crm_rule requires dates to have year between 1 and 9999

Fixes since Pacemaker-3.0.3

  • fencer: Avoid use-after-free in debug log
    ( regression introduced by 3.0.2 )
  • controller, lrmd: Check for watchdog-based self-fencing device only if "fencing-watchdog-timeout" is enabled
    ( regression introduced by 3.0.2 )
  • based: Destroy remote listeners in based_remote_cleanup()
  • based: Drop remote clients during shutdown
  • based: Fix a segfault in cib_process_command
  • based: Fix handling of intermediate transaction results
  • based: Fix memory leak in remote listeners
  • based: Free digest_timer on exit
  • based: Free ping_digest on exit
  • based: Free remote client if TLS session creation fails
  • based: Ignore ping reply if we're no longer DC
  • based: Move based_ipc_cleanup() call to based_terminate()
  • build: Check for NCURSES_CONST macro definition
  • build: Ignore curses library unless it's ncurses
  • Build: Use -std=c99 with cov-build
  • controller: Avoid double-free from fail_pending_op()
  • controller: Don't record a failed CIB sync for a lost node
  • controller: Offer the DC itself when an unknown node joins
  • controller: Restart the join if the CIB sync source is gone
  • cts-lab: Fix corosync-ignore pattern for CPG API connection failed
  • cts: Call test_list() only once
  • daemons: Check rsc_id for NULL in handle_lrm_delete
  • devel: Provide a model of g_clear_pointer() for Coverity
  • fenced: Prevent segfault by not merging with in-flight fencing actions
  • fencer: Refresh CIB in case of old diff
  • libcib: Avoid assertion when processing a shutdown request
  • libcib: Avoid memory leak in processing CIB file commit transaction
  • libcib: Move CIB op input transformation to ops that need it
  • libcib: Prevent based or cibadmin from crashing when handling an XPath query for an attribute
  • libcrmcluster: Add missing glib.h include to compat.h
  • libcrmcluster: Check peer name lengths before copying.
  • libcrmcluster: NULL to pcmk_cluster_disconnect() returns EINVAL
  • libcrmcluster: Validate CPG message size before using its fields
  • libcrmcommon: Add ability to parse valid ISO 8601 YYYY format
  • libcrmcommon: Avoid crm_ipc_read() overflow for multipart messages
  • libcrmcommon: Avoid integer overflow in pcmk_parse_interval_spec()
  • libcrmcommon: Avoid integer overflow in xml_create_patchset()
  • libcrmcommon: Avoid memory leak when creating alert recipient entry
  • libcrmcommon: Avoid overflow in crm_time_add_hours()
  • libcrmcommon: Avoid overflow in crm_time_add_minutes()
  • libcrmcommon: Avoid overflow in crm_time_add_weeks()
  • libcrmcommon: Check for a NULL msg buffer earlier.
  • libcrmcommon: Clear remaining attrs' flags in commit_attr_deletions
  • libcrmcommon: Don't assert in crm_ipc_read()
  • libcrmcommon: Don't set signo to SIGCHLD for waitpid() ECHILD
  • libcrmcommon: Don't set signo/exitcode for nonpositive child->pid
  • libcrmcommon: Drop "" fallback in show_xml_element()
  • libcrmcommon: Fix child_waitpid() return values
  • libcrmcommon: Fix core dumped logic in child_waitpid()
  • libcrmcommon: Fix Coverity check_after_deref false positive
  • libcrmcommon: Free/NULL client buffer at start of crm_ipc_read()
  • libcrmcommon: Handle multipart messages in internal_ipc_get_reply()
  • libcrmcommon: Handle NULL argument in pcmk_copy_time()
  • libcrmcommon: Improve crm_time_get_seconds() for durations
  • libcrmcommon: Make sure a completed IPC message is null terminated.
  • libcrmcommon: Make the server eviction check more restrictive.
  • libcrmcommon: NULL-check nodepriv in pcmk__xml_position()
  • libcrmcommon: NULL-check pcmk__main_loop_timer_{stop,running}() arg
  • libcrmcommon: Reject malformed paths in v2 patchset changes
  • libcrmcommon: Suppress INCOMPLETE_DEALLOCATOR false positive
  • libcrmcommon: Use a separate receive buffer for IPC events.
  • libcrmcommon: Use uid_t for uid_cluster in pcmk__new_client()
  • libcrmcommon: Validate IPC payload size against message size
  • libcrmcommon: Zero-check timeout in pcmk__main_loop_child_create()
  • libpe_status: Clear unique flag on setting nreplicas_per_host to 1
  • libpe_status: Fix a memory leak in create_fake_resource
  • python: Add "-o StrictHostKeyChecking=off" to ssh/scp args.
  • python: Don't pass the ssh command to rsh.call.
  • tools: Use g_spawn_sync in cibsecret.

Public API changes since Pacemaker-3.0.3

  • libcib: Deprecate cib_api_operations_t:sync
  • libcib: Deprecate cib_command_nonblocking
  • libcrmcommon: Deprecate crm_time_add()
  • libcrmcommon: Deprecate crm_time_add_days()
  • libcrmcommon: Deprecate crm_time_add_hours()
  • libcrmcommon: Deprecate crm_time_add_minutes()
  • libcrmcommon: Deprecate crm_time_add_months()
  • libcrmcommon: Deprecate crm_time_add_seconds()
  • libcrmcommon: Deprecate crm_time_add_weeks()
  • libcrmcommon: Deprecate crm_time_add_years()
  • libcrmcommon: Deprecate crm_time_as_string()
  • libcrmcommon: Deprecate crm_time_calculate_duration()
  • libcrmcommon: Deprecate crm_time_compare()
  • libcrmcommon: Deprecate crm_time_epoch
  • libcrmcommon: Deprecate crm_time_free()
  • libcrmcommon: Deprecate crm_time_free_period()
  • libcrmcommon: Deprecate crm_time_get_gregorian()
  • libcrmcommon: Deprecate crm_time_get_ordinal()
  • libcrmcommon: Deprecate crm_time_get_seconds()
  • libcrmcommon: Deprecate crm_time_get_seconds_since_epoch()
  • libcrmcommon: Deprecate crm_time_get_timeofday()
  • libcrmcommon: Deprecate crm_time_is_defined()
  • libcrmcommon: Deprecate crm_time_log_date
  • libcrmcommon: Deprecate crm_time_log_duration
  • libcrmcommon: Deprecate crm_time_log_timeofday
  • libcrmcommon: Deprecate crm_time_log_with_timezone
  • libcrmcommon: Deprecate crm_time_new_undefined()
  • libcrmcommon: Deprecate crm_time_ordinal
  • libcrmcommon: Deprecate crm_time_parse_duration()
  • libcrmcommon: Deprecate crm_time_parse_period()
  • libcrmcommon: Deprecate crm_time_period_t
  • libcrmcommon: Deprecate crm_time_seconds
  • libcrmcommon: Deprecate crm_time_subtract()
  • libcrmcommon: Deprecate crm_time_usecs
  • libcrmcommon: Deprecate crm_time_weeks
  • libcrmcommon: Deprecate mainloop_child_t API
  • libcrmcommon: Deprecate mainloop_timer_t API
  • libcrmcommon: Deprecate pcmk_acl_required()
  • libcrmcommon: Deprecate pcmk_copy_time()
  • libcrmcommon: Deprecate pcmk_rc_diff_resync, pcmk_err_diff_resync
  • libcrmcommon: Deprecate xml_acl_denied()
  • libcrmcommon: Deprecate xml_acl_filtered_copy()
  • libcrmcommon: did_rsc_op_fail() argument is now const
  • liblrmd: lrmd_copy_event() argument is now const
  • liblrmd: lrmd_event_data_t char * members are now non-const
  • libpacemaker: pcmk_free_injections() calls free instead of g_free