Hello, I'm configuring ipa server on CentOS 6.5 and I notice that when the ipa-server-install command configures ntp.conf it puts inside "rhel" for pool of ntp servers instead of "centos".
### Added by IPA Installer ### server 0.rhel.pool.ntp.org server 1.rhel.pool.ntp.org server 2.rhel.pool.ntp.org
The rpm involved is ipa-server-3.0.0-37.el6.x86_64 and the file involved is /usr/lib/python2.6/site-packages/ipaserver/install/ntpinstance.py
where there is this if conditional statement
# 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"
So I think this should be changed in something like
os = "" if ipautil.file_exists("/etc/fedora-release"): os = "fedora" elif ipautil.file_exists("/etc/centos-release"): os = "centos"
What do you think? Possibly valid for rhel 7 too, but not already tested.
Gianluca
Hi,
thanks for keeping the eyes open. This is allready at bugs.centos.org at issue 6957. Will try to check that for C7.
Thanks and cheers Christoph
Gianluca Cecchi gianluca.cecchi@gmail.com hat am 26. Juni 2014 um 11:50 geschrieben:
Hello, I'm configuring ipa server on CentOS 6.5 and I notice that when the ipa-server-install command configures ntp.conf it puts inside "rhel" for pool of ntp servers instead of "centos".
### Added by IPA Installer ### serverhttp://0.rhel.pool.ntp.org serverhttp://1.rhel.pool.ntp.org serverhttp://2.rhel.pool.ntp.org
The rpm involved is ipa-server-3.0.0-37.el6.x86_64 and the file involved is /usr/lib/python2.6/site-packages/ipaserver/install/ntpinstance.py
where there is this if conditional statement
# 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"
So I think this should be changed in something like
os = "" if ipautil.file_exists("/etc/fedora-release"): os = "fedora" elif ipautil.file_exists("/etc/centos-release"): os = "centos"
What do you think? Possibly valid for rhel 7 too, but not already tested.
Gianluca
CentOS-devel mailing list CentOS-devel@centos.org http://lists.centos.org/mailman/listinfo/centos-devel
-- Christoph Galuschka CentOS-QA member | IRC: tigalch
On 06/26/2014 10:54 AM, Christoph.Galuschka wrote:
Hi,
thanks for keeping the eyes open. This is allready at bugs.centos.org at issue 6957. Will try to check that for C7.
Thanks and cheers Christoph
Gianluca Cecchi gianluca.cecchi@gmail.com hat am 26. Juni 2014 um 11:50 geschrieben:
Hello, I'm configuring ipa server on CentOS 6.5 and I notice that when the ipa-server-install command configures ntp.conf it puts inside "rhel" for pool of ntp servers instead of "centos".
### Added by IPA Installer ### server 0.rhel.pool.ntp.org http://0.rhel.pool.ntp.org server 1.rhel.pool.ntp.org http://1.rhel.pool.ntp.org server 2.rhel.pool.ntp.org http://2.rhel.pool.ntp.org
I wonder if its possible for us to setup a block-filter on the release process to prevent pushing an rpm that has outstanding issue reports against it.
That way we can make sure this is fixed in the next release for the component, and/or we can make sure this gets addressed in the next 6 iso release.
- KB
Gianluca Cecchi gianluca.cecchi@gmail.com hat am 26. Juni 2014 um 11:50 geschrieben:
Hello, I'm configuring ipa server on CentOS 6.5 and I notice that when the ipa-server-install command configures ntp.conf it puts inside "rhel" for pool of ntp servers instead of "centos".
### Added by IPA Installer ### serverhttp://0.rhel.pool.ntp.org serverhttp://1.rhel.pool.ntp.org serverhttp://2.rhel.pool.ntp.org
The rpm involved is ipa-server-3.0.0-37.el6.x86_64 and the file involved is /usr/lib/python2.6/site-packages/ipaserver/install/ntpinstance.py
where there is this if conditional statement
# 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"
So I think this should be changed in something like
os = "" if ipautil.file_exists("/etc/fedora-release"): os = "fedora" elif ipautil.file_exists("/etc/centos-release"): os = "centos"
What do you think? Possibly valid for rhel 7 too, but not already tested.
I just checked with C7-QA, and that issue is there as well. I filed the bug #7257 against C7-QA to track this.
Thanks
Christoph
-- Christoph Galuschka CentOS-QA member | IRC: tigalch
Am 26.06.2014 11:50, schrieb Gianluca Cecchi:
Hello, I'm configuring ipa server on CentOS 6.5 and I notice that when the ipa-server-install command configures ntp.conf it puts inside "rhel" for pool of ntp servers instead of "centos".
### Added by IPA Installer ### server 0.rhel.pool.ntp.org http://0.rhel.pool.ntp.org server 1.rhel.pool.ntp.org http://1.rhel.pool.ntp.org server 2.rhel.pool.ntp.org http://2.rhel.pool.ntp.org
The rpm involved is ipa-server-3.0.0-37.el6.x86_64 and the file involved is /usr/lib/python2.6/site-packages/ipaserver/install/ntpinstance.py
where there is this if conditional statement
# 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"
So I think this should be changed in something like
os = "" if ipautil.file_exists("/etc/fedora-release"): os = "fedora" elif ipautil.file_exists("/etc/centos-release"): os = "centos"
What do you think? Possibly valid for rhel 7 too, but not already tested.
this has now been fixed for C7, and will be fixed for C6 with the next update of ipa-server.
Cheers Christoph