Re: /etc/hosts and system entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2007-09-27 at 10:10 -0400, Simo Sorce wrote:
> On Thu, 2007-09-27 at 10:02 -0400, David Cantrell wrote:
> > On Thu, 27 Sep 2007 09:59:16 -0400
> > Harry Hoffman <hhoffman@xxxxxxxxxxxxxxxx> wrote:
> > 
> > > So, /etc/hosts comes setup by default (i.e. after kickstart install)
> > > 
> > > # Do not remove the following line, or various programs
> > > # that require network functionality will fail.
> > > 127.0.0.1               localhost.localdomain localhost
> > > 
> > > I'm fairly certain to not too long ago (redhat-9 perhaps) the hostname 
> > > of the system was also added to the localhost entry:
> > > 
> > > 127.0.0.1  my.host.com my localhost.localdomain localhost
> > > 
> > > 
> > > This had the distinct advantage that when apps (i.e. yum-updatesd) sent 
> > > mail from the system via a mail host then address would appear as:
> > > root@xxxxxxxxxxx  instead of root@xxxxxxxxxxxxx
> > > 
> > > Am I remembering correctly, in terms of how I believe it used to be? If 
> > > so, anyone know why it changed?
> > 
> > https://bugzilla.redhat.com/show_bug.cgi?id=253979
> > 
> > Fixed in rawhide.
> > 
> > Why it changed...don't know, but I'll take the blame since I'm responsible for a lot of the network gutting and rewriting in anaconda.  Most likely a mistake on my part.
>
> Please, PLEASE, reconsider.
> I've long hated this thing of assigning the hostname to 127.0.0.1, it
> always breaks when using kerberos/winbindd as the hostname needs to
> reflect the public facing ip.

Why is this not a bug in kerberos?  If the application knows that the IP
address it wants for the name needs to be globally routable, then the
application should be responsible for walking the list of IPs for that
name to find the routable ones.

- ajax

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux