Missing dependency package "authres"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pypolicyd-spf |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The package "python3-authres" is required for pypolicyd-spf version 2.9.3, but not installed by package managers on Rocky 8(el8) and Fedora 36(fc36). The recent version update from 2.0.2 to 2.9.3, the rpm that's been recently rolled out, renders the executable `/usr/libexec/
journal:
```
Nov 20 20:18:47 localhost postfix/spawn[pid]: warning: command /usr/libexec/
Nov 20 20:18:47 localhost postfix/smtpd[pid]: warning: premature end-of-input on private/policyd-spf while reading input attribute name
Nov 20 20:18:48 localhost postfix/spawn[pid]: warning: command /usr/libexec/
Nov 20 20:18:48 localhost postfix/smtpd[pid]: warning: premature end-of-input on private/policyd-spf while reading input attribute name
Nov 20 20:18:48 localhost postfix/smtpd[pid]: warning: problem talking to server private/
```
Stderr:
```
Traceback (most recent call last):
File "/usr/libexec/
sys.
File "/usr/libexec/
return next(matches)
File "/usr/lib64/
module = import_
File "/usr/lib64/
return _bootstrap.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "/usr/lib/
import authres
ModuleNotFoundE
```
The problem can be resolved by installing the package necessary using the package manager of your choice:
```
sudo dnf install python3-authres
# or
pip3 install authres
```
However, authres must be marked as required by pypolicyd-spf on all distroes as it cannot function without it.
This requirement is already documented in the package README. It's up to the packagers for those distributions to set the dependencies correctly, please file a bug in their bug trackers.
At some point I intend to re-engineer the upstream package to use a more modern build system that would be more automatic, but in the mean time, it's a distribution responsibility.