Browse Source

Bring the /etc/myname file installed from etcXX.tgz into line with the

one created during an install by making the name it contains a FQDN.
Make the /etc/hosts file installed from etcXX.tgz internally consistant
by including a valid entry for the name in /etc/myname.
These two files will 'survive' the install process only if the user
chooses to *not* configure the network. In that scenario these changes
silence the sendmail complaints about 'My unqualified host name ...'.
ok deraadt@.
OPENBSD_3_2
krw 22 years ago
parent
commit
fbc5b654af
2 changed files with 4 additions and 3 deletions
  1. +3
    -2
      src/etc/hosts
  2. +1
    -1
      src/etc/myname

+ 3
- 2
src/etc/hosts View File

@ -1,4 +1,4 @@
# $OpenBSD: hosts,v 1.10 2002/03/17 23:19:20 krw Exp $
# $OpenBSD: hosts,v 1.11 2002/09/26 23:35:51 krw Exp $
#
# Host Database
#
@ -9,4 +9,5 @@
#
::1 localhost.my.domain localhost
127.0.0.1 localhost.my.domain localhost
192.168.254.254 noname
::1 noname.my.domain noname
127.0.0.1 noname.my.domain noname

+ 1
- 1
src/etc/myname View File

@ -1 +1 @@
noname
noname.my.domain

Loading…
Cancel
Save