Public bug reported:

postfix-mta-sts-resolver will not start on resolute:

2026-05-10 21:15:31 INFO     MAIN: MTA-STS daemon starting...
2026-05-10 21:15:31 INFO     MAIN: Starting eventloop...
2026-05-10 21:15:31 INFO     MAIN: uvloop enabled.
Traceback (most recent call last):
  File "/usr/bin/mta-sts-daemon", line 33, in <module>
    sys.exit(load_entry_point('postfix-mta-sts-resolver==1.5.0', 
'console_scripts', 'mta-sts-daemon')())
             
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/postfix_mta_sts_resolver/daemon.py", 
line 144, in main
    evloop = asyncio.get_event_loop()
  File "/usr/lib/python3/dist-packages/uvloop/__init__.py", line 206, in 
get_event_loop
    raise RuntimeError(
    ...<2 lines>...
    )
RuntimeError: There is no current event loop in thread 'MainThread'.

I believe this is this issue/fix from upstream:
   https://github.com/Snawoot/postfix-mta-sts-resolver/pull/114
(Summary: Starting with Python 3.14 -- which is the version shipping with 
resolute -- asyncio.get_event_loop() fails if there isn't an event loop.  Need 
to call new_event_loop() to start.  Further explained in the upstream pull 
linked above.)

(1) Ubuntu release
Description:    Ubuntu 26.04 LTS
Release:        26.04

(2) Package Version
postfix-mta-sts-resolver 1.5.0-1build1

(3) Expected: postfix-mta-sts-resolver would start and continue to run.

(4) Got: postfix-mta-sta-resolver exited after reporting the exception
shown above.

** Affects: postfix-mta-sts-resolver (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2152184

Title:
  postfix-mta-sts-resolver doesn't start on resolute

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postfix-mta-sts-resolver/+bug/2152184/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to