From owner-freebsd-current@FreeBSD.ORG Thu Nov 19 00:58:09 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 A654C1065672 for ; Thu, 19 Nov 2009 00:58:09 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 57DD58FC19 for ; Thu, 19 Nov 2009 00:58:09 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so386929qwb.7 for ; Wed, 18 Nov 2009 16:58:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=+AVFSGDXg9N2DTf4rYFVmm05fKwK9GGJNuWxtVNRCXk=; b=f0VIICfV7gB8AeUGByKz0iqt6Wow5giIO6q4LfZCIY6zJDN11byN1Lnwe35X3aMnhX LP8rBYPFpY6OX6Q2czxx13krMQ6/rxxF+y0ZR8TTkvfO2mFNQpPVLBhZO/DWpZXiKg5g d74FhCYlxLE562FfHCSMZRLtIZvEHUEvLS350= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=aohc5BjTnuG5oUYdbTdDkfaq+hnng6X/ez2jFXXqf8ERpVX4JEfIjWr6Z6rXCfcpzm us3qYhQKFQ0iZUhwSlhvU6MoxNr4v/21SmdbpSGpehx+9aujyRW9PYNxi3B9UTsp3D+a VPbUNIC2udmFUkCrkzesXizuGeunG0Rk0nBlI= Received: by 10.224.79.37 with SMTP id n37mr6809461qak.194.1258592288686; Wed, 18 Nov 2009 16:58:08 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 21sm48202qyk.4.2009.11.18.16.58.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 18 Nov 2009 16:58:07 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 18 Nov 2009 16:57:39 -0800 From: Pyun YongHyeon Date: Wed, 18 Nov 2009 16:57:39 -0800 To: Warren Block Message-ID: <20091119005739.GQ1262@michelle.cdnetworks.com> References: <20091118225521.GO1262@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i 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 Reply-To: pyunyh@gmail.com 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:58:09 -0000 On Wed, Nov 18, 2009 at 05:43:38PM -0700, Warren Block wrote: > 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 This is an expected behavior. > problem with sendmail when the interface gets an address in time. No > unwanted side effects noticed. Too soon to say "please commit"? > Will do it tomorrow. Thanks for testing and quick response! > -Warren Block * Rapid City, South Dakota USA