content icon indicating copy to clipboard operation
content copied to clipboard

template issue: file_groupowner fails tests of itself

Open alanmcanonical opened this issue 7 months ago • 2 comments

Description of problem:

The rule root_permissions_syslibrary_files uses template file_groupowner. During automatus.py rule-based test, the template failed the missing_file_test.pass at initial stage.

These are two causes:

  • /lib/dbus-1.0/dbus-daemon-launch-helper has GID 106
  • /lib64 is a symbolic link and cause oval to throw: items were missing: Object oval:ssg-object_file_groupownerroot_permissions_syslibrary_files_1:obj:1 of type file_object

Below is the oval result:

root_permissions_syslibrary_files-missing_file_test.pass.sh-initial.verbose.log

SCAP Security Guide Version:

OpenSCAP command line tool (oscap) 1.2.17

Operating System Version:

Ubuntu 22.04 (building env) Ubuntu 20.04 (testing env)

Steps to Reproduce:

  1. Build Ubuntu 20.04
  2. Use the rule-based automatus.py to test root_permissions_syslibrary_files

Actual Results:

Expected Results:

Additional Information/Debugging Steps:

alanmcanonical avatar Jul 05 '24 06:07 alanmcanonical