https://bugzilla.novell.com/show_bug.cgi?id=824141 https://bugzilla.novell.com/show_bug.cgi?id=824141#c3 --- Comment #3 from Carlos Robinson <carlos.e.r@opensuse.org> 2013-06-12 12:30:41 UTC --- (In reply to comment #2)
Any idea why Postfix is looking in /etc/hosts in the first place? Would binding 127.0.0.2 explicitly fix things?
The test about "Does the machine have a network interface with IP address 127.0.0.2" seems to miss the entire point that every machine, per RFC, binds the entire class A 127.x.x.x network to the loopback (lo) address by default, as shown here:
Well, that surpasses my capacities, you would have to take it with the postfix people (local maintainers or upstream) :-) What I know is that the line: 127.0.0.2 some_host.some_domain some_host in hosts, combined with the line: inet_interfaces = $myhostname, localhost in postfix/main.cf causes this error in postfix: fatal: parameter inet_interfaces: no local interface found for 127.0.0.2 My reading is that "$myhostname" gets translated to some_host.some_domain, and this to 127.0.0.2, and this back to "localhost" (the entire 127 range).
Because of this, as well as the proper function of 99% of applications out there, this feels like a bug in Postfix. I still agree that, like in SLE, the default to write the hostname to the loopback address is a bug because it was implemented to work around other products' bugs, but in the end fixing this is missing the point.
I have read that it also breaks ntp, samba, ldap... the reports that should explain this are closed to me, I have no permissions to read them, so I can't argue those points (per the feature request initial post). On the other hand, I read that sendmail needs this line. What I would propose is a compromise: as there is a tick box to enable/disable this in YaST network configuration module, that tick box should display a text explaining what it does, and what breaks either way, so that if we get hit by the problems we know where they come from and we don't need to google it ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.