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.

Bug 2043512

Summary: Help for Security Policy does not open to correct page in Anaconda built-in help
Product: Red Hat Enterprise Linux 9 Reporter: Marta Lewandowska <mlewando>
Component: oscap-anaconda-addonAssignee: Matěj Týč <matyc>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: low Docs Contact:
Priority: medium    
Version: 9.0CC: jstodola, mhaicman, mkolman, vponcova, vslavik, wsato
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: oscap-anaconda-addon-2.0.0-8.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 13:17:12 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 Marta Lewandowska 2022-01-21 12:15:21 UTC
Description of problem:
When using Anaconda built-in help for "Security Policy," it opens to "Customizing your installation" rather than "Configuring Security Policy"

Version-Release number of selected component (if applicable):
anaconda-34.25.0.25-1.el9
anaconda-user-help-9.0.0-1.el9
oscap-anaconda-addon-2.0.0-7.el9

How reproducible:
always

Steps to Reproduce:
1. Start installer
2. Enter Security Policy spoke
3. Click "Help!"

Actual results:
"Customizing your installation" opens (from which it is possible to navigate to desired page via two appropriate clicks)

Expected results:
"Configuring Security Policy" opens

Additional info:

Comment 1 Vladimír Slávik 2022-01-21 12:35:50 UTC
The assumption here is that anaconda ties it all together, so we'll scope what is the problem and reassign to either the oscap addon or anaconda help.

I assume that one of the following is broken:
- Oscap spoke changed id
- Mapping file has wrong anchor for docs

Comment 2 Martin Kolman 2022-01-21 15:40:28 UTC
The mapping looks correct as far as I can tell:

"security-policy-selection": {
  "file": "anaconda-help.xml",
  "anchor": "security-policy_configuring-system-settings"
},

So I think it's just the OSCAP addon missing the id in their spoke class:


@staticmethod
def get_screen_id():
    """Return a unique id of this UI screen."""
    return "security-policy-selection"

Comment 3 Vendula Poncova 2022-01-21 15:56:45 UTC
It can be fixed with https://github.com/OpenSCAP/oscap-anaconda-addon/pull/175. Reassigning to the OSCAP add-on.

Comment 4 Matěj Týč 2022-01-21 16:07:39 UTC
Actually it would be POST when https://github.com/OpenSCAP/oscap-anaconda-addon/pull/192 is merged

Comment 7 Jan Stodola 2022-01-26 16:47:59 UTC
"Configuring Security Policy" page is displayed after opening Help in the oscap spoke - and that's the expected result.

Tested with:
anaconda-34.25.0.25-1.el9
oscap-anaconda-addon-2.0.0-8.el9

Marking as Verified:Tested

Comment 10 Jan Stodola 2022-01-28 16:37:13 UTC
Checked that oscap-anaconda-addon-2.0.0-8.el9 is in nightly compose RHEL-9.0.0-20220127.4
There's no documentation needed for this bug - not checking
No further testing is needed during verification based on comment 5

Moving to VERIFIED

Comment 12 errata-xmlrpc 2022-05-17 13:17:12 UTC
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 (new packages: oscap-anaconda-addon), 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-2022:2485