Commit Graph

47 Commits

Author SHA256 Message Date
Thomas Renninger
4035734b6f Accepting request 905262 from home:trenn:branches:Base:System
- Update to version 2.15.0+git.1625694366.bc3f737:
  * bootloader: support for systems that don't have grub installed
  * Removing depedency on python-decorator package.
  * Adding support for rpm-ostree system to bootloader plugin.
  * profiles: drop sched_ tuning where appropriate
  * scheduler: abstract sched_ and numa_ knobs
  * realtime-virtual-*: Set irqaffinity through kernel command line
  * After error while switching profiles attribute _active_profiles is not changed back.
    That causes issues with wrong signals (and also more issues with restart after etc)
- Enhance _service file

OBS-URL: https://build.opensuse.org/request/show/905262
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=79
2021-07-12 17:20:31 +00:00
Thomas Renninger
4b190e77a7 Accepting request 886729 from home:trenn:branches:Base:System
- Update _service file to always get latest sources from github
  master branch and auto-set version correctly
- Update to version v2.15.0+git.20210416.e828fa8:
  * plugin_net: Fix check for channels supported mode
  * udev: explicitly sort udev properties
  * powertop2tuned: work with PowerTOP 2.13 and newer
  * Changes to scheduler plugin to support os interface instead of schedutils in newer python versions.
  * Lower the threading.Event's wait() timeout.
  * added postgresql server profile
  * spectrumcale-ece: package the profile to own subpackage

- Update to version 2.14.0
  Changelog entry below (from 19. Aug. 2020) is wrong.
  Mainline has the profiles in /usr/lib,
  so let's better stay there, too. This also fixes bsc#1175932.
  Patch is not needed anymore with latest mainline changes:
D adjust_README_path_in_manpage.patch

OBS-URL: https://build.opensuse.org/request/show/886729
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=77
2021-04-19 17:40:19 +00:00
c2173122fb Accepting request 827865 from home:dimstar:Factory
- Dot not mangle _tmpfilesdir: all half-way decent distros define
  this already.
- Define profile_dir as %{_libexecdir}/%{name}: stay closer in line
  with what upstream actually coded (with the change of libexecdir
  to /usr/libexec in Tumbleweed, we are in the equal path now).

OBS-URL: https://build.opensuse.org/request/show/827865
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=75
2020-08-20 15:55:14 +00:00
Thomas Renninger
38f8e1b687 Accepting request 814152 from home:aaronpuchert:branches:Base:System
- Update to version 2.13.0. Note that the previous version was not
  in fact 2.22.0, but commit 8c9df99, 28 commits before 2.13.0.

OBS-URL: https://build.opensuse.org/request/show/814152
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=73
2020-06-16 11:19:20 +00:00
Thomas Renninger
ca470d6885 Accepting request 770178 from home:trenn:branches:Base:System
- Add /etc/dbus-1/system.d directory to file section as done in other
  packages (double checked with wicked) to avoid build error:
  tuned-2.4.1-9.10.1.noarch.rpm: directories not owned by a package:
     - /etc/dbus-1
     - /etc/dbus-1/system.d

OBS-URL: https://build.opensuse.org/request/show/770178
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=71
2020-02-05 09:30:43 +00:00
Thomas Renninger
2488b5975a Accepting request 751330 from home:trenn:branches:Base:System
- Update to latest 2.22.0 release
  includes bug fix for bsc#1139249
- Use self defined profile_dir instead of _libexecdir
- Always add pmqos-static.py
  This was wrongly bound to profiles-nfv package
- Remove defirqaffinity
  It is not called anymore. Merge request pending:
  https://github.com/redhat-performance/tuned/pull/223

OBS-URL: https://build.opensuse.org/request/show/751330
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=69
2019-11-27 13:48:25 +00:00
Thomas Renninger
fecb89ca50 Accepting request 712882 from home:trenn:branches:Base:System
- Upgrade to latest 2.12.0 version(git commit b514cda168878c330b70416676)
  - Removes sap-hana-vmware profile

