cPanel & WHM Version 94 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

Add support for chrony on el8 systems similar to ntpd for el7

FusedT shared this idea 24 days ago
Open Discussion

/usr/local/cpanel/scripts/rdate that's invoked during upcp needs to be updated to support chrony, which is the only supported time sync util on el8-based systems. Thanks.


if ( ( $sysinfo->{'rpm_dist'} eq 'centos' || $sysinfo->{'rpm_dist'} eq 'rhel' || $sysinfo->{'rpm_dist'} eq 'cloudlinux' ) && $sysinfo->{'rpm_dist_ver'} == 7 ) {
$pid = _detect_systemd_managed_ntpd();

Comments (2)

photo
1

On CentOS, CloudLinux, and AlmaLinux version 8 systems, scripts/rdate calls /usr/local/cpanel/bin/rdate to sync the system time. Neither chrony nor ntp are needed.

photo
1

Correct, but we BLOCK outbound traffic and don't need rdate. rdate script needs to be updated to skip its check if chrony is installed, like it's doing currently when there's ntpd installed.

photo
1

Ok, that makes sense. You're asking for us to add detection of chrony to scripts/rdate on CentOS, Alma, etc version 8 systems.

photo
1

Yes, we do. Otherwise it takes 2 mins for it to timeout during nightly upcp. Thanks.

photo
Leave a Comment
 
Attach a file