OpenSMTPD won't start

Don’t know where to report this. So please correct me if this is not the right place.

I’m trying to install OpenSMTPD on Rocky:

dnf install -y epel-release

dnf install -y opensmtpd

systemctl start opensmtpd.service

Job for opensmtpd.service failed because the control process exited with error code.
See "systemctl status opensmtpd.service" and "journalctl -xe" for details.

From journalctl:

nov 16 08:36:03 myhost.example.com systemd[1]: Starting OpenSMTPD mail daemon...
nov 16 08:36:03 myhost.example.com systemd[1821]: opensmtpd.service: Failed to set up mount namespacing: No such file or directory
nov 16 08:36:03 myhost.example.com systemd[1821]: opensmtpd.service: Failed at step NAMESPACE spawning /usr/sbin/smtpd: No such file or directory
nov 16 08:36:03 myhost.example.com systemd[1]: opensmtpd.service: Control process exited, code=exited status=226
nov 16 08:36:03 myhost.example.com systemd[1]: opensmtpd.service: Failed with result 'exit-code'.
nov 16 08:36:03 myhost.example.com systemd[1]: Failed to start OpenSMTPD mail daemon.

A little investigation tells me is related to the last release. From changelog:

**2021-11-05** - Denis Fateyev <denis@fateyev.com> - 6.8.0p2-2
- Add hardened security settings to service
- Set "mbox" delivery method usage by default
 
**2021-01-20** - Denis Fateyev <denis@fateyev.com> - 6.8.0p2-1
- Update to 6.8.0p2 release

I think this is the change to blame:
https://src.fedoraproject.org/rpms/opensmtpd/c/92611f2d37da8518783451cfb9f749f42a3b97c4?branch=epel8

I can confirm that previous version (6.8.0p2-1) is working as expected.

dnf install -y https://kojipkgs.fedoraproject.org//packages/opensmtpd/6.8.0p2/1.el8/x86_64/opensmtpd-6.8.0p2-1.el8.x86_64.rpm

systemctl start opensmtpd.service

systemctl is-active opensmtpd.service
active

Since this package is in EPEL, it may be better to ask in #epel on Libera or perhaps open a bug report, especially if a previous version is working for you.

Thanks for the suggestion. Where should I open the bug report?

Apologies for that, I thought I provided the link. Bug reports for EPEL usually go here: https://bugzilla.redhat.com

Ok, here it is:

https://bugzilla.redhat.com/show_bug.cgi?id=2023945

According to the bug report, looks like a new build was submitted to for testing.

https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-fceea1c7eb

https://koji.fedoraproject.org/koji/search?terms=opensmtpd-6.8.0p2-3.el8&type=build&match=exact

If the update works for you, login with a FAS account there and submit karma to that bodhi page.

Yes, it’s working now.

For someone with the same issue:

dnf install -y https://kojipkgs.fedoraproject.org//packages/opensmtpd/6.8.0p2/3.el8/x86_64/opensmtpd-6.8.0p2-3.el8.x86_64.rpm

Or wait for the update to be available on EPEL.

I have problems accessing bodhi.fedoraproject.org. Still not sure if it’s just me. I created the fedora account, but haven’t been able to pass from there all morning.

Thank you very much.