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

Review packages in xwindows_remove_packages rule #12394

Open
marcusburghardt opened this issue Sep 18, 2024 · 0 comments
Open

Review packages in xwindows_remove_packages rule #12394

marcusburghardt opened this issue Sep 18, 2024 · 0 comments
Labels
Oracle Linux Oracle Linux product related. RHEL Red Hat Enterprise Linux product related. SLES SUSE Linux Enterprise Server product related. Update Rule Issues or pull requests related to Rules updates.

Comments

@marcusburghardt
Copy link
Member

marcusburghardt commented Sep 18, 2024

Description of problem:

The rule xwindows_remove_packages tries to remove the following packages:

  • xorg-x11-server-common
  • xorg-x11-server-utils
  • xorg-x11-server-Xorg
  • xorg-x11-server-Xwayland

SCAP Security Guide Version:

master branch as of 2024-09-18

Operating System Version:

RHEL, SLES and OL

Steps to Reproduce:

  1. ./build_product rhel9 sle15 ol9
  2. ./tests/automatus.py rule --libvirt qemu:///session --datastream build/ssg--ds.xml --dontclean --remediate-using bash xwindows_remove_packages

Actual Results:

Depending on the product, the test scenarios will fail because some of the packages are not present.

Expected Results:

Only the relevant packages for each product should be considered.

Additional Information/Debugging Steps:

A simpler way to test is checking the availability of these packages in a system.

@marcusburghardt marcusburghardt added RHEL Red Hat Enterprise Linux product related. Oracle Linux Oracle Linux product related. SLES SUSE Linux Enterprise Server product related. Update Rule Issues or pull requests related to Rules updates. labels Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Oracle Linux Oracle Linux product related. RHEL Red Hat Enterprise Linux product related. SLES SUSE Linux Enterprise Server product related. Update Rule Issues or pull requests related to Rules updates.
Projects
None yet
Development

No branches or pull requests

1 participant