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.
DescriptionRudnei Bertol Jr.
2018-09-28 18:27:54 UTC
1. Proposed title of this feature request
Improve the rpm spec file of insights-client package.
2. Who is the customer behind the request?
Account: Verizon 708443
TAM customer: no
CSM customer: no
Strategic: yes
3. What is the nature and description of the request?
When the customer executes OScap scan it is finished with an error below.
```
oscap xccdf eval --fetch-remote-resources --rule xccdf_org.ssgproject.content_rule_rpm_verify_permissions --remediate --profile xccdf_org.ssgproject.content_profile_standard /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml
Downloading: https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2 ... ok
Title Verify and Correct File Permissions with RPM
Rule xccdf_org.ssgproject.content_rule_rpm_verify_permissions
Ident CCE-27209-6
Result fail
--- Starting Remediation ---
Downloading: https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2 ... ok
Title Verify and Correct File Permissions with RPM
Rule xccdf_org.ssgproject.content_rule_rpm_verify_permissions
Ident CCE-27209-6
Result error
```
4. Why does the customer need this? (List the business requirements here)
To OScap scan works smoothly in servers that have Red Hat Insight client package installed.
5. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
We can check running the oscap command to check the issue.
`oscap xccdf eval --fetch-remote-resources --rule xccdf_org.ssgproject.content_rule_rpm_verify_permissions --remediate --profile xccdf_org.ssgproject.content_profile_standard /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml`
6. Is there already an existing RFE upstream or in Red Hat Bugzilla?
No
7. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?
The tests were executed in RHEL7.
8. Is the sales team involved in this request and do they have any additional input?
No
9. List any affected packages or components.
insights-client
10. Would the customer be able to assist in testing this functionality if implemented?
The customer could, but it is reproducible anywhere openscap is executed.
*** This bug has been marked as a duplicate of bug 1570867 ***
Comment 3Marcelo Moreira de Mello
2018-10-16 20:51:54 UTC
Hello team,
This issue is not duplicated as the one reported in #1570867.
This problem is happening due whenever Insights runs, new files are created on-demand which are also tracked by the SPEC file, thus it creates a false-positive for the "rpm -V" command output which is the base used by the OpenSCAP command to filter bad permission files.
I'm reopening this bug.
mmello
1. Proposed title of this feature request Improve the rpm spec file of insights-client package. 2. Who is the customer behind the request? Account: Verizon 708443 TAM customer: no CSM customer: no Strategic: yes 3. What is the nature and description of the request? When the customer executes OScap scan it is finished with an error below. ``` oscap xccdf eval --fetch-remote-resources --rule xccdf_org.ssgproject.content_rule_rpm_verify_permissions --remediate --profile xccdf_org.ssgproject.content_profile_standard /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml Downloading: https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2 ... ok Title Verify and Correct File Permissions with RPM Rule xccdf_org.ssgproject.content_rule_rpm_verify_permissions Ident CCE-27209-6 Result fail --- Starting Remediation --- Downloading: https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2 ... ok Title Verify and Correct File Permissions with RPM Rule xccdf_org.ssgproject.content_rule_rpm_verify_permissions Ident CCE-27209-6 Result error ``` 4. Why does the customer need this? (List the business requirements here) To OScap scan works smoothly in servers that have Red Hat Insight client package installed. 5. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented. We can check running the oscap command to check the issue. `oscap xccdf eval --fetch-remote-resources --rule xccdf_org.ssgproject.content_rule_rpm_verify_permissions --remediate --profile xccdf_org.ssgproject.content_profile_standard /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml` 6. Is there already an existing RFE upstream or in Red Hat Bugzilla? No 7. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)? The tests were executed in RHEL7. 8. Is the sales team involved in this request and do they have any additional input? No 9. List any affected packages or components. insights-client 10. Would the customer be able to assist in testing this functionality if implemented? The customer could, but it is reproducible anywhere openscap is executed.