Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 779076

Summary: mail-mta/opensmtpd: systemd units should be updated
Product: Gentoo Linux Reporter: amachronic
Component: Current packagesAssignee: Jason A. Donenfeld <zx2c4>
Status: UNCONFIRMED ---    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description amachronic 2021-03-29 12:25:22 UTC
The smtpd.service unit should have PIDFile=/run/ in the [Service] section so systemd can determine the main process PID reliably.

The smtpd.socket unit should be removed. It would require code changes to make smtpd use the socket passed by systemd. At present, smtpd always creates a new fd and calls connect(), which fails because systemd has already called connect() on the socket.