Description of problem:
During kickstart installation of E8 profile, the file_ownership_library_dirs remediation fails due chown error with dereference or with access.
SCAP Security Guide Version:
4bca873
Operating System Version:
RHEL 7.9
Steps to Reproduce:
- Install machine using E8 kickstart
- Check HTML report created by OAA during installation
or
$ python3 tests/test_suite.py profile --libvirt qemu:///system test_suite_vm --datastream build/ssg-rhel7-ds.xml --mode online --remediate-using oscap xccdf_org.ssgproject.content_profile_e8
Actual Results:
Remediation output:
chown: cannot dereference '/lib/debug/usr/.dwz': No such file or directory
chown: cannot dereference '/lib/modules/3.10.0-1160.el7.x86_64/build': No such file or directory
chown: cannot dereference '/lib/modules/3.10.0-1160.el7.x86_64/source': No such file or directory
chown: cannot access '/lib/firmware/brcm/brcmfmac43430a0-sdio.ONDA-V80': No such file or directory
chown: cannot access 'PLUS.txt': No such file or directory
chown: cannot access '/lib/firmware/brcm/brcmfmac43455-sdio.MINIX-NEO': No such file or directory
chown: cannot access 'Z83-4.txt': No such file or directory
basename: extra operand '(dev).py'
Try 'basename --help' for more information.
chown: cannot access '/lib/python2.7/site-packages/setuptools/script': No such file or directory
chown: cannot access 'template.py': No such file or directory
basename: extra operand '(dev).pyc'
Try 'basename --help' for more information.
...
Expected Results:
Remediation passes
Description of problem:
During kickstart installation of E8 profile, the
file_ownership_library_dirsremediation fails duechownerror with dereference or with access.SCAP Security Guide Version:
4bca873
Operating System Version:
RHEL 7.9
Steps to Reproduce:
or
$ python3 tests/test_suite.py profile --libvirt qemu:///system test_suite_vm --datastream build/ssg-rhel7-ds.xml --mode online --remediate-using oscap xccdf_org.ssgproject.content_profile_e8Actual Results:
Remediation output:
Expected Results:
Remediation passes