[Bug 481] New: /etc/hosts files: the hostname shouldn't be "www"

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Sun Jan 26 03:36:02 PST 2003


http://bugs.linuxfromscratch.org/show_bug.cgi?id=481

           Summary: /etc/hosts files: the hostname shouldn't be "www"
           Product: Linux From Scratch
           Version: CVS
          Platform: PC
               URL: http://www.linuxfromscratch.org/view/cvs/chapter07/hosts
                    .html
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: Book
        AssignedTo: lfs-book at linuxfromscratch.org
        ReportedBy: stefankrah at bigfoot.com
         QAContact: lfs-book at linuxfromscratch.org


In the sample /etc/hosts files the following lines appear:

======================================================================
127.0.0.1 www.mydomain.com <value of HOSTNAME> localhost

192.168.1.1 www.mydomain.org <value of HOSTNAME>
=======================================================================


In both instances "www" should be replaced by "<value of HOSTNAME>":

========================================================================
127.0.0.1  <value of HOSTNAME>.mydomain.com <value of HOSTNAME>

192.168.1.1 <value of HOSTNAME>.mydomain.org <value of HOSTNAME>
========================================================================


You could argue that nobody will really take over "www" from the sample
config, but it has happened. I've seen it on lfs-support as well as
in de.comm.software.newsserver.

Programs that will be confused by a line like ...
===================================================
192.168.1.1   www.mydomain.org   osiris
===================================================
... include:

syslogd, leafnode (already during installation)


Stefan Krah



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list