Bug 46426 - tuned не запускается через gui
Summary: tuned не запускается через gui
Status: ASSIGNED
Alias: None
Product: Sisyphus
Classification: Development
Component: tuned-gtk (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Vitaly Chikunov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-07 12:45 MSK by Vera Blagoveschenskaya
Modified: 2023-06-07 19:25 MSK (History)
2 users (show)

See Also:


Attachments
скрин-1 (38.23 KB, image/png)
2023-06-07 12:45 MSK, Vera Blagoveschenskaya
no flags Details
скрин 2 (69.71 KB, image/png)
2023-06-07 12:45 MSK, Vera Blagoveschenskaya
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vera Blagoveschenskaya 2023-06-07 12:45:29 MSK
Created attachment 13417 [details]
скрин-1

tuned-utils-2.16.0-alt2
tuned-gtk-2.16.0-alt2
Стенд: Workstation p10, обновленный до Сизифа 

1) Установить пакеты tuned tuned-gtk tuned-utils
2) Выполнить команду
# tuned-adm profile virtual-guest && tuned-adm active
3) Запустить tuned-gui. Через интерфейс приложения перевести в выключенное положение ползунки "Start Tuned Daemon" и "Tuned On Startup". См. скрин 1.
4) Выполнить перезагрузку системы.
5) Запустить tuned-gui. В появившемся сообщении "Daemon tuned is not running" нажать "Turn On". См. скрин 2.

Ожидаемый результат: сервис запустился, приложение открылось.

Реальный результат: сервис не запустился, ошибки в терминале:

$ /usr/sbin/tuned-gui 
Cannot run program service: No such file or directory
Traceback (most recent call last):
  File "/usr/lib64/python3/site-packages/dbus/bus.py", line 177, in activate_name_owner
    return self.get_name_owner(bus_name)
  File "/usr/lib64/python3/site-packages/dbus/bus.py", line 361, in get_name_owner
    return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
  File "/usr/lib64/python3/site-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'com.redhat.tuned': no such name

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/site-packages/tuned/admin/dbus_controller.py", line 31, in _init_proxy
    self._proxy = bus.get_object(self._bus_name, self._object_name)
  File "/usr/lib64/python3/site-packages/dbus/bus.py", line 241, in get_object
    return self.ProxyObjectClass(self, bus_name, object_path,
  File "/usr/lib64/python3/site-packages/dbus/proxies.py", line 250, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib64/python3/site-packages/dbus/bus.py", line 182, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib64/python3/site-packages/dbus/bus.py", line 277, in start_service_by_name
    return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
  File "/usr/lib64/python3/site-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name com.redhat.tuned was not provided by any .service files

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/sbin/tuned-gui", line 903, in <module>
    base = Base()
  File "/usr/sbin/tuned-gui", line 135, in __init__
    self.plugin_loader = tuned.gtk.gui_plugin_loader.GuiPluginLoader()
  File "/usr/lib/python3/site-packages/tuned/gtk/gui_plugin_loader.py", line 66, in __init__
    self._get_plugins()
  File "/usr/lib/python3/site-packages/tuned/gtk/gui_plugin_loader.py", line 73, in _get_plugins
    self._plugins = self._dbus_controller.get_plugins()
  File "/usr/lib/python3/site-packages/tuned/admin/dbus_controller.py", line 149, in get_plugins
    return self._call("get_all_plugins")
  File "/usr/lib/python3/site-packages/tuned/admin/dbus_controller.py", line 75, in _call
    self._init_proxy()
  File "/usr/lib/python3/site-packages/tuned/admin/dbus_controller.py", line 34, in _init_proxy
    raise TunedAdminDBusException("Cannot talk to Tuned daemon via DBus. Is Tuned daemon running?")
tuned.admin.exceptions.TunedAdminDBusException: Cannot talk to Tuned daemon via DBus. Is Tuned daemon running?
Comment 1 Vera Blagoveschenskaya 2023-06-07 12:45:59 MSK
Created attachment 13418 [details]
скрин 2