From fbc5b654aff7b8d3e94b6e42f06b00a1827d0682 Mon Sep 17 00:00:00 2001 From: krw <> Date: Thu, 26 Sep 2002 23:35:51 +0000 Subject: [PATCH] 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@. --- src/etc/hosts | 5 +++-- src/etc/myname | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/etc/hosts b/src/etc/hosts index b6c9dbe8..1e69b477 100644 --- a/src/etc/hosts +++ b/src/etc/hosts @@ -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 diff --git a/src/etc/myname b/src/etc/myname index eaa95e7d..cad21fe9 100644 --- a/src/etc/myname +++ b/src/etc/myname @@ -1 +1 @@ -noname +noname.my.domain