Bug 433515
Summary: | Server setup script should validate hostname and A / PTR dns records | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] freeIPA | Reporter: | Daniel Berrangé <berrange> | ||||||
Component: | ipa-server | Assignee: | Rob Crittenden <rcritten> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Chandrasekar Kannan <ckannan> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | unspecified | CC: | benl | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-09-03 14:34:20 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 429034 | ||||||||
Attachments: |
|
Description
Daniel Berrangé
2008-02-19 19:40:24 UTC
Created attachment 296678 [details]
require DNS A record, match A record to PTR
This gets us most of the way there. What's left is to ensure that the hostname
is configured to an operational ethernet address. I'm not sure how I'm going to
do that.
Committed in changeset 707 Created attachment 297085 [details]
make sure /etc/hosts is sane
More fixes:
Verify that the hostname is correct in /etc/hosts
Fix an issue with reverse lookups on x86_64
Don't ignore exceptions when getting the hostname from the user
Committed /etc/hosts fix in changeset 716 Hi: The ipa install script correctly detects the configed hostname does not match DNS record, and it output some msg as below, ===================================================================== Server host name [wrong.ipaqa.com]: Warning: Hostname (wrong.ipaqa.com) not found in DNS The domain name has been calculated based on the host name. Please confirm the domain name [ipaqa.com]: The IPA Master Server will be configured with Hostname: wrong.ipaqa.com IP address: 172.16.142.140 Domain name: ipaqa.com ================================================================= If user just hit enter, the installation will continue and finish it. My question is: is this a right fix? if it is, then I will close the bug Yi Yes. We warn them that things may not work but if they want to install anyway we can go ahead and let them (maybe they'll setup DNS afterward). this one is fixed. marking bug verified. |