[ClusterLabs] Coming in Pacemaker 2.0.4: dependency on monotonic clock for systemd resources

Ken Gaillot kgaillot at redhat.com
Tue Mar 10 13:49:28 EDT 2020


Hi all,

This is not a big deal but I wanted to give a heads-up for anyone who
builds their own pacemaker packages.

With Pacemaker 2.0.4 (first release candidate expected next month), we
are finally replacing our calls to the long-deprecated ftime() system
call with the "modern" clock_gettime().

As part of this, building pacemaker with support for systemd-class
resources will now require that the underlying platform supports
clock_gettime() with CLOCK_MONOTONIC. Every platform we're aware of
that is used for pacemaker does, so this should not be an issue. The
configure script will automatically determine whether support is
available.
-- 
Ken Gaillot <kgaillot at redhat.com>



More information about the Users mailing list