Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2024-12-19 21:40:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and      /work/SRC/openSUSE:Factory/.tuned.new.29675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tuned"

Thu Dec 19 21:40:22 2024 rev:39 rq:1231760 version:2.24.1.0+git.90c24ee

Changes:
--------
--- /work/SRC/openSUSE:Factory/tuned/tuned.changes      2024-05-14 
10:35:31.410124376 +0200
+++ /work/SRC/openSUSE:Factory/.tuned.new.29675/tuned.changes   2024-12-19 
21:40:40.156777657 +0100
@@ -1,0 +2,123 @@
+Tue Dec 17 19:11:54 UTC 2024 - Mel Gorman <mgor...@suse.com>
+
+- Move gobject dependency to gtk package as it is the only utility that
+  imports gi.
+
+-------------------------------------------------------------------
+Tue Dec 17 17:52:42 UTC 2024 - Mel Gorman <mgor...@suse.com>
+
+- Remove unnecessary cpupower dependency, sysfs fallback is used instead.
+
+-------------------------------------------------------------------
+Thu Nov 28 16:27:49 UTC 2024 - tr...@suse.de
+
+- Fix below security issues found by SUSE security review of latest
+  polkit API additions. Kudos go to Matthias Gerstner (bsc#1232412)
+- fixed privileged execution of arbitrary scripts by active local user
+  resolves: CVE-2024-52336
+- added sanity checks for API methods parameters
+   resolves: CVE-2024-52337
+- Update to version 2.24.1.0+git.90c24ee:
+  * new release (2.24.1)
+  * spec: used macro for profiles path and other fixes
+  * realtime: remove leftover use of tuna
+
+-------------------------------------------------------------------
+Sat Oct 26 12:45:09 UTC 2024 - Thomas Renninger <tr...@suse.de>
+
+- Correct service cleanup calls in preun and postun scripts
+- Move tmpfile_create before service_add_post
+- Added python3-pyudev and python3-dbus-python as BuildRequires
+  for added check section
+- Move user defined profiles
+  from /etc/tuned/
+  into subdirs /etc/tuned/PROFILE
+  via spec's %post routine
+- Enable make test in check section
+- Update has at least parts of jsc#PED-10695
+
+-------------------------------------------------------------------
+Sun Aug 25 17:28:21 UTC 2024 - pallasw...@proton.me
+
+- Migrate profiles to /etc/tuned/profiles/ and /usr/lib/tuned/profiles/ 
+  * Per upstream #615 and #609
+
+- Update to version 2.24.0.2+git.c082797:
+  * controller init: set _on_battery before switching profile
+
+- New release (2.24.0)
+  * Clear plugin repository when stopping tuning
+  * man: add description of the balanced-battery profile
+
+- New release (2.24.0-rc.1)
+  * chore: remove dead irqbalance functions
+  * plugin_irqbalance: switch to IRQBALANCE_BANNED_CPULIST
+  * hotplug: wait for device initialization
+  * Add `functions` to the files copied by the release-cp Makefile target
+  * Add package2cpus and packages2uncores matcher functions
+  * uncore: Allow to configure frequency limits using percent
+  * plugin_scheduler: Adjust error logging in _set_affinity
+  * fix: expand variables in plugin_irq
+  * tests: Restore TuneD service after the error messages test
+  * tests: Do not run tunedDisableSystemdRateLimitingStart via rlRun
+  * Enable controller reset for audio by default
+  * tuned-ppd: Adjust log message emitted when battery status changes
+  * tuned-ppd: Refactor daemon initialization
+  * tuned-ppd: Remove magic constant "unknown"
+  * Add support for controlling amd-pstate core performance boost
+  * spec: Start tuned-ppd right away if swapping from active PPD
+  * spec: Add standard systemd scriptlet macros for tuned-ppd
+  * tuned-ppd: Remove PIDFile from the systemd service file
+  * tuned-ppd: Add an option to log to a file
+  * Install script functions and recommend.d to /usr/lib/tuned/
+  * Rename TUNED_PROFILESDIR to TUNED_PROFILES_DIR
+  * CNF-13015: Fix helper function not accessing the correct return result
+  * CNF-13015: Add helper function to run `lscpu` and parse result using regex 
+    parameters - This is similar to the cpuinfo function that reads from 
+    /proc/cpuinfo - Unfortunately that function was insufficient for our needs 
+    as we need to identify both the Vendor and Architecture reliably
+
+-------------------------------------------------------------------
+Sat Jun 22 15:29:45 UTC 2024 - tobi.goerg...@gmail.com
+
+- Update to version 2.23.0.2+git.5d5dbfc:
+  * chore: remove use of deprecated Logger.warn()
+  * new release (2.23.0)
+  * Disk plugin: make hdparm device checks lazy
+  * Revert "Video plugin: make hdparm device checks lazy"
+  * Video plugin: make hdparm device checks lazy
+  * Do not check for x86_energy_perf_policy if it won't be used
+  * Check that writes are necessary if they may cause redundant IPIs
+  * Add an option to skip `write_to_file` if the content would not change
+  * Turn on amdgpu panel power savings in balanced-battery
+  * Modify the video plugin for tuning of the amdgpu `panel_power_savings` 
attribute
+  * video: Don't show error when trying to read radeon files
+  * video: make missing radeon_powersave files quieter
+  * video: Rename _radeon_powersave_files to _files
+  * feat: add plugin_irq
+  * throughput-performance: dropped unused AMD related variable
+  * ppd: Adjust the detection of 'performance-degraded'
+  * ppd: Fix hold releasing
+  * ppd: Add debug logs when changing base profile
+  * Re-check dbus when (re)starting TuneD from tuned-adm profile
+  * functions: added 'log' which helps with debugging
+  * Simplify reading/writing from/to sysctl by using existing functions
+  * Fix logs in `commands.read_file`
+  * plugin_cpu: decrease the severity of _has_pm_qos==False
+  * sap-netweaver: increased vm.max_map_count
+  * daemon: buffer sighup signal
+  * tuned-ppd: Detect battery change events
+  * Migrate profiles to /etc/tuned/profiles/ and /usr/lib/tuned/profiles/
+  * Propagate unexpected exceptions in the wait exception handler
+  * Add an option to configure profile directories
+  * Use get_list to parse unix_socket_signal_path
+  * Add a function to parse lists in the global configuration
+  * Added intel_recommended_pstate builtin function.
+  * dbus: add commands to dynamically create/destroy instances
+  * dbus: ensure that hotplug operations only work on hotplug plugins
+  * instance: add priority as a property
+  * monitor_net: fixed traceback if stats cannot be read
+  * plugin_net: do not read monitors if dynamic tuning is disabled
+  * Allow equal characters in parameter value
+
+-------------------------------------------------------------------

Old:
----
  tuned-2.22.1.2+git.86ac977.obscpio

New:
----
  tuned-2.24.1.0+git.90c24ee.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tuned.spec ++++++
--- /var/tmp/diff_new_pack.hW1IKw/_old  2024-12-19 21:40:40.728801366 +0100
+++ /var/tmp/diff_new_pack.hW1IKw/_new  2024-12-19 21:40:40.728801366 +0100
@@ -16,9 +16,10 @@
 #
 
 
-%define         profile_dir %{_prefix}/lib/%{name}
+%define         system_dir %{_prefix}/lib/%{name}/
+%define         profile_dir %{system_dir}profiles/
 Name:           tuned
-Version:        2.22.1.2+git.86ac977
+Version:        2.24.1.0+git.90c24ee
 Release:        0
 Summary:        A dynamic adaptive system tuning daemon
 License:        GPL-2.0-or-later
@@ -33,9 +34,11 @@
 BuildRequires:  desktop-file-utils
 BuildRequires:  pkgconfig
 BuildRequires:  python3-base
+BuildRequires:  python3-dbus-python
+# needed by check section
+BuildRequires:  python3-pyudev
 BuildRequires:  pkgconfig(systemd)
 # need perf_bias now
-Requires:       cpupower >= 4.19
 Requires:       ethtool
 Requires:       gawk
 Requires:       hdparm
@@ -43,11 +46,13 @@
 Requires:       python3-configobj
 Requires:       python3-dbus-python
 Requires:       python3-decorator
-Requires:       python3-gobject
 Requires:       python3-linux-procfs
 Requires:       python3-pyudev
 Requires:       util-linux
 Requires:       virt-what
+Conflicts:      laptop-mode-tools
+Conflicts:      power-profiles-daemon
+Conflicts:      tlp
 BuildArch:      noarch
 %{?systemd_requires}
 
@@ -86,6 +91,7 @@
 Group:          System/Base
 Requires:       %{name} = %{version}
 Requires:       powertop
+Requires:       python3-gobject
 
 %description gtk
 GTK GUI that can control tuned and provide simple profile editor.
@@ -166,18 +172,30 @@
 %description profiles-spectrumscale
 Additional tuned profile(s) optimized for IBM Spectrum Scale.
 
+%package ppd
+Summary:        PPD compatibility daemon
+Requires:       %{name} = %{version}
+Conflicts:      ppd-service
+# The compatibility daemon is swappable for power-profiles-daemon
+Provides:       ppd-service
+
+%description ppd
+An API translation daemon that allows applications to easily transition
+to TuneD from power-profiles-daemon (PPD).
+
 %prep
 %autosetup -p1
 
 %build
 # The tuned daemon is written in pure Python. Nothing requires to be built.
 # Just a hack to avoid installation in a wrong directory
-sed -i 's|usr/libexec/tuned|%{profile_dir}|' Makefile
+sed -i 's|usr/libexec/tuned|%{system_dir}|' Makefile
 sed -i 's|$(SYSCONFDIR)/modprobe.d|%{_modprobedir}|' Makefile
 sed -i 's|$(SYSCONFDIR)/dbus-1/system.d|%{_datadir}/dbus-1/system.d|' Makefile
 
 %install
-%make_install TUNED_PROFILESDIR=%{profile_dir}
+%make_install TUNED_PROFILES_DIR=%{profile_dir}
+make install-ppd DESTDIR=%{buildroot} TUNED_PROFILES_DIR=%{profile_dir}
 # we do not have the python perf module (see bsc #1217758)
 rm 
%{buildroot}/%{python3_sitelib}/tuned/plugins/plugin_{scheduler,irqbalance}.py
 %py3_compile %{buildroot}/%{python3_sitelib}
@@ -188,22 +206,38 @@
 ln -sf service %{buildroot}%{_sbindir}/rctuned
 
 %if 0%{?sle_version} && %{?suse_version} < 1599
-rm -r %{buildroot}%{_prefix}/lib/tuned/sap-netweaver
-rm -r %{buildroot}%{_prefix}/lib/tuned/sap-hana
+rm -r %{buildroot}%{profile_dir}/sap-netweaver
+rm -r %{buildroot}%{profile_dir}/sap-hana
 rm %{buildroot}%{_mandir}/man7/tuned-profiles-sap.7
 rm %{buildroot}%{_mandir}/man7/tuned-profiles-sap-hana.7
 %endif
 
+%check
+make test PYTHON=python3
+
 %post
-%service_add_post %{name}.service
-%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
+%tmpfiles_create %{name}.conf
+%systemd_post %{name}.service
+
+# migrate all user-defined profiles from /etc/tuned/ to /etc/tuned/profiles/
+for f in %{_sysconfdir}/tuned/*; do
+  if [ -e "$f/tuned.conf" ]; then
+    mv -n "$f" %{_sysconfdir}/tuned/profiles/
+  fi
+done
+
+%post ppd
+%systemd_post %{name}-ppd.service
 
 %pre
-%service_add_pre %{name}.service
+%systemd_pre %{name}.service
 # Avoid restoring outdated stuff in posttrans
 [ ! -f "%{_sysconfdir}/modprobe.d/tuned.conf.rpmsave" ] || \
   mv -f "%{_sysconfdir}/modprobe.d/tuned.conf.rpmsave" 
"%{_sysconfdir}/modprobe.d/tuned.conf.rpmsave.old" || :
 
+%pre ppd
+%systemd_pre %{name}-ppd.service
+
 %posttrans
 # Migration of modprobe.conf files to _modprobedir
 [ ! -f "%{_sysconfdir}/modprobe.d/tuned.conf.rpmsave" ] || \
@@ -212,9 +246,15 @@
 %preun
 %service_del_preun %{name}.service
 
+%preun ppd
+%service_del_preun %{name}-ppd.service
+
 %postun
 %service_del_postun %{name}.service
 
+%postun ppd
+%service_del_postun %{name}-ppd.service
+
 %files
 %license COPYING
 %doc AUTHORS README.md
@@ -224,28 +264,30 @@
 %{_sbindir}/tuned
 %{_sbindir}/tuned-adm
 %{_sbindir}/rctuned
-%dir %{profile_dir}
-%dir %{profile_dir}/recommend.d
+%dir %{system_dir}
+%dir %{system_dir}/recommend.d
 %exclude %{python3_sitelib}/tuned/gtk
 
 # General files
-%{profile_dir}/pmqos-static.py
-%{profile_dir}/functions
-%{profile_dir}/recommend.d/50-tuned.conf
-%{profile_dir}/defirqaffinity.py
+%{system_dir}/pmqos-static.py
+%{system_dir}/functions
+%{system_dir}/recommend.d/50-tuned.conf
+%{system_dir}/defirqaffinity.py
 
 %if 0%{?sle_version} && %{?suse_version} < 1599
-%exclude %{_prefix}/lib/tuned/sap-netweaver
-%exclude %{_prefix}/lib/tuned/sap-hana
-%exclude %{_prefix}/lib/tuned/sap-hana-kvm-guest
+%exclude %{profile_dir}/sap-netweaver
+%exclude %{profile_dir}/sap-hana
+%exclude %{profile_dir}/sap-hana-kvm-guest
 %exclude %{_mandir}/man7/tuned-profiles-sap.7%{?ext_man}
 %exclude %{_mandir}/man7/tuned-profiles-sap-hana.7%{?ext_man}
 %endif
 
 # Profiles included in main package - alphabetically sorted
+%dir %{profile_dir}
 %{profile_dir}/accelerator-performance
 %{profile_dir}/aws
 %{profile_dir}/balanced
+%{profile_dir}/balanced-battery
 %{profile_dir}/cpu-partitioning
 %{profile_dir}/cpu-partitioning-powersave
 %{profile_dir}/desktop
@@ -268,10 +310,11 @@
 %config(noreplace) 
%{_sysconfdir}/tuned/cpu-partitioning-powersave-variables.conf
 %config(noreplace) %{_sysconfdir}/tuned/tuned-main.conf
 %config(noreplace) %{_sysconfdir}/tuned/profile_mode
+%config(noreplace) %{_sysconfdir}/tuned/profiles
 %config(noreplace) %{_sysconfdir}/tuned/post_loaded_profile
 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/bootcmdline
-%{_sysconfdir}/grub.d
-%{_tmpfilesdir}/tuned.conf
+%config %{_sysconfdir}/grub.d
+%{_tmpfilesdir}/%{name}.conf
 %{_unitdir}/tuned.service
 %{_modprobedir}/tuned.conf
 %{_datadir}/dbus-1/system.d/com.redhat.tuned.conf
@@ -332,12 +375,12 @@
 
 %files profiles-postgresql
 %defattr(-,root,root,-)
-%{_prefix}/lib/tuned/postgresql
+%{profile_dir}/postgresql
 %{_mandir}/man7/tuned-profiles-postgresql.7*
 
 %files profiles-spectrumscale
 %defattr(-,root,root,-)
-%{_prefix}/lib/tuned/spectrumscale-ece
+%{profile_dir}/spectrumscale-ece
 %{_mandir}/man7/tuned-profiles-spectrumscale-ece.7*
 
 %files profiles-openshift
@@ -363,3 +406,11 @@
 %{_mandir}/man8/diskdevstat.*
 %{_mandir}/man8/scomes.*
 
+%files ppd
+%{_sbindir}/tuned-ppd
+%{_unitdir}/tuned-ppd.service
+%{_datadir}/dbus-1/system-services/net.hadess.PowerProfiles.service
+%{_datadir}/dbus-1/system.d/net.hadess.PowerProfiles.conf
+%{_datadir}/polkit-1/actions/net.hadess.PowerProfiles.policy
+%config(noreplace) %{_sysconfdir}/tuned/ppd.conf
+

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.hW1IKw/_old  2024-12-19 21:40:40.776803356 +0100
+++ /var/tmp/diff_new_pack.hW1IKw/_new  2024-12-19 21:40:40.780803522 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/redhat-performance/tuned</param>
-              <param 
name="changesrevision">86ac9777981db7880a614ff21908ecbeb611e1ba</param></service></servicedata>
+              <param 
name="changesrevision">90c24eea037c7a5e9414c93f8fb3e549ed4a7b06</param></service></servicedata>
 (No newline at EOF)
 

++++++ tuned-2.22.1.2+git.86ac977.obscpio -> tuned-2.24.1.0+git.90c24ee.obscpio 
++++++
++++ 5424 lines of diff (skipped)

++++++ tuned.obsinfo ++++++
--- /var/tmp/diff_new_pack.hW1IKw/_old  2024-12-19 21:40:41.040814299 +0100
+++ /var/tmp/diff_new_pack.hW1IKw/_new  2024-12-19 21:40:41.044814465 +0100
@@ -1,5 +1,5 @@
 name: tuned
-version: 2.22.1.2+git.86ac977
-mtime: 1709055039
-commit: 86ac9777981db7880a614ff21908ecbeb611e1ba
+version: 2.24.1.0+git.90c24ee
+mtime: 1732625537
+commit: 90c24eea037c7a5e9414c93f8fb3e549ed4a7b06
 

Reply via email to