Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tuned-adm off command prevents Tuned service from starting via dbus #740

Open
mnoomnoo opened this issue Jan 30, 2025 · 0 comments
Open

Comments

@mnoomnoo
Copy link

mnoomnoo commented Jan 30, 2025

I used the command tuned-adm off to turn off the tuning configs, but when I run the following python snippet (to start tuned again), it fails and tuned remains not running (is_running returns false)

import dbus

bus = dbus.SystemBus()

proxy = bus.get_object("com.redhat.tuned", "/Tuned")
stop_method = dbus.Interface(proxy, dbus_interface="com.redhat.tuned.control")

result = stop_method.start()

print( result ) # prints 0 signaling failure.

Tuned does start if I use the command: tuned-adm profile my-profile

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.10-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant