Greg Sims wrote:
> fatal: parameter inet_interfaces: no local interface found for 10.81.198.165

How is the network configured?  Netplan?  If netplan then what
"renderer" is configured?  systemd-networkd?  Is it a local static IP
configuration?  Or DHCP?

I have observed systemd-networkd to not wait for DHCP to complete but
start services that depend upon the network before the network has
been brought online.  Your description of the problem matches this
problematic behavior.

If so then I would set a static IP address when would initialize
faster than waiting for a DHCP server to respond.  And since the
description is for a mail server then it really should have a static
IP address assignment.  However I imagine that one might rely upon a
DHCP address reservation to always configure the same address.

> It is interesting to note the following:
> 
>    - If I "systemctl restart postfix", the restart will happen successfully.

By the time you restart postfix the network has finished coming
online.  So of course there is no problem then.

>    - If I reboot the KVM, I will see the error above after the reboot

The error indicates that when Postfix is started the networking is not
yet available.

The problem as described seems not to involve Postfix so much as the
init system that is starting daemons needing the network without
waiting for the network to finish initializing.

Bob

Reply via email to