Bug 212343

Summary: postfix complains about not finding localhost during install
Product: [Fedora] Fedora Reporter: Alexander Boström <abo>
Component: postfixAssignee: Thomas Woerner <twoerner>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
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: 2007-07-31 13:34:24 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: 223428    
Bug Blocks:    

Description Alexander Boström 2006-10-26 13:48:51 UTC
Description of problem:

"yum install postfix" outputs this:

  Installing: postfix                      ######################### [1/1] 
postfix: fatal: config variable inet_interfaces: host not found: localhost

Version-Release number of selected component (if applicable):
postfix.i386 2:2.3.3-2

Steps to Reproduce:
1. Install FC6
2. yum install postfix
  
Additional info:
I did rpm -e postfix, changed "::1" to "127.0.0.1" in /etc/hosts and reinstalled
postfix, and the error message did not occur this time.

Comment 1 Thomas Woerner 2007-07-31 13:34:24 UTC
You have to have both entries in /etc/hosts:
127.0.0.1               localhost.localdomain localhost
::1             localhost.localdomain localhost

Closing as not a bug.

Comment 2 Alexander Boström 2007-07-31 13:39:28 UTC
Hmm... Maybe I should have filed this for anaconda instead. I'll reopen it if I
find that I can reproduce it in F7 or Fdevel.