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 1891435 - Rules of type Service Disabled do not have clear description on which actions the user should take [rhel-7.9.z]
Summary: Rules of type Service Disabled do not have clear description on which actions...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: scap-security-guide
Version: 7.9
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Gabriel Gaspar Becker
QA Contact: Matus Marhefka
Jan Fiala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-26 09:29 UTC by Dushyant
Modified: 2021-04-28 07:03 UTC (History)
10 users (show)

Fixed In Version: scap-security-guide-0.1.54-3.el7_9
Doc Type: Bug Fix
Doc Text:
.Service Disabled rules are no longer ambiguous Previously, rule descriptions for the Service Disabled type in the SCAP Security Guide provided options for disabling and masking a service but did not specify whether the user should disable the service, mask it, or both. With the release of the link:https://access.redhat.com/errata/RHBA-2021:1383[RHBA-2021:1383] advisory, rule descriptions, remediations, and OVAL checks have been aligned and inform users that they must mask a service to disable it.
Clone Of:
Environment:
Last Closed: 2021-04-27 11:30:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dushyant 2020-10-26 09:29:15 UTC
Description of problem:

After openscap security scan with the following profile:

"Standard System Security Profile for Red Hat Enterprise Linux 7"
"xccdf_org.ssgproject.content_profile_standard"

Rule Id: "xccdf_org.ssgproject.content_rule_service_ntpdate_disabled"

- Even if the ntpdate.service is disabled, the result is fail
------------------------------------------------------------
Disable ntpdate Service (ntpdate)          low	     fail
------------------------------------------------------------

- With the Description :
-------------------------------------------------------------------------------
The ntpdate service sets the local hardware clock by polling NTP servers when the system boots. It synchronizes to the NTP servers listed in /etc/ntp/step-tickers or /etc/ntp.conf and then sets the local hardware clock to the newly synchronized system time. The ntpdate service can be disabled with the following command:

$ sudo systemctl disable ntpdate.service
The ntpdate service can be masked with the following command:
$ sudo systemctl mask ntpdate.service
-------------------------------------------------------------------------------

- But the text is not clear whether both disable and mask commands should be executed or not.

Version-Release number of selected component (if applicable):

scap-security-guide-0.1.49-13.el7.noarch

How reproducible:

Steps to Reproduce:
1. install "scap-security-guide-0.1.49-13.el7.noarch".
2. Ensure the ntpdate.service is disabled.
3. Scan the system using standard profile "xccdf_org.ssgproject.content_profile_standard"

Actual results:
Rule Id:  "xccdf_org.ssgproject.content_rule_service_ntpdate_disabled"
------------------------------------------------------------
Disable ntpdate Service (ntpdate)          low	     fail
------------------------------------------------------------
The description is not clear.


Expected results:
   The description should have a clear text about what should be done on the system.

Comment 2 Gabriel Gaspar Becker 2020-11-02 08:47:49 UTC
Fixed upstream: https://github.com/ComplianceAsCode/content/pull/6298

Comment 3 Gabriel Gaspar Becker 2020-11-10 09:22:28 UTC
Another patch is required to completely fix this issue: https://github.com/ComplianceAsCode/content/pull/6346

Comment 20 errata-xmlrpc 2021-04-27 11:30:11 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 (scap-security-guide bug fix and enhancement update), 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-2021:1383


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