fix creation of /var/log/sa in image mode
Resolves: RHEL-129980
This commit is contained in:
parent
8fc656616c
commit
537ecff9da
1
sysstat-tmpfiles.conf
Normal file
1
sysstat-tmpfiles.conf
Normal file
@ -0,0 +1 @@
|
||||
d /var/log/sa 0755 root root -
|
||||
11
sysstat.spec
11
sysstat.spec
@ -1,7 +1,7 @@
|
||||
Summary: Collection of performance monitoring tools for Linux
|
||||
Name: sysstat
|
||||
Version: 12.5.4
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
License: GPLv2+
|
||||
URL: http://sebastien.godard.pagesperso-orange.fr/
|
||||
Source: https://github.com/sysstat/sysstat/archive/v%{version}.tar.gz
|
||||
@ -9,6 +9,7 @@ Source: https://github.com/sysstat/sysstat/archive/v%{version}.tar.gz
|
||||
# Use colors in sysstat output
|
||||
Source1: colorsysstat.csh
|
||||
Source2: colorsysstat.sh
|
||||
Source3: sysstat-tmpfiles.conf
|
||||
|
||||
# arithmetic overflow in allocate_structures() on 32 bit systems (CVE-2022-39377)
|
||||
Patch1: sysstat-12.5.4-CVE-2022-39377.patch
|
||||
@ -77,6 +78,10 @@ mkdir -p %{buildroot}%{_sysconfdir}/profile.d
|
||||
install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d
|
||||
install -p -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d
|
||||
|
||||
# tmpfiles config
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir}
|
||||
install -p -m 644 %SOURCE3 ${RPM_BUILD_ROOT}%{_tmpfilesdir}/%{name}.conf
|
||||
|
||||
%post
|
||||
%systemd_post sysstat.service sysstat-collect.timer sysstat-summary.timer
|
||||
|
||||
@ -101,8 +106,12 @@ fi
|
||||
%{_systemd_util_dir}/system-sleep/sysstat*
|
||||
%{_mandir}/man*/*
|
||||
%{_localstatedir}/log/sa
|
||||
%{_tmpfilesdir}/%{name}.conf
|
||||
|
||||
%changelog
|
||||
* Mon Dec 01 2025 Lukáš Zaoral <lzaoral@redhat.com> - 12.5.4-10
|
||||
- fix creation of /var/log/sa in image mode (RHEL-129980)
|
||||
|
||||
* Tue Jul 30 2024 Lukáš Zaoral <lzaoral@redhat.com> - 12.5.4-9
|
||||
- don't cap SVG graph output at 100% (RHEL-39002)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user