-
Bug
-
Resolution: Duplicate
-
Undefined
-
None
-
rhel-8.10
-
None
-
No
-
Important
-
rhel-upgrades
-
None
-
False
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
When executing leapp preupgrade on a system having fapolicyd started, the following failure shows up:
Traceback (most recent call last): File "/usr/lib64/python3.6/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib64/python3.6/multiprocessing/process.py", line 93, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.6/site-packages/leapp/repository/actor_definition.py", line 75, in _do_run actor_instance.run(*args, **kwargs) File "/usr/lib/python3.6/site-packages/leapp/actors/__init__.py", line 296, in run self.process(*args) File "/etc/leapp/repos.d/system_upgrade/common/actors/targetuserspacecreator/actor.py", line 60, in process userspacegen.perform() File "/usr/lib/python3.6/site-packages/leapp/utils/deprecation.py", line 42, in process_wrapper return target_item(*args, **kwargs) File "/etc/leapp/repos.d/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py", line 1269, in perform _create_target_userspace(context, indata, indata.packages, indata.files, target_repoids) File "/etc/leapp/repos.d/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py", line 1117, in _create_target_userspace _prep_repository_access(context, target_path) File "/etc/leapp/repos.d/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py", line 629, in _prep_repository_access run(["chroot", target_userspace, "/bin/bash", "-c", "su - -c update-ca-trust"]) File "/usr/lib/python3.6/site-packages/leapp/libraries/stdlib/__init__.py", line 192, in run result=result leapp.libraries.stdlib.CalledProcessError: Command ['chroot', '/var/lib/leapp/el9userspace', '/bin/bash', '-c', 'su - -c update-ca-trust'] failed with exit code 127. 2025-04-29 16:32:48.980 ERROR PID: 8810 leapp.workflow.TargetTransactionFactsCollection: Actor target_userspace_creator has crashed: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/leapp/repository/actor_definition.py", line 75, in _do_run actor_instance.run(*args, **kwargs) File "/usr/lib/python3.6/site-packages/leapp/actors/__init__.py", line 296, in run self.process(*args) File "/etc/leapp/repos.d/system_upgrade/common/actors/targetuserspacecreator/actor.py", line 60, in process userspacegen.perform() File "/usr/lib/python3.6/site-packages/leapp/utils/deprecation.py", line 42, in process_wrapper return target_item(*args, **kwargs) File "/etc/leapp/repos.d/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py", line 1269, in perform _create_target_userspace(context, indata, indata.packages, indata.files, target_repoids) File "/etc/leapp/repos.d/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py", line 1117, in _create_target_userspace _prep_repository_access(context, target_path) File "/etc/leapp/repos.d/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py", line 629, in _prep_repository_access run(["chroot", target_userspace, "/bin/bash", "-c", "su - -c update-ca-trust"]) File "/usr/lib/python3.6/site-packages/leapp/libraries/stdlib/__init__.py", line 192, in run result=result leapp.libraries.stdlib.CalledProcessError: Command ['chroot', '/var/lib/leapp/el9userspace', '/bin/bash', '-c', 'su - -c update-ca-trust'] failed with exit code 127.
Please write an inhibitor for this and also update the Documentation accordingly (the Documentation never states fapolicyd has to be stopped, only that the DB must be updated afterwards).
- duplicates
-
RHEL-65599 Leapp fails while running "su - -c update-ca-trust" exit code 127 with fapolicy enabled [rhel-8]
-
- Closed
-
- links to