Date: Wed, 18 Nov 2009 16:57:39 -0800 From: Pyun YongHyeon <pyunyh@gmail.com> To: Warren Block <wblock@wonkity.com> Cc: current@freebsd.org Subject: Re: sendmail aliases/Realtek 8111 problem (bin/139870) Message-ID: <20091119005739.GQ1262@michelle.cdnetworks.com> In-Reply-To: <alpine.BSF.2.00.0911181708530.3266@wonkity.com> References: <alpine.BSF.2.00.0911171926340.98349@wonkity.com> <20091118225521.GO1262@michelle.cdnetworks.com> <alpine.BSF.2.00.0911181708530.3266@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091119005739.GQ1262>