From owner-freebsd-current@FreeBSD.ORG Thu Nov 19 00:43:39 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78AEF1065670 for ; Thu, 19 Nov 2009 00:43:39 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 1F1538FC1B for ; Thu, 19 Nov 2009 00:43:38 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nAJ0hcCq003355; Wed, 18 Nov 2009 17:43:38 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nAJ0hc37003352; Wed, 18 Nov 2009 17:43:38 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 18 Nov 2009 17:43:38 -0700 (MST) From: Warren Block To: Pyun YongHyeon In-Reply-To: <20091118225521.GO1262@michelle.cdnetworks.com> Message-ID: References: <20091118225521.GO1262@michelle.cdnetworks.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed Content-ID: Content-Disposition: INLINE X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Wed, 18 Nov 2009 17:43:38 -0700 (MST) Cc: current@freebsd.org Subject: Re: sendmail aliases/Realtek 8111 problem (bin/139870) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 00:43:40 -0000 On Wed, 18 Nov 2009, Pyun YongHyeon wrote: > On Tue, Nov 17, 2009 at 07:55:43PM -0700, Warren Block wrote: >> sendmail was ignoring existing aliases on startup. This is apparently >> due to a network interface not being ready in time in combination with a >> not-FQDN hostname. >> >> With a hostname of "lightning" (no domain), re0 configured by DHCP, and >> verbose sendmail logging: >> >> 050 WARNING: interface re0 is UP with 0.0.0.0 address >> 050 WARNING: local host name (lightning) is not qualified; see cf/README: >> WHO AM I [...] > I'm not sure but this can happen on all systems that have to use > DHCP. The problem I can see here is unnecessary re(4) interface > reinitialization triggered by dhclient even if it can avoid most of > them. Would you try attached patch? It may reduce the number of > interface UP/DOWNs during getting an IP address via DHCP. I haven't > tested the patch though, I no longer have access to re(4) > hardwares. That solves it, thanks! Only the one "link state changed to UP", and no problem with sendmail when the interface gets an address in time. No unwanted side effects noticed. Too soon to say "please commit"? -Warren Block * Rapid City, South Dakota USA