Resolves: RHEL-128146 - Files under /var are not properly created in image-mode

This commit is contained in:
Michal Ruprich 2025-12-19 11:16:03 +01:00
parent a729add7a3
commit 5365ee77d0
2 changed files with 6 additions and 4 deletions

View File

@ -1 +1,2 @@
d /run/frr 0755 frr frr -
d /var/log/frr 0755 frr frr -

View File

@ -9,7 +9,7 @@
Name: frr
Version: 10.4.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Routing daemon
License: GPL-2.0-or-later AND ISC AND LGPL-2.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND (GPL-2.0-or-later OR ISC) AND MIT
URL: http://www.frrouting.org
@ -152,8 +152,7 @@ bzip2 -9 selinux/%{name}.pp
%install
mkdir -p %{buildroot}%{_sysconfdir}/{frr,rc.d/init.d,sysconfig,logrotate.d,pam.d,default} \
%{buildroot}%{_localstatedir}/log/frr %{buildroot}%{_infodir} \
%{buildroot}%{_unitdir}
%{buildroot}%{_infodir} %{buildroot}%{_unitdir}
mkdir -p -m 0755 %{buildroot}%{_libdir}/frr
mkdir -p %{buildroot}%{_tmpfilesdir}
@ -246,7 +245,6 @@ rm tests/lib/*grpc*
%license COPYING
%doc doc/mpls
%dir %attr(750,frr,frr) %{_sysconfdir}/frr
%dir %attr(755,frr,frr) %{_localstatedir}/log/frr
%dir %attr(755,frr,frr) /run/frr
%{_infodir}/*info*
%{_mandir}/man1/frr.1*
@ -278,6 +276,9 @@ rm tests/lib/*grpc*
%endif
%changelog
* Fri Dec 19 2025 Michal Ruprich <mruprich@redhat.com> - 10.4.1-2
- Resolves: RHEL-128146 - Files under /var are not properly created in image-mode
* Mon Dec 08 2025 Michal Ruprich <mruprich@redhat.com> - 10.4.1-1
- Resolves: RHEL-118620 - Rebase FRR in to version 10.4.1