#1770 ipa-client-install mishandles ntp service configuration
Closed: Fixed None Opened 10 years ago by mkosek.


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:

master: c76bbd5[[BR]]
ipa-2-1: 92ee5ee

Metadata Update from @mkosek:
- Issue assigned to abbra
- Issue set to the milestone: FreeIPA 2.1.2 (bug fixing)

5 years ago

Login to comment on this ticket.