Skip to content

RHEL 7 - file_ownership_library_dirs remediation fails due to chown file dereference/access  #8303

@mildas

Description

@mildas

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:

  1. Install machine using E8 kickstart
  2. Check HTML report created by OAA during installation

or

  1. $ 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

Metadata

Metadata

Assignees

Labels

productization-issueIssue found in upstream stabilization process.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions