Package: opensmtpd
Version: 6.0.3p1-5+deb10u4
Severity: normal
Dear Maintainer,
My issue is very similar to #779269: opensmtpd fails to automatically
start on boot with the following messages (extracted from journalctl):
systemd[1]: Starting OpenSMTPD SMTP server...
smtpd[437]: info: OpenSMTPD 6.0.3-portable starting
systemd[1]: Started OpenSMTPD SMTP server.
smtpd[473]: pony express: listen: Address already in use
smtpd[469]: smtpd: process lka socket closed
systemd[1]: opensmtpd.service: Main process exited, code=exited,
status=1/FAILURE
systemd[1]: opensmtpd.service: Failed with result 'exit-code'.
Also, as suggested in #779269, running `systemctl restart opensmtpd` works.
Note that I had the same issue on Stretch before re-installing the
system with Buster. I did not do any tests, but one idea that comes to
my mind is that this issue arises when using a bridge configuration.
Here is my /etc/network/interfaces:
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
auto br0
iface br0 inet static
bridge_ports enp9s0
address 192.168.1.2/24
gateway 192.168.1.254
dns-nameserver 80.67.169.12 80.67.169.40
Regards,
Yvan
-- System Information:
Debian Release: 10.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-12-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages opensmtpd depends on:
ii adduser 3.118
ii debconf [debconf-2.0] 1.5.71
ii ed 1.10-2.1
ii libasr0 1.0.2-1
ii libc6 2.28-10
ii libdb5.3 5.3.28+dfsg1-0.5
ii libevent-2.1-6 2.1.8-stable-4
ii libpam0g 1.3.1-5
ii libssl1.1 1.1.1d-0+deb10u3
ii lsb-base 10.2019051400
ii zlib1g 1:1.2.11.dfsg-1
Versions of packages opensmtpd recommends:
pn opensmtpd-extras <none>
Versions of packages opensmtpd suggests:
ii ca-certificates 20200601~deb10u1
-- Configuration Files:
/etc/smtpd.conf changed [not included]
-- debconf information excluded