Package: opensmtpd
Version: 6.0.2p1-2

Hi, when opensmtpd start on boot, with a configuration like "listen on
enp1s0...", the service fails with :

Aug 07 17:07:00 debian opensmtpd[380]: Starting MTA: failed!
Aug 07 17:07:00 debian opensmtpd[380]: invalid virtual ip or interface:
enp1s0

The interface really exists:

root@debian:~# ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
mode DEFAULT group default qlen 1000
    link/ether 00:0d:b9:47:2f:38 brd ff:ff:ff:ff:ff:ff
3: enp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode
DEFAULT group default qlen 1000
    link/ether 00:0d:b9:47:2f:39 brd ff:ff:ff:ff:ff:ff
4: enp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode
DEFAULT group default qlen 1000
    link/ether 00:0d:b9:47:2f:3a brd ff:ff:ff:ff:ff:ff

But the interface is renamed on boot...

root@debian:~# dmesg -T |grep enp
[Mon Aug  7 17:06:57 2017] igb 0000:01:00.0 enp1s0: renamed from eth0
[Mon Aug  7 17:06:57 2017] igb 0000:02:00.0 enp2s0: renamed from eth1
[Mon Aug  7 17:06:57 2017] igb 0000:03:00.0 enp3s0: renamed from eth2
[Mon Aug  7 17:06:59 2017] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is
not ready
[Mon Aug  7 17:07:02 2017] igb 0000:01:00.0 enp1s0: igb: enp1s0 NIC Link
is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[Mon Aug  7 17:07:02 2017] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link
becomes ready


Restarting the service manually after the boot works.

The service opensmtpd seems to wait for network.target, but I don't know
how to tell me to wait more, or the best way to do it.

I'm using Debian 9.1, 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3
(2017-08-06) x86_64 GNU/Linux



Thanks,

Reply via email to