/var/log/ganesha -> ganesha_var_log_t
see https://github.com/nfs-ganesha/nfs-ganesha/issues/212
This commit is contained in:
parent
ce0cac8bbe
commit
d05aff4352
@ -102,7 +102,7 @@ Requires: openSUSE-release
|
|||||||
|
|
||||||
Name: nfs-ganesha
|
Name: nfs-ganesha
|
||||||
Version: 2.5.2
|
Version: 2.5.2
|
||||||
Release: 4%{?dev:%{dev}}%{?dist}
|
Release: 5%{?dev:%{dev}}%{?dist}
|
||||||
Summary: NFS-Ganesha is a NFS Server running in user space
|
Summary: NFS-Ganesha is a NFS Server running in user space
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: LGPLv3+
|
License: LGPLv3+
|
||||||
@ -497,6 +497,7 @@ make DESTDIR=%{buildroot} install
|
|||||||
%if ( 0%{?suse_version} )
|
%if ( 0%{?suse_version} )
|
||||||
%service_add_post nfs-ganesha.service nfs-ganesha-lock.service nfs-ganesha-config.service
|
%service_add_post nfs-ganesha.service nfs-ganesha-lock.service nfs-ganesha-config.service
|
||||||
%else
|
%else
|
||||||
|
semanage fcontext -a -t ganesha_var_log_t /var/log/ganesha/
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
%systemd_post nfs-ganesha.service
|
%systemd_post nfs-ganesha.service
|
||||||
%systemd_post nfs-ganesha-lock.service
|
%systemd_post nfs-ganesha-lock.service
|
||||||
@ -543,7 +544,7 @@ exit 0
|
|||||||
%dir %{_rundir}/ganesha
|
%dir %{_rundir}/ganesha
|
||||||
%dir %{_libexecdir}/ganesha/
|
%dir %{_libexecdir}/ganesha/
|
||||||
%{_libexecdir}/ganesha/nfs-ganesha-config.sh
|
%{_libexecdir}/ganesha/nfs-ganesha-config.sh
|
||||||
%dir %attr(0755,ganesha,root) %{_localstatedir}/log/ganesha
|
%dir %attr(0755,ganesha,ganesha) %{_localstatedir}/log/ganesha
|
||||||
|
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
%{_unitdir}/nfs-ganesha.service
|
%{_unitdir}/nfs-ganesha.service
|
||||||
@ -706,6 +707,10 @@ exit 0
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 22 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.2-5
|
||||||
|
- /var/log/ganesha -> ganesha_var_log_t
|
||||||
|
- see https://github.com/nfs-ganesha/nfs-ganesha/issues/212
|
||||||
|
|
||||||
* Fri Sep 22 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.2-4
|
* Fri Sep 22 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.2-4
|
||||||
- /var/log/ganesha owner ganesha.ganesha -> ganesha.root
|
- /var/log/ganesha owner ganesha.ganesha -> ganesha.root
|
||||||
- see https://github.com/nfs-ganesha/nfs-ganesha/issues/212
|
- see https://github.com/nfs-ganesha/nfs-ganesha/issues/212
|
||||||
|
Loading…
Reference in New Issue
Block a user