Bug 2144830

Summary: pypolicyd-spf python exception
Product: [Fedora] Fedora Reporter: dan
Component: pypolicyd-spfAssignee: Bojan Smojver <bojan>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 36CC: bojan, pb, vascom2
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-23 04:36:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description dan 2022-11-22 13:12:03 UTC
Upon installation of pypolicyd-spf-2.9.3-1.fc36.noarch, postfix started rejecting email:

ov 22 08:02:48 lin1.com python3[11603]: detected unhandled Python exception in '/usr/libexec/postfix/policyd-spf'
Nov 22 08:02:48 lin1.com postfix/spawn[10550]: warning: command /usr/libexec/postfix/policyd-spf exit status 1
Nov 22 08:02:48 lin1.com postfix/smtpd[11600]: warning: premature end-of-input on private/policyd-spf while reading input attribute name
Nov 22 08:02:49 lin1.com python3[11621]: detected unhandled Python exception in '/usr/libexec/postfix/policyd-spf'
Nov 22 08:02:49 lin1.com postfix/spawn[10550]: warning: command /usr/libexec/postfix/policyd-spf exit status 1
Nov 22 08:02:49 lin1.com postfix/smtpd[11600]: warning: premature end-of-input on private/policyd-spf while reading input attribute name
Nov 22 08:02:49 lin1.com postfix/smtpd[11600]: warning: problem talking to server private/policyd-spf: Connection reset by peer
Nov 22 08:03:11 lin1.com python3[11632]: detected unhandled Python exception in '/usr/libexec/postfix/policyd-spf'
Nov 22 08:03:11 lin1.com postfix/spawn[10550]: warning: command /usr/libexec/postfix/policyd-spf exit status 1
Nov 22 08:03:11 lin1.com postfix/smtpd[11631]: warning: premature end-of-input on private/policyd-spf while reading input attribute name
Nov 22 08:03:12 lin1.com python3[11644]: detected unhandled Python exception in '/usr/libexec/postfix/policyd-spf'
Nov 22 08:03:12 lin1.com postfix/spawn[10550]: warning: command /usr/libexec/postfix/policyd-spf exit status 1
Nov 22 08:03:12 lin1.com postfix/smtpd[11631]: warning: premature end-of-input on private/policyd-spf while reading input attribute name
Nov 22 08:03:12 lin1.com postfix/smtpd[11631]: warning: problem talking to server private/policyd-spf: Connection reset by peer


dnf downgrade provides a workaround by installing pypolicyd-spf-2.0.2-14.fc36.noarch

Comment 1 Bojan Smojver 2022-11-22 13:24:49 UTC
Please try https://bodhi.fedoraproject.org/updates/FEDORA-2022-ffbe9dc2a1

Comment 2 dan 2022-11-22 13:32:10 UTC
Installed.  Reported problem does not appear.

Comment 3 Bojan Smojver 2022-11-23 04:36:49 UTC

*** This bug has been marked as a duplicate of bug 2142476 ***