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 1291516

Summary: USGCB STIG for RHEL 7 mentions obsolete "PROMPT=no" option in /etc/sysconfig/init
Product: Red Hat Enterprise Linux 7 Reporter: Karl Hastings <kazen>
Component: scap-security-guideAssignee: Jan Lieskovsky <jlieskov>
Status: CLOSED ERRATA QA Contact: Marek Haicman <mhaicman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: cww, mhaicman, openscap-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: scap-security-guide-0.1.30-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 07:33:03 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:
Bug Depends On:    
Bug Blocks: 1203710    

Description Karl Hastings 2015-12-15 03:01:57 UTC
Description of problem:
with the switch to systemd the "PROMPT" option is no longer a valid config option in /etc/sysconfig/init and has no effect, therefore setting it to "no" does nothing and shouldn't be checked by the guide.  ("Disable Interactive Boot")

Version-Release number of selected component (if applicable):
scap-security-guide-0.1.25-3.el7.noarch

Comment 3 Šimon Lukašík 2016-01-11 13:34:25 UTC
To my understanding this has been fixed in upstream. Granting dev_ack+.

https://github.com/OpenSCAP/scap-security-guide/pull/852

Comment 4 Karl Hastings 2016-01-11 20:09:24 UTC
Šimon,

Unless I'm missing something, (And I could very well be)  I don't see the changes merged for RHEL7:

https://github.com/OpenSCAP/scap-security-guide/blob/master/shared/oval/disable_interactive_boot.xml
https://github.com/OpenSCAP/scap-security-guide/blob/master/RHEL/7/input/xccdf/system/accounts/physical.xml

RHEL7/systemd does not follow the PROMPT=no option in /etc/sysconfig/init, so that test should be removed.
RHEL7/systemd uses systemd.confirm_spawn=1 on the kernel command line to do an interactive boot, that test needs to be added.

Comment 5 Šimon Lukašík 2016-01-12 12:43:13 UTC
Ah, you are right, Karl.

Thank You!

Comment 7 Jan Lieskovsky 2016-06-14 08:35:47 UTC
Proposed upstream patch:
* https://github.com/OpenSCAP/scap-security-guide/pull/1282

Comment 9 Marek Haicman 2016-06-30 11:01:13 UTC
Version scap-security-guide-0.1.30-1.el7 contains the fix. PROMPT=no is no longer suggested and checked, and instead systemd.confirm_spawn is checked.

Comment 11 errata-xmlrpc 2016-11-04 07:33:03 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://rhn.redhat.com/errata/RHBA-2016-2483.html