OBS-URL: https://build.opensuse.org/request/show/712882
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=67
2019-07-01 15:42:09 +00:00
Thomas Renninger
02dbae1a81 Accepting request 706359 from home:trenn:branches:Base:System
- Limit /var/log/tuned directory permissions to 750

OBS-URL: https://build.opensuse.org/request/show/706359
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=65
2019-05-29 15:10:58 +00:00
Thomas Renninger
834e9b6f0b Accepting request 705687 from home:trenn:branches:Base:System
- Adjust README path in manpage (bsc#1131858)
A adjust_README_path_in_manpage.patch

- Upgrade to latest git HEAD (v2.11.0 + latest fixes):
  commit b4d9dfc31c46ed9cda100f03227ac5be087d3d74
  Date:   Fri Apr 5 10:49:17 2019 +0200
- tuned gui does not need polkit anymore as it can now run as non-root
  user
- Fixes bsc#1126609
- Includes this patch:
D tuned_differ_x86_and_other_archs_in_cpu_plugin.patch

OBS-URL: https://build.opensuse.org/request/show/705687
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=64
2019-05-27 14:16:13 +00:00
Thomas Renninger
a033f1382e OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=62 2019-01-25 12:03:21 +00:00
Thomas Renninger
0ef0947c4e - Require virt-what to be able to detect whether it is running
on a virtual machine

OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=61
2019-01-25 11:40:30 +00:00
Thomas Renninger
7a33cd767d A tuned_differ_x86_and_other_archs_in_cpu_plugin.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=60
2019-01-25 11:22:32 +00:00
Thomas Renninger
a4956fdd5b Accepting request 668599 from home:trenn:branches:Base:System
- Differ archs and x86 CPU vendors to avoid wrong warning about a
  missing intel tool (x86_energy_perf_bias)
- Remember arch and x86 CPU vendor to allow arch/vendor specific
  CPU tunings in the future (fate#326694)

OBS-URL: https://build.opensuse.org/request/show/668599
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=59
2019-01-25 11:20:50 +00:00
Thomas Renninger
a69c857421 Accepting request 664867 from home:trenn:branches:Base:System
- tuned needs polkit daemon running

OBS-URL: https://build.opensuse.org/request/show/664867
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=58
2019-01-11 19:21:03 +00:00
Thomas Renninger
b354546011 Accepting request 664862 from home:trenn:branches:Base:System
- Update to latest git head commit 26db89de18efad1b4536
  including quite some mainline fixes

OBS-URL: https://build.opensuse.org/request/show/664862
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=57
2019-01-11 18:51:00 +00:00
Thomas Renninger
a386903106 Accepting request 662697 from home:trenn:branches:Base:System
- Remove sap subpackages entirely for SLE and Leap products.
  These conflict with possible other SLE optimized sap subpackages
  (bnc#1064832).
- Create systemd tmpfiles correctly for different releases again.

OBS-URL: https://build.opensuse.org/request/show/662697
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=55
2019-01-03 16:10:06 +00:00
b20ead1a27 Accepting request 661437 from home:lachs0r:branches:Base:System
- Add missing dependency on python3-linux-procfs

OBS-URL: https://build.opensuse.org/request/show/661437
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=53
2018-12-27 09:24:56 +00:00
Thomas Renninger
3cd1aeceb6 Accepting request 657143 from home:trenn:branches:Base:System
- Go for 2.10.0 full version in _service (even this is rc1)
  bsc#1071436
  Latest included git commit:
  commit 3722b151920dc20735dc15cbd45aed7b573fdfc2
  Date:   Wed Nov 21 14:21:32 2018 +0100
  Still keep the old git version parameter commented out, maybe
  I need this again.
- Since cpupower also has perf_bias binary, the cpupower call to
  switch this has been reverted to lower maintenance overhead
D    check_for_cpupower.patch
D    use-cpupower-for-intel-perf-bias.patch
- Update to version 2.10.0:
  * Add range feature for cpu exclusion
  * Disable KSM only once, re-enable it only on full rollback
  * Add log message for unsupported parameters in plugin_net
  * Add missing feature parameters aliases to plugin_net
  * Make virtual-host identical to latency-performance

OBS-URL: https://build.opensuse.org/request/show/657143
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=51
2018-12-11 11:33:23 +00:00
Thomas Renninger
c5b77f0851 Accepting request 593952 from home:scarabeus_iv:branches:Base:System
The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected).

- Reintroduce the _service file as we must use git head in order to
  get all the python3 fixes in
- Update to version 2.9.0+git20180328.d25e8b8:
  * makefile: dropped KVM unit tests, now provided by standalone package
  * sysctl: support assignment modifiers as other plugins do
  * spec: used weak deps for tuned-profiles-nfv-host-bin
  * Added requires to tuned-profiles-nfv-host-bin
  * Dropped tuned-profiles-nfv-host-bin subpackage
  * tuned: Add readahead comment to throughput-performance tuned.conf
  * oracle: fixed ip_local_port_range parity warning
  * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning
- Rebase check_for_cpupower.patch to apply cleanly again
- Version update to 2.9.0:
  * python3 porting start
  * various small fixes
- Drop patches merged upstream:
  * fix-desktop-category.patch
  * remove-unnecessary-shebangs.patch
  * fix-glade-file-permission.patch
- Switch to autopatch from calling all individual patchlines
- Switch to python3 and format with spec-cleaner
- Switch to normal url fetching, there is no actual reason to run
  service in order to generate the versioned tarballs

OBS-URL: https://build.opensuse.org/request/show/593952
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 12:42:13 +00:00
Denisart Benjamin
87c81f4b36 Accepting request 577191 from home:dimstar:Factory
- Own %{_sysconfdir}/dbus-1/system.d and %{_sysconfdir}/dbus-1: in
  the past systemd happened to install things there and 'own' the
  directory for us, but that was just a coincidence.
- Replace systemd BuildRequires with pkgconfig(systemd), allowing
  OBS to pick systemd-mini for the build.

Addresses the build failure seen in openSUSE:Factory:
[   46s] tuned-2.8.0-2.3.noarch.rpm: directories not owned by a package:
[   46s]  - /etc/dbus-1
[   46s]  - /etc/dbus-1/system.d

OBS-URL: https://build.opensuse.org/request/show/577191
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=48
2018-02-22 11:41:28 +00:00
Thomas Renninger
21bbd5cfee Accepting request 542201 from home:jloeser:branches:Base:System
check for `cpupower` binary and set attribute correctly (bsc#1055070)

OBS-URL: https://build.opensuse.org/request/show/542201
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=46
2017-11-16 12:33:45 +00:00
9f4e1202ba Accepting request 510119 from home:fschnizlein:branches:Base:System
- Update to version 2.8.0:
  * builtin functions: parser not traceback if func expands to empty string
  * systemd: added support for older systemd CPUAffinity syntax
  * scheduler: do not traceback if process dissapears during enumeration
  * scheduler: fix more python-linux-procfs tracebacks
  * plugin_net: Fix invocation of execute()
  * cpu-partitioning: use tuna for cores isolation
  * builtin functions: add strip
  * bootloader: workaround for adding tuned_initrd to new kernels on restart
  * new release (2.8.0)
  + Add Patch: Fix category in desktop file for tuned-gui (fix-desktop-category.patch)
  + Add Patch: Remove unnecessary shebangs (remove-unnecessary-shebangs.patch)
  + Add Patch: Fix file permission for glade file (fix-glade-file-permission.patch)
  + Add rpmlintrc to silence unnecessary warnings
  = Modified Patches to apply with 2.8.0:
    - fix-allow-receive_sender-default.patch
    - use-cpupower-for-intel-perf-bias.patch

OBS-URL: https://build.opensuse.org/request/show/510119
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=43
2017-07-26 21:28:14 +00:00
Denisart Benjamin
185b14dacf Accepting request 354167 from home:pluskalm:branches:Base:System
- Update to 2.6.0
  * plugin_cpu: do not show error if cpupower or 
    x86_energy_perf_policy are missing
  * plugin_sysctl: fixed quoting of sysctl values
  * tuned-adm: added log file location hint to verify command output
  * libexec: fixed listdir and isdir in defirqaffinity.py
  * plugin_cpu: save and restore only intel pstate attributes that 
    were changed
  * functions: fixed sysfs save to work with options
  * plugins: added scsi_host plugin
  * tuned-adm: fixed restart attempt if tuned is not running
  * spec: fixed post scriptlet to work without grub
  * tuned-profiles-nfv: fix find-lapictscdeadline-optimal.sh for 
    CPUS where ns > 6500
  * functions: fixed restore_logs_syncing to preserve SELinux 
    context on rsyslog.conf
  * realtime: set unboud workqueues cpumask
  * spec: correctly remove tuned footprint from /etc/default/grub
  * gui: fixed creation of new profile
  * profiles: removed nohz_full from the realtime profile
  * profiles: Added nohz_full and nohz=on to realtime guest/host 
    profiles
  * profiles: fixed lapic_timer_adv_ns cache
  * plugin_sysctl: pass verification even if the option doesn't 
    exist
  * added support for 'summary' and 'description' of profiles, 
    extended D-Bus API for better Cockpit support

OBS-URL: https://build.opensuse.org/request/show/354167
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=41
2016-01-17 09:49:46 +00:00
Stephan Kulow
587b69d4d6 Accepting request 334789 from home:pluskalm:branches:Base:System
- Fix build for openSUSE Leap (lack of tmpfiles.d macro)

OBS-URL: https://build.opensuse.org/request/show/334789
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=39
2015-09-30 07:03:07 +00:00
13fd8ee5cb Accepting request 323671 from home:pluskalm:branches:Base:System
- Update to 2.5.1
  * plugin_scheduler: work with nohz_full (rhbz#1247184)
  * fixed realtime-virtual-guest/host profiles packaged twice 
    (rhbz#1249028)
  * fixed requirements of realtime and nfv profiles
  * fixed tuned-gui not starting (boo#937647)
  * various other minor fixes

OBS-URL: https://build.opensuse.org/request/show/323671
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=37
2015-08-17 20:33:33 +00:00
Thomas Renninger
ae2ed4568c Accepting request 316844 from home:pluskalm:branches:Base:System
- tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch
  * fixed indentation and tabs usage

OBS-URL: https://build.opensuse.org/request/show/316844
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=35
2015-07-15 11:30:42 +00:00
Thomas Renninger
11670d30c6 Accepting request 316254 from home:pluskalm:branches:Base:System
- Update to 2.5.0
- Rebase patch:
  * tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch 
- Drop patch included in upstream
  * tuned-powertop2tuned-fix-KeyError-on-id-attribute.patch

OBS-URL: https://build.opensuse.org/request/show/316254
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=33
2015-07-13 11:59:01 +00:00
Denisart Benjamin
f4273c4f86 Accepting request 315866 from home:bmwiedemann:branches:Base:System
fix syntax (bnc#937647)

OBS-URL: https://build.opensuse.org/request/show/315866
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=32
2015-07-10 20:35:28 +00:00
Denisart Benjamin
7cf0298290 Accepting request 279948 from home:posophe:branches:Base:System
Add tuned-powertop2tuned-fix-KeyError-on-id-attribute.patch;
  fix bnc#888599

OBS-URL: https://build.opensuse.org/request/show/279948
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=30
2015-01-05 15:08:00 +00:00
Denisart Benjamin
7d660c5825 Accepting request 257369 from home:oholecek:branches:Base:System
- Update to version 2.4.1
  + plugin_disk: set_spindown and set_APM made independent (rhbz#976725)
  + plugin_bootloader: added check for grub2 (rhbz#1150047)
  + tuned-adm: fixed traceback on "tuned-adm list" (rhbz#1149162)
  + plugin_bootloader: 00_tuned do not return error if there is no cmdline (rhbz#1151768, bsc#901180)
  + fixed polkit configuration

- Remove tuned-2.4.0-polkit-tuned-gui-path.patch

OBS-URL: https://build.opensuse.org/request/show/257369
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=27
2014-10-17 13:57:23 +00:00
Denisart Benjamin
4bff336ccf Accepting request 255080 from home:posophe:branches:Base:System
Little fix

OBS-URL: https://build.opensuse.org/request/show/255080
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=25
2014-10-11 15:25:44 +00:00
Denisart Benjamin
a527f03135 Accepting request 254973 from home:posophe:branches:Base:System
Updates + changes

OBS-URL: https://build.opensuse.org/request/show/254973
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=23
2014-10-10 12:23:15 +00:00
Thomas Renninger
c8500f9107 Accepting request 235209 from home:jsegitz:branches:Base:System
- added necessary macros for systemd files

OBS-URL: https://build.opensuse.org/request/show/235209
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=21
2014-05-23 13:27:39 +00:00
Thomas Renninger
745f1b62b5 Accepting request 228419 from home:trenn:branches:Base:System
- Use cpupower {info,set} -b to set Intel perf bias value instead of
  x86_energy_perf_policy we do not ship.
  Add use_cpupower_for_intel_perf_bias
- Add rctuned service link in /usr/sbin
- Mark pm-profiler obsoleted by this package

OBS-URL: https://build.opensuse.org/request/show/228419
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=19
2014-04-01 10:55:46 +00:00
Denisart Benjamin
94505d21cf Accepting request 220638 from home:babelworx:ldig:branches:Base:System
license update: GPL-2.0+
No sign of GPL-2.0 (only) licensed components

OBS-URL: https://build.opensuse.org/request/show/220638
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=16
2014-02-02 21:49:11 +00:00
Denisart Benjamin
03e47b0d68 Accepting request 212025 from home:posophe:branches:Base:System
update

OBS-URL: https://build.opensuse.org/request/show/212025
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=15
2013-12-22 15:44:27 +00:00
Denisart Benjamin
5d04abe001 Accepting request 204062 from home:sumski:hazard:to:your:stereo
Adjust Requires again: we are openSUSE, not Fedora, so require python-gobject2 instead of non-existant pygobject2

OBS-URL: https://build.opensuse.org/request/show/204062
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=14
2013-10-20 21:22:39 +00:00
a4b19407cf Accepting request 203443 from home:sumski:hazard:to:your:stereo
Update to version 2.2.2 (built successfully, as i cheated, and built rpmlint in my branch)

OBS-URL: https://build.opensuse.org/request/show/203443
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=13
2013-10-16 08:03:04 +00:00
Denisart Benjamin
b0deb9a8bf Accepting request 154905 from home:posophe:branches:Base:System
Update to 2.2.0

OBS-URL: https://build.opensuse.org/request/show/154905
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=12
2013-02-08 11:51:42 +00:00
Denisart Benjamin
c914a2717f Accepting request 146356 from home:posophe:branches:Base:System
Update to 2.1.1 and some changes

OBS-URL: https://build.opensuse.org/request/show/146356
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=11
2012-12-24 20:42:04 +00:00
5464f138be format_spec_file
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=10
2012-11-21 15:15:47 +00:00
Denisart Benjamin
3296d9f81f OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=8 2012-10-30 18:43:59 +00:00
Denisart Benjamin
66987eba6b OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=5 2012-10-30 14:03:44 +00:00
Denisart Benjamin
4515ea67b3 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=4 2012-10-30 14:00:27 +00:00
Denisart Benjamin
7a3196eb3f OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=3 2012-10-30 13:56:22 +00:00
Denisart Benjamin
d9b229f7aa OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=2 2012-10-30 13:53:37 +00:00
Andreas Jaeger
82f6f347b4 Accepting request 139769 from home:avli
laptop-mode-tools doesn't support systemd. Tuned is an alternative whose works fine with systemd, developped by redhat

OBS-URL: https://build.opensuse.org/request/show/139769
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=1
2012-10-30 13:29:21 +00:00