nfs-ganesha 2.5.3, quiet semanage
This commit is contained in:
parent
1dc8241f13
commit
0f11624b71
@ -94,7 +94,7 @@ Requires: openSUSE-release
|
||||
|
||||
Name: nfs-ganesha
|
||||
Version: 2.5.3
|
||||
Release: 2%{?dev:%{dev}}%{?dist}
|
||||
Release: 3%{?dev:%{dev}}%{?dist}
|
||||
Summary: NFS-Ganesha is a NFS Server running in user space
|
||||
Group: Applications/System
|
||||
License: LGPLv3+
|
||||
@ -492,10 +492,10 @@ make DESTDIR=%{buildroot} install
|
||||
%service_add_post nfs-ganesha.service nfs-ganesha-lock.service nfs-ganesha-config.service
|
||||
%else
|
||||
%if ( 0%{?fedora} || ( 0%{?rhel} && 0%{?rhel} > 6 ) )
|
||||
semanage fcontext -a -t ganesha_var_log_t %{_localstatedir}/log/ganesha
|
||||
semanage fcontext -a -t ganesha_var_log_t %{_localstatedir}/log/ganesha/ganesha.log
|
||||
semanage fcontext -a -t ganesha_var_log_t %{_localstatedir}/log/ganesha > /dev/null 2>&1 || :
|
||||
semanage fcontext -a -t ganesha_var_log_t %{_localstatedir}/log/ganesha/ganesha.log > /dev/null 2>&1 || :
|
||||
%if %{with gluster}
|
||||
semanage fcontext -a -t ganesha_var_log_t %{_localstatedir}/log/ganesha/ganesha-gfapi.log
|
||||
semanage fcontext -a -t ganesha_var_log_t %{_localstatedir}/log/ganesha/ganesha-gfapi.log > /dev/null 2>&1 || :
|
||||
%endif
|
||||
restorecon %{_localstatedir}/log/ganesha
|
||||
%endif
|
||||
@ -708,6 +708,9 @@ exit 0
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Oct 20 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.3-3
|
||||
- nfs-ganesha 2.5.3, quiet semanage
|
||||
|
||||
* Fri Oct 20 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.3-2
|
||||
- nfs-ganesha 2.5.3, fix semanage in %%post
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user