Resolves: #2144500 - AVC error when reloading FRR with provided reload script
This commit is contained in:
parent
c77e3b4511
commit
bf0b074c96
2
frr.fc
2
frr.fc
@ -1,4 +1,4 @@
|
||||
/usr/libexec/frr(/.*)? gen_context(system_u:object_r:frr_exec_t,s0)
|
||||
/usr/libexec/frr/(.*)? gen_context(system_u:object_r:frr_exec_t,s0)
|
||||
|
||||
/usr/lib/systemd/system/frr.* gen_context(system_u:object_r:frr_unit_file_t,s0)
|
||||
|
||||
|
9
frr.spec
9
frr.spec
@ -7,7 +7,7 @@
|
||||
|
||||
Name: frr
|
||||
Version: 8.3.1
|
||||
Release: 3%{?checkout}%{?dist}
|
||||
Release: 4%{?checkout}%{?dist}
|
||||
Summary: Routing daemon
|
||||
License: GPLv2+
|
||||
URL: http://www.frrouting.org
|
||||
@ -227,10 +227,10 @@ fi
|
||||
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/%{name}.pp.bz2
|
||||
%selinux_relabel_post -s %{selinuxtype}
|
||||
#/var/tmp and /var/run need to be relabeled as well if FRR is running before upgrade
|
||||
##if [ $1 == 2 ]; then
|
||||
if [ $1 == 2 ]; then
|
||||
%{_sbindir}/restorecon -R /var/tmp/frr &> /dev/null
|
||||
%{_sbindir}/restorecon -R /var/run/frr &> /dev/null
|
||||
##fi
|
||||
fi
|
||||
|
||||
%postun selinux
|
||||
if [ $1 -eq 0 ]; then
|
||||
@ -275,6 +275,9 @@ make check PYTHON=%{__python3}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Nov 24 2022 Michal Ruprich <mruprich@redhat.com> - 8.3.1-4
|
||||
- Resolves: #2144500 - AVC error when reloading FRR with provided reload script
|
||||
|
||||
* Wed Oct 19 2022 Michal Ruprich <mruprich@redhat.com> - 8.3.1-3
|
||||
- Related: #2129743 - Adding missing rules for vtysh and other daemons
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user