Bug 2185791

Summary: offline support for the sysctl probe
Product: Red Hat Enterprise Linux 8 Reporter: Jakub Hrozek <jhrozek>
Component: openscapAssignee: Evgeny Kolesnikov <ekolesni>
Status: VERIFIED --- QA Contact: Milan Lysonek <mlysonek>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.6CC: ekolesni, mhaicman, mlysonek, mmarhefk
Target Milestone: rcKeywords: AutoVerified, Triaged
Target Release: 8.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openscap-1.3.8-1.el8_6 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jakub Hrozek 2023-04-11 08:10:46 UTC
Description of problem:
The sysctl probe does not seem to have offline support. I'd like the probe to enable the offline support so that we can detect default sysctls on RHCOS.

Version-Release number of selected component (if applicable):
whatever is the latest

How reproducible:
easy

Steps to Reproduce:
1. scan RHCOS with compliance operator
2.
3.

Actual results:
the probe would only succeed if the sysctl is set explicitly

Expected results:
the probe shoud detect the sysctl even when set by default

Additional info:
see the discussion in https://issues.redhat.com/browse/OCPBUGS-11422

Comment 1 Evgeny Kolesnikov 2023-06-12 20:34:21 UTC
Upstream PR: https://github.com/OpenSCAP/openscap/pull/1976