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.
This bug is fixed in RHEL7.5 beta.
OLD scap-security-guide-0.1.33-6.el7.noarch:
[dahaic@dhcp-24-168 tests]$ sudo ./test_suite.py rule --hypervisor qemu:///system --domain ssg-test-suite --datastream ./ssg-0.1.33-6-ds.xml --xccdf-id scap_org.open-scap_cref_ssg-rhel7-xccdf-1.2.xml rule_aide_periodic_cron_checking
Setting console output to log level INFO
...
INFO - xccdf_org.ssgproject.content_rule_aide_periodic_cron_checking
INFO - Script not_in_cron.fail.sh using profile xccdf_org.ssgproject.content_profile_C2S OK
ERROR - Scan has exited with return code 2, instead of expected 0 during stage remediation
ERROR - The remediation failed for rule 'xccdf_org.ssgproject.content_rule_aide_periodic_cron_checking'.
INFO - All snapshots reverted successfully
NEW scap-security-guide-0.1.36-7.el7.noarch:
[dahaic@dhcp-24-168 tests]$ sudo ./test_suite.py rule --hypervisor qemu:///system --domain ssg-test-suite --datastream ./ssg-0.1.36-7-ds.xml --xccdf-id scap_org.open-scap_cref_ssg-rhel7-xccdf-1.2.xml rule_aide_periodic_cron_checking
Setting console output to log level INFO
...
INFO - xccdf_org.ssgproject.content_rule_aide_periodic_cron_checking
INFO - Script not_in_cron.fail.sh using profile xccdf_org.ssgproject.content_profile_C2S OK
INFO - All snapshots reverted successfully
Bug is still occurring for both NIST and STIG profiles in the RHEL7.5 release.
Running scan report using scap-security-guide-0.1.36-9.el7.5.noarch and for remediation SCAP Security Guide 0.1.39 version.
Have to add entry on remediation task by adding cron_file: /etc/crontab
as it creates the crontab entry but not updating the /etc/crontab file.