Content view filter has weird behaviour with openssl versioning including a letter

Problem: Content view filter is added as an exclude filter and the RPM rule tries to exclude openssl11* with version equal to 1.1.1k-4.el7, but View matching content tells it does not match packages like the other rules. Trying other comparisons sometimes show the package in the list, sometime show no matches. (If it works never the less I could not test, as it was a productive system at a customer)

Expected outcome: Filter matches and shows this matches.

Foreman and Proxy versions: 3.4

Foreman and Proxy plugin versions: Katello 4.6

Distribution and version: RHEL 8

That does seem like a bug and there’s a difference in behavior on the actual package page vs the filter matching content returned.


On the package screen I get results for version = 1.1.1k whereas the package filter doesn’t have the same behavior returning empty results.

I have opened an issue here: Bug #35847: Content view filter query with versions doesn't work correctly with non-numbers - Katello - Foreman

1 Like