From c8db76ad6ed0fd7529a7845ef31116562f5cc2c1 Mon Sep 17 00:00:00 2001 From: Tim Hardeck Date: Thu, 3 Jul 2014 17:59:02 +0200 Subject: [PATCH] Use root as default user and group to prevent issues refs #5818 --- icinga2.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icinga2.spec b/icinga2.spec index 891007975..59a47580c 100644 --- a/icinga2.spec +++ b/icinga2.spec @@ -466,9 +466,9 @@ exit 0 %defattr(-,root,root,-) %doc COPYING COPYING.Exceptions README NEWS AUTHORS ChangeLog %if 0%{?use_systemd} -%attr(644,-,0) %{_unitdir}/%{name}.service +%attr(644,root,root) %{_unitdir}/%{name}.service %else -%attr(755,-,-) %{_sysconfdir}/init.d/%{name} +%attr(755,root,root) %{_sysconfdir}/init.d/%{name} %endif %if "%{_vendor}" == "suse" %{_sbindir}/rc%{name}