Description of problem:
After running ipa-client-install on a system when ntpdate has already been
configured using /etc/ntp/step-tickers, both ntpd and ntpdate are enabled after
enrollment. This means that during system boot first ntpdate is run (using the
non-IPA servers from step-tickers) and the ntpd is started which is using the
configuration from ntp.conf with IPA settings.
Also, after running ipa-client-install --uninstall, ntpd is left enabled even
though it was not enabled before enrolling the system.
Version-Release number of selected component (if applicable):
RHEL 6.1 / IPA 2.1
What would you prefer: using step-tickers to setup ntpd sources or replacing step-tickers with ntpd's sources?
Both ntpdate and ntpd can run together. In fact, if step-tickers exist, ntpd will use ntpdate to update initial time and then will start itself.
I decided to backup step-tickers during install and restore them during uninstall.
Patch submitted for review.
Fix restored variable assignment:
Metadata Update from @mkosek:
- Issue assigned to abbra
- Issue set to the milestone: FreeIPA 2.1.2 (bug fixing)
to comment on this ticket.