- Add tmpfiles.d file to make systemd-tmpfiles create/set correct

ownership/permissions of /var/lib/haproxy
  Resolves: RHEL-120178
This commit is contained in:
Oyvind Albrigtsen 2025-10-21 16:55:03 +02:00
parent ff0fc35418
commit 7b357ee235

View File

@ -8,7 +8,7 @@
Name: haproxy
Version: 2.8.14
Release: 1%{?dist}
Release: 2%{?dist}
Summary: HAProxy reverse proxy for high availability environments
License: GPLv2+
@ -94,6 +94,9 @@ do
rm -f $textfile.old
done
mkdir -p %{buildroot}%{_tmpfilesdir}
echo "d /var/lib/haproxy 0755 root root - -" > %{buildroot}%{_tmpfilesdir}/%{name}.conf
%pre
%sysusers_create_compat %{SOURCE5}
@ -125,8 +128,14 @@ done
%{_bindir}/ip6range
%{_mandir}/man1/*
%{_sysusersdir}/%{name}.conf
%{_tmpfilesdir}/%{name}.conf
%changelog
* Tue Oct 21 2025 Oyvind Albrigtsen <oalbrigt@redhat.com> - 2.8.14-2
- Add tmpfiles.d file to make systemd-tmpfiles create/set correct
ownership/permissions of /var/lib/haproxy
Resolves: RHEL-120178
* Mon Apr 7 2025 Oyvind Albrigtsen <oalbrigt@redhat.com> - 2.8.14-1
- Rebase to 2.8.14
Resolves: RHEL-74039