Skip to content
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

Automatus coredump_disable_storage/coredumps_storage_none.pass fails on RHEL-10 #12878

Closed
comps opened this issue Jan 22, 2025 · 0 comments · Fixed by #12885
Closed

Automatus coredump_disable_storage/coredumps_storage_none.pass fails on RHEL-10 #12878

comps opened this issue Jan 22, 2025 · 0 comments · Fixed by #12885
Assignees
Labels
productization-issue Issue found in upstream stabilization process. RHEL10 Red Hat Enterprise Linux 10 product related.
Milestone

Comments

@comps
Copy link
Collaborator

comps commented Jan 22, 2025

Description of problem:

The test echoes the config option just fine,

##### coredump_disable_storage / coredumps_storage_none.pass.sh #####
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o IdentityFile=/var/lib/libvirt/images/contest.sshkey [email protected] cd /root/ssgts/coredump_disable_storage; SHARED=/root/ssgts/shared bash -x coredumps_storage_none.pass.sh
STDERR: Warning: Permanently added '192.168.120.180' (ED25519) to the list of known hosts.
+ echo Storage=none

but then oscap fails to find it via a regexp match (see ARF).

My guess is that the lack of a default coredump.conf causes the [Coredump] header to not be present, and the test only appends to the end of the file,

echo Storage=none >> /etc/systemd/coredump.conf

So that this line becomes the only line in the newly-created coredump.conf.

OVAL then fails to find the [Coredump] header and fails.

SCAP Security Guide Version:

master @ 1424df5

Operating System Version:

RHEL-10

Additional Information/Debugging Steps:

@comps comps added productization-issue Issue found in upstream stabilization process. RHEL10 Red Hat Enterprise Linux 10 product related. labels Jan 22, 2025
@Mab879 Mab879 self-assigned this Jan 22, 2025
@Mab879 Mab879 added this to the 0.1.76 milestone Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
productization-issue Issue found in upstream stabilization process. RHEL10 Red Hat Enterprise Linux 10 product related.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants