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

dbus command: "stop" doesn't stop tuned.service #722

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

dbus command: "stop" doesn't stop tuned.service #722

mnoomnoo opened this issue Jan 4, 2025 · 0 comments

Comments

@mnoomnoo
Copy link

mnoomnoo commented Jan 4, 2025

When I run the following python snippet the service doesn't seem to stop.

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.stop()

print( result )  # this prints 1
  1. I'm presented the password prompt to authenticate the dbus stop request.
  2. After I authenticate, print( result ) prints the value 1 signaling success.

When I run systemctl status tuned to check if the service has stopped, it shows the service as Active: active (running)

Am I misunderstanding what this stops? Is it stopping something internal in the daemon / service ?

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.7-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