From owner-cvs-all Sat Sep 29 5:20:12 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 677D337B410; Sat, 29 Sep 2001 05:20:08 -0700 (PDT) Received: (from ru@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8TCK8229433; Sat, 29 Sep 2001 05:20:08 -0700 (PDT) (envelope-from ru) Message-Id: <200109291220.f8TCK8229433@freefall.freebsd.org> From: Ruslan Ermilov Date: Sat, 29 Sep 2001 05:20:08 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc hosts X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ru 2001/09/29 05:20:08 PDT Modified files: etc hosts Log: Backout revision 1.9 that added `myname.my.domain' as another alias for `localhost'. If your /etc/nsswitch.conf has ``hosts: files dns'', and you changed `myname.my.domain' in /etc/hosts to match hostname(1), and you run inetd(8) with the -l option, any connect to `myname' using its real IP address through inetd(8), e.g. `ftp -a myname', will spam your /var/log/messages with: inetd[PID]: warning: /etc/hosts.allow, line 23: host name/name mismatch: myname.my.domain != localhost This is especially bad for -STABLE, where /etc/host.conf defaults to "files first then DNS" resolution order. Noticed by: Igor Kucherenko MFC after: 1 week Revision Changes Path 1.14 +3 -3 src/etc/hosts To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message