Description of problem: In the current default provisioning templates there is a step to do an initial time sync using ntpdate:
#update local time
echo "updating system time"
/usr/sbin/ntpdate -sub <%= host_param('ntp-server') || '0.fedora.pool.ntp.org' %>
In order for this to work the ntp package is also installed in the %packages system since is not install in rhel by default.
From my understanding this line is just to do a quick initial sync. chronyd has an option to do this .
Most of our docs are (or are being updated to) prefer chrony .
So rather then install the ntp package to just use ntpdate once, we should probably consider using the 'chronyd -q' option.
Generally agree best to run the ntp update through a package provided by default rather than installing ntp.
Created redmine issue https://projects.theforeman.org/issues/24290 from this bug
Upstream bug assigned to email@example.com
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/24290 has been resolved.
Verified fix in sat 6.6 snap 11
Provisioned a RHEL 8 box and it used chronyd to do an initial timesync.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.