Bug 1097720
Summary: | Request for update to 0.9.0 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | giulix <giulio.martinat> | ||||||||||||
Component: | fail2ban | Assignee: | Orion Poplawski <orion> | ||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||
Priority: | unspecified | ||||||||||||||
Version: | el6 | CC: | admiller, cyril, gerwinkrist, korthrun, orion, pcfe, vonsch | ||||||||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | fail2ban-0.9.2-1.el6 | Doc Type: | Bug Fix | ||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2015-08-21 21:05:16 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: | |||||||||||||||
Attachments: |
|
Description
giulix
2014-05-14 12:07:36 UTC
Created attachment 895965 [details]
Modified spec file
Created attachment 895966 [details]
Patch for file badips.py
Builds with Fedora 21 source rpm and these modifications: Modified .spec file updated release 5->1 added patch removed tests execution It will add dependencies libmnl and ipset. Fedora 21 source RPM: ftp://rpmfind.net/linux/fedora/linux/development/rawhide/source/SRPMS/f/fail2ban-0.9-5.fc21.src.rpm Sorry for multiple posts (no idea how to attach multiple files to a new comment). Created attachment 896376 [details]
New spec file
Some configuration files (e.g. action.d dir) were excluded from build. Now they are included.
I used your spec file and made some edits for RH6 builds with regards to systemd, firewalld and tmpfiles.d Added a small patch for the recidive plugin and added logfile creation for /var/log/fail2ban.log. Created attachment 902475 [details]
Spec file with rhel6 changes
Created attachment 902476 [details]
added ignoreregex line to recidive filter
I'm very hesitant to do this due to the large number of changes to the configuration files. *** Bug 1190909 has been marked as a duplicate of this bug. *** Any update on this one? Managing f2b on EL6 and EL7 is completely different now. @all Could anyone tell me whats the problem atm? I used the spec file from the EL7 release and added some minor if/else changes based on OS version (eg. skipping systemd and firewalld). It builds without problems and seems to work. Or is the main pain with the 0.9 release that configuration changes are quiet big and do not find in a LTS version? Epel 6 still has 0.8.14 only. I don't know why it can't be updated to 0.9.1. Only Orion can answer your question. If your spec file builds ok on epel 6 too, and the only concern is stability, admins could be given the choice to install either 0.8.14 or 0.9.1. Please give the package from https://copr.fedoraproject.org/coprs/orion/fail2ban-el6/ a try. If everyone reports smooth upgrades with no surprises, I'll update the EPEL6 package to it. For what it's worth, so far so good. I have done clean installs, updates to hosts with simple configs and updates to one host with a less than simple config. No issues thus far! fail2ban-0.9.2-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/fail2ban-0.9.2-1.el6 Package fail2ban-0.9.2-1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing fail2ban-0.9.2-1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-6452/fail2ban-0.9.2-1.el6 then log in and leave karma (feedback). fail2ban-0.9.2-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. root@sl6 ~ # yum update Loaded plugins: downloadonly, security Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package fail2ban.noarch 0:0.8.14-2.el6 will be updated ---> Package fail2ban.noarch 0:0.9.2-1.el6 will be an update --> Processing Dependency: ipset for package: fail2ban-0.9.2-1.el6.noarch --> Finished Dependency Resolution Error: Package: fail2ban-0.9.2-1.el6.noarch (epel) Requires: ipset You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest root@sl6 ~ # uname -r 2.6.32-573.el6.x86_64 Works for me: Dependencies Resolved ========================================================================== Package Arch Version Repository Size ================================================================================ Installing: fail2ban noarch 0.9.2-1.el6 epel 410 k Installing for dependencies: gamin-python x86_64 0.1.10-9.el6 rhel-6-server-rpms 33 k ipset x86_64 6.11-4.el6 rhel-6-server-rpms 63 k libmnl x86_64 1.0.2-3.el6 rhel-6-server-rpms 21 k python-inotify noarch 0.9.1-1.el6 epel 50 k doh! my bad, this box runs SL6, not RHEL6. Sorry for the noise. Should work fine on SL6 too: Installed Packages ipset.x86_64 6.11-3.el6 @sl |