View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007257 | CentOS-7 | ipa-server | public | 2014-06-26 11:14 | 2014-06-26 14:13 |
Reporter | tigalch | Assigned To | |||
Priority | normal | Severity | text | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x64 | OS | Linux | OS Version | C7-QA |
Summary | 0007257: The ipa-server-install scripts adds the redhat ntp servers to /etc/ntp.conf | ||||
Description | The IPA server is installed from the command ipa-server-install. This gather details and then configures the system suitable to run IPA. One of the things necessary is a valid time source due to the use of kerberos. As part of the install ipa-server-install appends this to /etc/ntp.conf: ### Added by IPA Installer ### server 0.rhel.pool.ntp.org server 1.rhel.pool.ntp.org server 2.rhel.pool.ntp.org server 127.127.1.0 fudge 127.127.1.0 stratum 10 The original server entries are removed during this process. | ||||
Steps To Reproduce | 1) Get a minimal install of C6 2) yum install bind-dyndb-ldap ipa-server libsss_sudo 3) hostname notlocalhost.domain.local 4) echo "$(ip a s dev eth0 | awk '$0 ~ /scope global eth0/ {print $2}' | cut -d'/' -f 1) $(hostname)" >> /etc/hosts 5) ipa-server-install -U --hostname=notlocalhost.domain.local --ip-address=$(ip a s dev eth0 | awk '$0 ~ /scope global eth0/ {print $2}' | cut -d'/' -f 1) -r DOMAIN.LOCAL -n c6ipa.local -p p455w0rd -a p455w0rd --ssh-trust-dns --setup-dns --forwarder=$(awk '$0 ~ /nameserver/ {print $2}' /etc/resolv.conf | head -n 1) 6) grep rhel /etc/ntp.conf | ||||
Additional Information | The installer is a python script and the bit that writes the ntp info is in /usr/lib/python2.6/site-packages/ipaserver/install/ntpinstance.py # We use the OS variable to point it towards either the rhel # or fedora pools. Other distros should be added in the future # or we can get our own pool. os = "" if ipautil.file_exists("/etc/fedora-release"): os = "fedora" elif ipautil.file_exists("/etc/redhat-release"): os = "rhel" srv_vals = [] srv_vals.append("0.%s.pool.ntp.org" % os) srv_vals.append("1.%s.pool.ntp.org" % os) srv_vals.append("2.%s.pool.ntp.org" % os) srv_vals.append("127.127.1.0") fudge = ["fudge", "127.127.1.0", "stratum", "10"] Should be a pretty clean patch that'd be easy to apply to future updates. | ||||
Tags | No tags attached. | ||||
abrt_hash | |||||
URL | |||||
related to | 0006957 | resolved | JohnnyHughes | CentOS-6 | The ipa-server-install scripts adds the redhat ntp servers to /etc/ntp.conf |
This has been built and will be rolled into the next published tree: http://buildlogs.centos.org/c7.00.04/ipa/20140626125338/3.3.3-28.el7.centos.x86_64/ Please test |
|
Confirmed to be fixed with this build | |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-06-26 11:14 | tigalch | New Issue | |
2014-06-26 11:14 | tigalch | Relationship added | related to 0006957 |
2014-06-26 11:15 | tigalch | Status | new => confirmed |
2014-06-26 13:26 | JohnnyHughes | Note Added: 0020053 | |
2014-06-26 14:00 | tigalch | Note Added: 0020054 | |
2014-06-26 14:13 | tigalch | Status | confirmed => resolved |
2014-06-26 14:13 | tigalch | Resolution | open => fixed |