tuned service fails with error DeviceNotFoundAtPathError in RHEL8
Issue
- tuned service fails with error below:
[root@test ~]# systemctl status tuned
● tuned.service - Dynamic System Tuning Daemon
Loaded: loaded (/usr/lib/systemd/system/tuned.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2023-08-10 09:34:02 CEST; 19min ago
Docs: man:tuned(8)
man:tuned.conf(5)
man:tuned-adm(8)
Process: 1028 ExecStart=/usr/sbin/tuned -l -P (code=exited, status=1/FAILURE)
Main PID: 1028 (code=exited, status=1/FAILURE)
Aug 10 09:34:02 test tuned[1028]: File "/usr/lib/python3.6/site-packages/pyudev/device/__init__.py", line >
Aug 10 09:34:02 test tuned[1028]: from ._device import Attributes
Aug 10 09:34:02 test tuned[1028]: File "/usr/lib/python3.6/site-packages/pyudev/device/_device.py", line 4>
Aug 10 09:34:02 test tuned[1028]: from pyudev.device._errors import DeviceNotFoundAtPathError
Aug 10 09:34:02 test tuned[1028]: File "/usr/lib/python3.6/site-packages/pyudev/device/_errors.py", line 3>
Aug 10 09:34:02 test tuned[1028]: from six import add_metaclass
Aug 10 09:34:02 test tuned[1028]: ModuleNotFoundError: No module named 'six'
Aug 10 09:34:02 test systemd[1]: tuned.service: Main process exited, code=exited, status=1/FAILURE
Aug 10 09:34:02 test systemd[1]: tuned.service: Failed with result 'exit-code'.
Aug 10 09:34:02 test systemd[1]: Failed to start Dynamic System Tuning Daemon.
Environment
- Red Hat Enterprise Linux 8
- tuned
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.