RHEL8 installation failed with PCI-DSS security policy when an file which name contains non-UTF-8 characters exists.

Solution In Progress - Updated -


  • The RHEL8 installation could not complete with unexpected error, which was caused by applying the PCI-DSS security policy.
  • The installation should be able to complete without this problem, and the oscap problem can be reviewed after the installation.
  • The following is the python traceback related.
anaconda exception report
Traceback (most recent call first):
File "/usr/share/anaconda/addons/org_fedora_oscap/common.py", line 140, in execute
self.stderr = stderr.decode()
File "/usr/share/anaconda/addons/org_fedora_oscap/common.py", line 269, in run_oscap_remediate
File "/usr/share/anaconda/addons/org_fedora_oscap/ks/oscap.py", line 549, in execute
File "/usr/lib64/python3.6/site-packages/pyanaconda/addons.py", line 92, in execute
v.execute(storage, ksdata, instClass, users, payload)
File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 446, in run_task
self._task(*self._task_args, **self._task_kwargs)
File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 453, in run_task
raise e
File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 487, in start
File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 311, in start
File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 311, in start
File "/usr/lib64/python3.6/site-packages/pyanaconda/installation.py", line 211, in doConfiguration
File "/usr/lib64/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 286, in run
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc7 in position 558: invalid continuation byte


Red Hat Enterprise Linux (RHEL) 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In