diff options
author | Martin Babinsky <mbabinsk@redhat.com> | 2015-03-30 12:29:04 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-07-20 14:19:08 +0000 |
commit | 1ec174b92d2a734bd5859689bc67de5974270b06 (patch) | |
tree | e1c4384c88b8defa39ddd596dd39525e3f15c12c /ipa-client/ipa-install/ipa-client-install | |
parent | 37b1af9a7cea72f41ac468ab80259f39b0a7b3db (diff) | |
download | freeipa-1ec174b92d2a734bd5859689bc67de5974270b06.tar.gz freeipa-1ec174b92d2a734bd5859689bc67de5974270b06.tar.xz freeipa-1ec174b92d2a734bd5859689bc67de5974270b06.zip |
enable debugging of ntpd during client installation
When installing IPA client in debug mode, the ntpd command spawned during
initial time-sync with master KDC will also run in debug mode.
https://fedorahosted.org/freeipa/ticket/4931
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipa-client/ipa-install/ipa-client-install')
-rwxr-xr-x | ipa-client/ipa-install/ipa-client-install | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install index a1564583c..96b30b486 100755 --- a/ipa-client/ipa-install/ipa-client-install +++ b/ipa-client/ipa-install/ipa-client-install @@ -2388,12 +2388,13 @@ def install(options, env, fstore, statestore): ntp_servers = options.ntp_servers for s in ntp_servers: - synced_ntp = ipaclient.ntpconf.synconce_ntp(s) + synced_ntp = ipaclient.ntpconf.synconce_ntp(s, options.debug) if synced_ntp: break if not synced_ntp and not options.ntp_servers: - synced_ntp = ipaclient.ntpconf.synconce_ntp(cli_server[0]) + synced_ntp = ipaclient.ntpconf.synconce_ntp(cli_server[0], + options.debug) if not synced_ntp: root_logger.warning("Unable to sync time with NTP " + "server, assuming the time is in sync. Please check " + |