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 1618840 - Some of the profiles requires /dev/cdrom as a separate partition in anaconda
Summary: Some of the profiles requires /dev/cdrom as a separate partition in anaconda
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: scap-security-guide
Version: 7.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Watson Yuuma Sato
QA Contact: Marek Haicman
Mirek Jahoda
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-17 18:33 UTC by Marek Haicman
Modified: 2018-10-30 11:47 UTC (History)
7 users (show)

Fixed In Version: scap-security-guide-0.1.40-3.el7
Doc Type: Bug Fix
Doc Text:
Cause: Mountpoint /dev/cdrom is falsely considered valid partition. That means there is request to have separate /dev/cdrom partition. In case of specifying /dev/cdrom as a partition, installation will fail at the start with traceback. Consequence: It is not possible to install these four profiles: * C2S for Red Hat Enterprise Linux 7 * United States Government Configuration Baseline * Unclassified Information in Non-federal Information Systems and Organizations (NIST 800-171) * DISA STIG for Red Hat Enterprise Linux 7 Workaround (if any): Simplest approach is to install scap-security-guide-0.1.40-2.el7, then with command `sed '/^part </d' /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml > cdrom_workaround.xml` generate fixed datastream. Put it somewhere network accessible, and then in the OAA dialog select this content. Result: Workarounded installation will proceed without any side effects.
Clone Of:
Environment:
Last Closed: 2018-10-30 11:47:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3308 0 None None None 2018-10-30 11:47:50 UTC

Description Marek Haicman 2018-08-17 18:33:45 UTC
Description of problem:
When trying hardened installation through anaconda, four of the profiles request /dev/cdrom to be on separate partition. That's definitely not expected behaviour. Without satisfying this requirement, user cannot proceed with installation. Unfortunately, this cannot be workarounded by creating /dev/cdrom partition in anaconda GUI

Version-Release number of selected component (if applicable):
scap-security-guide-0.1.40-2.el7

How reproducible:
reliably

Steps to Reproduce:
1. try to install hardened system using aforementioned scap-security-guide
2. pick one of these profiles: C2S, United States Government Configuration Baseline, NIST 800-171, DISA STIG for Red Hat Enterprise Linux 7
3. look at warning at the bottom of OAA spoke

Actual results:
/dev/cdrom is requested, without that user cannot continue with installation. With /dev/cdrom specified, anaconda crashes right at the start of the installation itself.

Expected results:
/dev/cdrom is not requested as a mountpoint

Additional info:

Comment 1 Watson Yuuma Sato 2018-08-30 10:04:19 UTC
Patch: https://github.com/OpenSCAP/scap-security-guide/pull/3225

Comment 3 Matěj Týč 2018-09-11 12:58:16 UTC
Thanks Libor, I am cancelling the needinfo.

Comment 5 Marek Haicman 2018-09-14 18:56:02 UTC
Verified manually the package scap-security-guide-0.1.40-3.el7.noarch contains the fix of the bug.

OLD (scap-security-guide-0.1.40-2.el7.noarch):
$ grep '^part <' /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml 
part <sub idref="xccdf_org.ssgproject.content_value_var_removable_partition" use="legacy"/> --mountoptions="nosuid"
part <sub idref="xccdf_org.ssgproject.content_value_var_removable_partition" use="legacy"/> --mountoptions="nodev"
part <sub idref="xccdf_org.ssgproject.content_value_var_removable_partition" use="legacy"/> --mountoptions="noexec"
part <ns0:sub idref="xccdf_org.ssgproject.content_value_var_removable_partition" use="legacy"/> --mountoptions="nosuid"
part <ns0:sub idref="xccdf_org.ssgproject.content_value_var_removable_partition" use="legacy"/> --mountoptions="nodev"
part <ns0:sub idref="xccdf_org.ssgproject.content_value_var_removable_partition" use="legacy"/> --mountoptions="noexec"

NEW (scap-security-guide-0.1.40-3.el7.noarch):
<nothing>

Comment 7 errata-xmlrpc 2018-10-30 11:47:45 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, 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:3308


Note You need to log in before you can comment on or make changes to this bug.