Bug 2142476

Summary: pypolicyd-spf-2.9.3-1 missed requirement to python3-authres
Product: [Fedora] Fedora EPEL Reporter: Peter Bieringer <pb>
Component: pypolicyd-spfAssignee: Bojan Smojver <bojan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: epel8CC: bojan, cegolf, dan, joe, redhat-tigerp, toracat, vascom2
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pypolicyd-spf-2.9.3-4.fc35 pypolicyd-spf-2.9.3-4.fc37 pypolicyd-spf-2.9.3-4.el8 pypolicyd-spf-2.9.3-4.fc36 pypolicyd-spf-2.9.3-4.el9 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-26 00:46:04 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:
Bug Depends On: 2142503, 2148241    
Bug Blocks:    

Description Peter Bieringer 2022-11-14 06:52:26 UTC
Description of problem:
After updating from 2.0.2-15 to 2.9.3-1 policyd-spf is no longer working because of a missing dependency to python3-authres which is not on the requirement list and was therefore not installed

=> this turns all systems having "automatic update" in place to a broken SPF setup and therefore blocking receiving of e-mails => please urgently create an updated package with having the requirement added.


Version-Release number of selected component (if applicable):
2.9.3-1 

How reproducible:
always

Steps to Reproduce:
1. upgrade
2. restart postfix


Actual results:
Nov 14 07:40:52 *** postfix/spawn[443865]: warning: command /usr/libexec/postfix/policyd-spf exit status 1
Nov 14 07:40:52 *** postfix/smtpd[437563]: warning: premature end-of-input on private/policyd-spf while reading input attribute name
Nov 14 07:40:53 *** postfix/spawn[443865]: warning: command /usr/libexec/postfix/policyd-spf exit status 1
Nov 14 07:40:53 *** postfix/smtpd[437563]: warning: premature end-of-input on private/policyd-spf while reading input attribute name
Nov 14 07:40:53 *** postfix/smtpd[437563]: warning: problem talking to server private/policyd-spf: Connection reset by peer


Expected results:
Working after upgrade

Additional info:

Diagnostics:

cat <<END | /usr/libexec/postfix/policyd-spf
request=smtpd_access_policy
protocol_state=RCPT
protocol_name=SMTP
helo_name=some.domain.tld
queue_id=8045F2AB23
instance=12345.6789
sender=foo
recipient=bar
client_address=1.2.3.4
client_name=another.domain.tld
 
END
Traceback (most recent call last):
  File "/usr/libexec/postfix/policyd-spf", line 11, in <module>
    load_entry_point('spf-engine==2.9.3', 'console_scripts', 'policyd-spf')()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 476, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2700, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2318, in load
    return self.resolve()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2324, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.6/site-packages/spf_engine/__init__.py", line 54, in <module>
    import authres
ModuleNotFoundError: No module named 'authres'


Workaround
yum install python3-authres

Comment 1 Fedora Update System 2022-11-14 09:50:02 UTC
FEDORA-2022-84329833ef has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-84329833ef

Comment 2 Fedora Update System 2022-11-14 09:50:03 UTC
FEDORA-2022-d7d8c9a272 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d7d8c9a272

Comment 3 Fedora Update System 2022-11-14 09:50:04 UTC
FEDORA-EPEL-2022-e3afafa0ef has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-e3afafa0ef

Comment 4 Fedora Update System 2022-11-14 09:50:05 UTC
FEDORA-2022-25f79c911d has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-25f79c911d

Comment 5 Fedora Update System 2022-11-14 09:50:06 UTC
FEDORA-EPEL-2022-f566a6d7b9 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-f566a6d7b9

Comment 6 Fedora Update System 2022-11-15 02:22:51 UTC
FEDORA-2022-84329833ef has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-84329833ef`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-84329833ef

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2022-11-15 02:35:16 UTC
FEDORA-2022-25f79c911d has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-25f79c911d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-25f79c911d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2022-11-15 02:36:27 UTC
FEDORA-2022-d7d8c9a272 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-d7d8c9a272`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-d7d8c9a272

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2022-11-15 02:59:34 UTC
FEDORA-EPEL-2022-e3afafa0ef has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-e3afafa0ef

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2022-11-15 03:10:05 UTC
FEDORA-EPEL-2022-f566a6d7b9 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-f566a6d7b9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2022-11-16 01:23:06 UTC
FEDORA-2022-d7d8c9a272 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-d7d8c9a272`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-d7d8c9a272

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2022-11-16 01:36:01 UTC
FEDORA-2022-84329833ef has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-84329833ef`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-84329833ef

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2022-11-16 01:37:50 UTC
FEDORA-2022-25f79c911d has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-25f79c911d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-25f79c911d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2022-11-16 03:00:15 UTC
FEDORA-EPEL-2022-e3afafa0ef has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-e3afafa0ef

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2022-11-16 03:06:30 UTC
FEDORA-EPEL-2022-f566a6d7b9 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-f566a6d7b9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2022-11-17 03:21:57 UTC
FEDORA-EPEL-2022-a969761527 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-a969761527

Comment 17 Fedora Update System 2022-11-17 03:22:13 UTC
FEDORA-2022-ffbe9dc2a1 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ffbe9dc2a1

Comment 18 Fedora Update System 2022-11-17 03:22:14 UTC
FEDORA-2022-bf48bba014 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-bf48bba014

Comment 19 Fedora Update System 2022-11-17 03:26:41 UTC
FEDORA-2022-6c3bcb04d7 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-6c3bcb04d7

Comment 20 Fedora Update System 2022-11-17 03:27:43 UTC
FEDORA-EPEL-2022-cae1f70fce has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-cae1f70fce

Comment 21 Fedora Update System 2022-11-18 01:22:06 UTC
FEDORA-2022-bf48bba014 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-bf48bba014`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-bf48bba014

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 22 Fedora Update System 2022-11-18 01:57:21 UTC
FEDORA-2022-ffbe9dc2a1 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-ffbe9dc2a1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-ffbe9dc2a1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 23 Fedora Update System 2022-11-18 02:22:57 UTC
FEDORA-EPEL-2022-a969761527 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-a969761527

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 24 Fedora Update System 2022-11-18 02:30:29 UTC
FEDORA-EPEL-2022-cae1f70fce has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-cae1f70fce

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 25 Fedora Update System 2022-11-18 02:44:35 UTC
FEDORA-2022-6c3bcb04d7 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-6c3bcb04d7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-6c3bcb04d7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 26 Bojan Smojver 2022-11-23 04:36:49 UTC
*** Bug 2144830 has been marked as a duplicate of this bug. ***

Comment 27 Fedora Update System 2022-11-26 00:46:04 UTC
FEDORA-2022-bf48bba014 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 28 Fedora Update System 2022-11-26 02:11:46 UTC
FEDORA-2022-6c3bcb04d7 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 29 Fedora Update System 2022-11-26 02:24:04 UTC
FEDORA-EPEL-2022-cae1f70fce has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 30 Fedora Update System 2022-11-26 02:41:38 UTC
FEDORA-2022-ffbe9dc2a1 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 31 Fedora Update System 2022-12-23 00:36:29 UTC
FEDORA-EPEL-2022-a969761527 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.