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 - USGCB STIG for RHEL 7 mentions obsolete "PROMPT=no" option in /etc/sysconfig/init
Summary: USGCB STIG for RHEL 7 mentions obsolete "PROMPT=no" option in /etc/sysconfig/...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: scap-security-guide
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Lieskovsky
QA Contact: Marek Haicman
URL:
Whiteboard:
Depends On:
Blocks: 1203710
TreeView+ depends on / blocked
 
Reported: 2015-12-15 03:01 UTC by Karl Hastings
Modified: 2021-06-10 11:04 UTC (History)
3 users (show)

Fixed In Version: scap-security-guide-0.1.30-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 07:33:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github OpenSCAP scap-security-guide issues 851 0 None closed [BugFix] [RHEL/7] [Fedora] Revisit OVAL & remediation for 'disable_interactive_boot' rule to properly handle also 'syste... 2020-10-22 14:41:53 UTC
Red Hat Product Errata RHBA-2016:2483 0 normal SHIPPED_LIVE scap-security-guide bug fix and enhancement update 2016-11-03 14:09:28 UTC

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


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