Re: sendmail aliases/Realtek 8111 problem (bin/139870)

From: Warren Block <wblock_at_wonkity.com>
Date: Wed, 18 Nov 2009 17:43:38 -0700 (MST)
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
Received on Wed Nov 18 2009 - 23:43:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC