Permalink
Browse files

Fix log permission/ownership/packaging issues (RHBZ#869812)

  • Loading branch information...
1 parent 73eb019 commit 44c95744a2cb80b5b57fdca4fd1149570fcecccf @jeckersb jeckersb committed Oct 25, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 contrib/aeolus-configure.spec.in
@@ -36,6 +36,7 @@ Aeolus Configure Puppet Recipe
%build
%install
+%{__mkdir} -p %{buildroot}%{_localstatedir}/log/%{name}
%{__mkdir} -p %{buildroot}/%{_mandir}/man1
%{__mkdir} -p %{buildroot}/%{aeolushome}/modules/aeolus %{buildroot}/%{_sbindir}
%{__mkdir} -p %{buildroot}/%{_bindir}
@@ -61,6 +62,9 @@ Aeolus Configure Puppet Recipe
%config(noreplace) %{_sysconfdir}/aeolus-configure/*
%attr(0600, root, root) %{_sysconfdir}/aeolus-configure/nodes/*
%attr(0755, root, root) %{_sbindir}/aeolus-services
+%attr(0750, root, root) %{_localstatedir}/log/%{name}
+%attr(0640, root, root) %ghost %{_localstatedir}/log/%{name}/%{name}.log
+%attr(0640, root, root) %ghost %{_localstatedir}/log/%{name}/aeolus-cleanup.log
%doc %{_mandir}/man1/*
%{aeolushome}

0 comments on commit 44c9574

Please sign in to comment.