Bug 1850816
| Summary: | Manual entries are not persistant | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Nicolai Moore <niconorsk> |
| Component: | fail2ban | Assignee: | Richard Shaw <hobbes1069> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | anon.amish, Axel.Thimm, hobbes1069, orion, vonsch |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | fail2ban-0.11.1-9.el7.2 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-08-01 01:46:43 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
Nicolai Moore
2020-06-24 23:55:23 UTC
I've been considering building the latest fail2ban for EL 7 but I have no idea what problems it could cause with configuration changes. I can try to build test packages, but I'm having some issues with tests failing. Let me see if I can figure out what's going on. Taken from the 0.11 changelog:
### Compatibility:
* to v.0.10:
- 0.11 is totally compatible to 0.10 (configuration- and API-related stuff), but the database
got some new tables and fields (auto-converted during the first start), so once updated to 0.11, you
have to remove the database /var/lib/fail2ban/fail2ban.sqlite3 (or its different to 0.10 schema)
if you would need to downgrade to 0.10 for some reason.
I am also happy to test the 0.11 build in my set-up if I can download an RPM of it before hand.
Obviously this is no guarantee that upgrading won't break something but it sounds reasonably safe to me
FEDORA-EPEL-2020-ed5493877c has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-ed5493877c Let me know if this update fixes it. I have auto-karma turned off so it doesn't auto push to stable. So the RPM I downloaded from Koji did not work as there were some misses in the requirements. Specifically it Requires python2-systemd which I think should be systemd-python and it BuildRequires python2-devel which I think should be python-devel (far less sure about that last one) When I rebuilt the RPM locally with those changes, it did resolve the original problem however Oh also worth noting that it upgraded fine with the existing config, but should mention that I only used the fail2ban-server RPM and none of the other subpackage Bah.. Yeah the situation in EPEL is very different from Fedora. python2-systemd is bad, but python-devel has a provide for python2-devel so it isn't a problem. I updated the package and Bodhi update, but it didn't seem to post a new link here. Please test it and let me know. I'm sorry. You changed the Requires to python-systemd but the Centos7 package is systemd-python That'll teach me.. I figure, simple fix, no need to test... The update is locked so I can't change it until the .1 build gets pushed to testing but here's the new (and install tested) build: https://koji.fedoraproject.org/koji/taskinfo?taskID=48112864 FEDORA-EPEL-2020-ed5493877c has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-ed5493877c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2020-ed5493877c has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-ed5493877c I can confirm that the latest build installs cleanly and resolves the original problem. I have only tested the fail2ban-server RPM FEDORA-EPEL-2020-ed5493877c has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-ed5493877c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2020-ed5493877c has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report. |