Hide Forgot
Description of problem: Given a CV that is using an exclude filter for RPMS. The filter has a rule that is using version range on a package. After changing this rule to "Greater than", no packages got excluded when publishing the CV. Version-Release number of selected component (if applicable): How reproducible: Easy Steps to Reproduce: 1. Create a CV with "Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server " repo 2. Create an exclude fitler for kernel pacakge like this Type: Exclude RPM: kernel Version "range": between 3.10.0-327.36.3.el7 and 3.10.0-693.36.3.el7 3. update the filter rule to: Type: Exclude RPM: kernel Version "Greater than": 3.10.0-693.36.3.el7 4. publish the CV Actual results: Kernel 3.10.0-862.2.3.el7 is included Expected results: Kernel 3.10.0-862.2.3.el7 should not be included because it is higher than 3.10.0-693.36.3 Additional info:
Created attachment 1440959 [details] propose a patch This is built on top of 3.4.5.64.
Connecting redmine issue http://projects.theforeman.org/issues/23867 from this bug
Connecting redmine issue http://projects.theforeman.org/issues/20876 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20876 has been resolved.
Aligning to 6.4, since the fix should already be in the release.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:2927