icinga2: /etc/icinga2 must be owned by the Icinga user, not root

Following the changes for 2.11 in https://github.com/Icinga/icinga2/issues/4947
This commit is contained in:
Michael Friedrich 2019-07-18 14:59:39 +02:00
parent c464985b06
commit 42c8ea0ab7
1 changed files with 1 additions and 1 deletions

View File

@ -739,7 +739,7 @@ fi
%{_libexecdir}/%{name}/prepare-dirs
%{_libexecdir}/%{name}/safe-reload
%attr(0750,root,%{icinga_group}) %dir %{_sysconfdir}/%{name}
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}/conf.d
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}/features-available
%exclude %{_sysconfdir}/%{name}/features-available/ido-*.conf