Bug 430019

Summary: ipa-server-install --setup-bind lets you use an hostname which does not match the IP address given
Product: [Retired] freeIPA Reporter: Chandrasekar Kannan <ckannan>
Component: ipa-serverAssignee: Simo Sorce <ssorce>
Status: CLOSED NOTABUG QA Contact: Chandrasekar Kannan <ckannan>
Severity: low Docs Contact:
Priority: low    
Version: 1.0CC: benl, mgregg, rcritten, shillman, ssorce, yzhang
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: 2008-02-26 07:18:51 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: 246164, 429034    

Description Chandrasekar Kannan 2008-01-24 06:55:59 UTC
Ticket #123 (reopened defect)

Opened 2 months ago

Last modified 1 month ago
ipa-server-install --setup-bind lets you use an hostname which does not match the IP address given
Reported by: 	shillman 	Assigned to: 	davido
Priority: 	minor 	Milestone: 	release-1
Component: 	ipa-server 	Version: 	1.0
Keywords: 		Cc: 	
Description ¶

Technically, the hostname gave matches nowhere, to my knowledge, but it seems like it'd be really, really bad to let someone tell the IPA server be a bind server if it cannot match the hostnmae with its IP address.

It's also a bit odd that the hosts file gets edited while one is still in the middle of the script, but seems less dramatically bad.
Change History
2007-12-05 11:41:05 changed by simo ¶

    * priority changed from major to minor.

2007-12-05 21:38:11 changed by shaines ¶

    * owner changed from kmacmill to davido.

Reassigning to David O'Brien. To be documented. DavidO to speak with SuzanneH to clarify.
2007-12-06 09:53:37 changed by shillman ¶

    * status changed from new to closed.
    * resolution set to invalid.

2007-12-06 11:45:17 changed by shillman ¶

    * status changed from closed to reopened.
    * resolution deleted.

If one is setting up

    bind via --setup-bind, why does ipa-server-install even do a check on the hostname one specifies in the first place? I mean, I guess it can't hurt to do, but that is definitely why I got confused.

Ahhh - now that is a good point. And just one of the things on the list of why setup-bind is half-baked. Can you add this to the bug so we don't forget. I don't think it's a show stopper, but always prompting for hostname and not verifying seems like the right thing when --setup-bind is set.

[unclosing so that this doesn't get lost, but I think the bug as is is invalid]
2007-12-20 15:13:43 changed by kmacmill ¶

    * milestone changed from milestone-6 to release-1

Comment 3 Chandrasekar Kannan 2008-02-26 07:18:51 UTC
per bug council on 02/20, closed/notabug