Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionAndreas Nilsson
2018-05-25 15:30:21 UTC
Created attachment 1441625[details]
screenshot
It seems the security level shield doesn't render as it should on 7.5.
I tried to build a local copy of master, and it worked as it should, although a fedora system doesn't have the security level variants, so not sure if that plays into it or not.
I first tried master on current Fedora 28, with a new (fake) "moderate" classification; this was missing in our mock updates. But it works fine.
But I can reproduce the issue on a RHEL 7.5 VM, with Cockpit running on the same client.
The issue is that our Cockpit pages use the bundled patternfly from cockpit-bridge. But RHEL 7.5's cockpit-system version 154 still has an older version which does not have pficon-security yet.
Unfortunately just adding (backporting) the desired Unicode char to our CSS isn't sufficient, as the corresponding glyph is also missing in the shipped patternfly.woff font.
This will be fixed cleanly with rebasing cockpit for RHEL 7.6 (bug 1568728). I'll check if cockpit-packagekit can ship its own copy in the meantime, but this is ugly for all other distros :(
Created attachment 1442758[details]
screenshot with fa-shield
I'll apply this downstream for 7.5.x:
--- a/pkg/lib/packagekit.es6
+++ b/pkg/lib/packagekit.es6
@@ -288,7 +288,7 @@ export function cancellableTransaction(method, arglist, progress_cb, signalHandl
*/
export function getSeverityIcon(info, secSeverity) {
if (info == Enum.INFO_SECURITY)
- return "pficon pficon-security" + (secSeverity ? " severity-" + secSeverity : "");
+ return "fa fa-shield" + (secSeverity ? " severity-" + secSeverity : "");
else if (info >= Enum.INFO_NORMAL)
return "fa fa-bug";
else
That's the icon that we had before the redesign in https://github.com/cockpit-project/cockpit/issues/8379. It doesn't match the current design guidelines, but it's better than nothing.
Garrett and I now figured out how to backport that pficon-security glyph: https://github.com/cockpit-project/cockpit/pull/9249 . This patch is a bit more intrusive, but not overly so, so it's fine to backport.
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/RHBA-2018:2026
Created attachment 1441625 [details] screenshot It seems the security level shield doesn't render as it should on 7.5. I tried to build a local copy of master, and it worked as it should, although a fedora system doesn't have the security level variants, so not sure if that plays into it or not.