Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1360649

Summary: ipa-server-install --uninstall does not restore ntp.conf
Product: Red Hat Enterprise Linux 8 Reporter: Pavel Picka <ppicka>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Kaleem <ksiddiqu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: frenaud, pasik, pvoborni, rcritten, tdudlak, tscherf, twoerner
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-08 15:16:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
log of install and uninstall with cat ntp.conf none

Description Pavel Picka 2016-07-27 08:55:08 UTC
Created attachment 1184544 [details]
log of install and uninstall with cat ntp.conf

Description of problem:
ipa-server-install --uninstall  does not restore /etc/ntp.conf and let lines inside it added by ipa install


Version-Release number of selected component (if applicable):

4.4.0-3

How reproducible:

locally & automated 


Steps to Reproduce:
1.ipa-server-install
2.ipa-server-install --uninstall
3.tail /etc/ntp.conf

Actual results:
### Added by IPA Installer ###
server 127.127.1.0 iburst
fudge 127.127.1.0 stratum 10


Expected results:
no lines as in Actual results

Additional info:

Comment 2 Petr Vobornik 2016-08-03 11:18:12 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/6163

Comment 5 Tibor Dudlák 2018-05-09 07:49:35 UTC
This has been resolved upstream master:

* bfb544adfdc423fd383fdf7c86a9f6c497ae3750 Removes ntp from dependencies and behave as there is always -N option
* 0090a90ba2ed3b4cba1c86996b352828cc5403a7 Add dependency and paths for chrony
* ca9c4d70a0043152274dfbe7cbb1bb8a1465000a Replace ntpd with chronyd in installation
* fb28dfff93b382207635eaa776eb31f99b0f5b2f FreeIPA server is time synchronization client only
* 194518f11fde9d3a3bc449baa019bb536ac9cd31 Add --ntp-pool option to installers
* 5d9c749e830819e0e12bdd9388b6b0c2542cf906 Adding method to ipa-server-upgrade to cleanup ntpd
* 333acf1ab6dc710d05e1978f72775c77fbef00c7 Update man pages for FreeIPA client, replica and server install
* ece56ea69a24279d416ec2d6c13e06949001534a Removes NTP server role from servroles and description
* dba87a47a7df092a1044c116ef9e7590ebdc8b62 Remove NTP server role while upgrading
* 74c2b46cde5bd332bd2ea95854cdb6178c72857d Remove unnecessary option --force-chrony
* 878cbaa232145540f5db7559b2bc317f065f2636 Add enabling chrony daemon when not configured
* e279d891fe63043bfa6226c59525036670a464f6 Configure chrony with pool when server not set

Comment 8 Thomas Woerner 2019-08-08 15:16:21 UTC
This has been fixed already in IPA 4.7.X in RHEL 8.0.