From 211f6c9046ab9b43c7f40e279db7c5595ae70bd1 Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Fri, 7 Dec 2012 16:44:32 +0100 Subject: Stop and disable conflicting time&date services Fedora 16 introduced chrony as default client time&date synchronization service: http://fedoraproject.org/wiki/Features/ChronyDefaultNTP Thus, there may be people already using chrony as their time and date synchronization service before installing IPA. However, installing IPA server or client on such machine may lead to unexpected behavior, as the IPA installer would configure ntpd and leave the machine with both ntpd and chronyd enabled. However, since the OS does not allow both chronyd and ntpd to be running concurrently and chronyd has the precedence, ntpd would not be run on that system at all. Make sure, that user is warned when trying to install IPA on such system and is given a possibility to either not to let IPA configure ntpd at all or to let the installer stop and disable chronyd. https://fedorahosted.org/freeipa/ticket/2974 --- ipapython/platform/fedora18.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ipapython/platform/fedora18.py') diff --git a/ipapython/platform/fedora18.py b/ipapython/platform/fedora18.py index c6d32866..d12bdcad 100644 --- a/ipapython/platform/fedora18.py +++ b/ipapython/platform/fedora18.py @@ -23,7 +23,7 @@ import socket import os from ipapython import ipautil -from ipapython.platform import fedora16 +from ipapython.platform import fedora16, base # All what we allow exporting directly from this module # Everything else is made available through these symbols when they are @@ -44,7 +44,10 @@ from ipapython.platform import fedora16 # and restorecon is installed. __all__ = ['authconfig', 'service', 'knownservices', 'backup_and_replace_hostname', 'restore_context', 'check_selinux_status', - 'restore_network_configuration'] + 'restore_network_configuration', 'timedate_services'] + +# Just copy a referential list of timedate services +timedate_services = list(base.timedate_services) def backup_and_replace_hostname(fstore, statestore, hostname): old_hostname = socket.gethostname() -- cgit