You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The correct invocation is inspect.getfullargspec() and if you change it to args = inspect.getfullargspec(func)[0] in /usr/lib/python3.12/site-packages/dbus/decorators.py around line 330 then systemctl start tuned works fine.
I have managed to make it work by changing inspect.getfullargspec() to this args = inspect.getfullargspec(func)[0] in /usr/lib/python3.12/site-packages/dbus/decorators.py. However, shouldn't it be fixed in the python3.12 rpm itself ? I am using the default that comes with AZL3: https://packages.microsoft.com/azurelinux/3.0/prod/base/x86_64/Packages/p/python3-3.12.3-2.azl3.x86_64.rpm . I think updating https://packages.microsoft.com/azurelinux/3.0/prod/base/x86_64/Packages/d/dbus-python-devel-1.2.16-3.azl3.x86_64.rpm to latest version (dbus-python 1.3.2) (I guess its taken from RHEL) should fix it.
tuned 2.21 service fails to start with python 3.12. It seems in Python3.12 inspect.getargspec() has been deprecated.
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: