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 1676894 - probe_selinuxsecuritycontext generates probe errors while scap scanning
Summary: probe_selinuxsecuritycontext generates probe errors while scap scanning
Keywords:
Status: CLOSED DUPLICATE of bug 1640522
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openscap
Version: 7.6
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Jan Černý
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-13 14:18 UTC by Akshay Kapse
Modified: 2019-05-13 09:24 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-13 09:24:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Akshay Kapse 2019-02-13 14:18:59 UTC
Description of problem:
probe_selinuxsecuritycontext generates probe errors while scanning

Version-Release number of selected component (if applicable):
openscap-1.2.17-2.el7.x86_64
scap-security-guide-0.1.40-12.el7.noarch  (for reproducer)

How reproducible:
Reliably

Steps to Reproduce:
1. oscap xccdf eval --xccdf-id scap_org.open-scap_cref_ssg-rhel7-xccdf-1.2.xml --oval-results --report xccdf_org.ssgproject.content_profile_C2S.html --progress --profile xccdf_org.ssgproject.content_profile_C2S /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml


Actual results:
xccdf_org.ssgproject.content_rule_selinux_policytype:pass
xccdf_org.ssgproject.content_rule_package_setroubleshoot_removed:pass
xccdf_org.ssgproject.content_rule_selinux_confinement_of_daemons:E: probe_selinuxsecuritycontext: Can't get context for /proc/2/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/3/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/5/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/7/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/8/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/9/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/10/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/11/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/13/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/14/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/15/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/16/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/17/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/18/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/19/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/20/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/21/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/22/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/23/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/24/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/30/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/31/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/32/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/33/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/41/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/43/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/44/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/45/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/47/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/60/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/92/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/696/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/713/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/719/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/723/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/732/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/914/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/923/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/1735/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/1745/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/1754/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/2843/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/2844/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/2857/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/2858/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/2870/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/2902/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/2903/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6043/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6047/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6051/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6055/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6058/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6064/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6070/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6076/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6082/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6087/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6091/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6098/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6600/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6601/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6604/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6605/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6606/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6607/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6609/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6610/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6612/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6613/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6625/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6626/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6630/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6631/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6658/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/6659/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/61462/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/110016/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/110041/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/110287/exe: No such file or directory
E: probe_selinuxsecuritycontext: Can't get context for /proc/111361/exe: No such file or directory
fail
xccdf_org.ssgproject.content_rule_selinux_state:pass
xccdf_org.ssgproject.content_rule_accounts_password_warn_age_login_defs:pass

Expected results:


Additional info:

Comment 3 Jan Černý 2019-02-18 08:07:31 UTC
This has been fixed upstream in https://github.com/OpenSCAP/openscap/pull/1222

Comment 9 Akshay Kapse 2019-05-08 13:13:39 UTC
Hello Team,

Cu has requested to get this solved in current RHEL version i.e. 7.6 only.

Let me know if we can have HotFix specifically for case 02308678, since this customer in particular made their Smart Management/Satellite purchase based on their need to utilize SCAP in their environment. Or any suggestions/workaround with an earlier version of SCAP that wasn't affected by this?


Thanks & Regards,
Akshay Kapse

Comment 12 Jan Černý 2019-05-13 09:24:57 UTC

*** This bug has been marked as a duplicate of bug 1640522 ***


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