-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Probe at sd=X (selinuxboolean) (RockyLinux8, SUSE SLE15) #1959
Comments
can you tell me if im on the right repository for this issue maybe i'm not in the right place ? |
Yes, you're in a right place. The error appears to be very strange, it'd require some time to triage. In the mean time try and reproduce it with the latest release: 1.3.7 if you can. |
Thanks @evgenyz for feedback, the v1.3.7 isn't for moment available on rockylinux official repository. Once its available I will try again and keep you in touch |
👍
Seems that the problem appears with the |
It looks like we need more logs in the probe. It either crashes or hangs. |
I think I opened it with gdb and it exited but did not produce coredump.. if you think I can debug some specific function I guess I can walk through and provide some initial feedback |
Something is wrong in |
Make sure SELinux variables are not checked when no selinux is enabled The effect of the above missing is that rules checls remediation will attempt changes to the system, but those were not applicable. Also the change communicates with a side effect we observed in OpenSCAP/openscap#1959
Just to document the effort, we have debugged the oscap tool in the reported situation, and it was caused by the oscap tool returning an error when one attempts to check selinuxboolean_object, when the system does not have selinux, i.e. security_get_boolean_names syscall returns error and sets errno ENOENT, i.e. there is no |
Description of Problem:
Trying to scan my RockyLinux8 host with the ANSSI security test and I have the following error :
OpenSCAP Version:
Operating System & Version:
Rocky Linux 8.7
4.18.0-425.13.1.el8_7.x86_64 #1 SMP Tue Feb 21 19:25:54 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Steps to Reproduce:
sudo oscap xccdf eval --report unit-test-anssi-enhanced-scan.html --profile anssi_bp28_intermediary /usr/share/xml/scap/ssg/content/ssg-rl8-ds-1.2.xml
Actual Results:
The text was updated successfully, but these errors were encountered: