Bug 46422 - powertop2tuned не создает новый профиль
Summary: powertop2tuned не создает новый профиль
Status: ASSIGNED
Alias: None
Product: Sisyphus
Classification: Development
Component: tuned-utils (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 11:25 MSK by Vera Blagoveschenskaya
Modified: 2023-06-07 19:24 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vera Blagoveschenskaya 2023-06-07 11:25:08 MSK
tuned-utils-2.16.0-alt2
Стенд: Workstation p10, обновленный до Сизифа 

1) Установить пакеты tuned tuned-gtk tuned-utils
2) Выполнить команду 
# powertop2tuned --new-profile myprof

Ожидаемый результат: в /etc/tuned/myprof созданы скрипт и файл конфигурации профиля
Running PowerTOP, please wait...
Generating shell script /etc/tuned/myprof/script.sh

Реальный результат: файлы не создались

Дополнительно: согласно описанию использования утилиты:
# powertop2tuned --help
usage: powertop2tuned [-h] [-i input_html] [-o output_directory] [-n] [-m MERGE_PROFILE] [-f] [-e] [profile_name]

Creates Tuned profile from Powertop HTML output.

positional arguments:
  profile_name          Name for the profile to be written.

optional arguments:
  -h, --help            show this help message and exit
  -i input_html, --input input_html
                        Path to Powertop HTML report. If not given, it is generated automatically.
  -o output_directory, --output output_directory
                        Directory where the profile will be written, default is /etc/tuned/profile_name directory.
  -n, --new-profile     Creates new profile, otherwise it merges (include) your current profile.

Generating Tuned config file /etc/tuned/myprof/tuned.conf
Comment 1 Vera Blagoveschenskaya 2023-06-07 12:08:59 MSK
Дополнительно: удалось создать новый профель через приложение tuned-gtk
После создания через gui:
# ls -l /etc/tuned/myprofile1/
итого 4
-rw-r--r-- 1 root root 33 июн  7 12:06 tuned.conf