incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clala...@apache.org
Subject svn commit: r1170603 - /incubator/deltacloud/trunk/server/support/fedora/deltacloud-core.spec
Date Wed, 14 Sep 2011 13:23:02 GMT
Author: clalance
Date: Wed Sep 14 13:23:02 2011
New Revision: 1170603

URL: http://svn.apache.org/viewvc?rev=1170603&view=rev
Log:
Make the Fedora RPM own /var/log/deltacloud-core

Not only is this recommended practice in Fedora, it also
means that we can ensure that /var/log/deltacloud-core is
owned by nobody:nobody.  This is important since the Fedora
initscript launches deltacloudd as nobody:nobody.

Signed-off-by: Chris Lalancette <clalance@redhat.com>

Modified:
    incubator/deltacloud/trunk/server/support/fedora/deltacloud-core.spec

Modified: incubator/deltacloud/trunk/server/support/fedora/deltacloud-core.spec
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/support/fedora/deltacloud-core.spec?rev=1170603&r1=1170602&r2=1170603&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/support/fedora/deltacloud-core.spec (original)
+++ incubator/deltacloud/trunk/server/support/fedora/deltacloud-core.spec Wed Sep 14 13:23:02
2011
@@ -210,6 +210,8 @@ rm -rf %{buildroot}%{app_root}/config/dr
 rm -rf %{buildroot}%{app_root}/support/fedora
 rdoc --op %{buildroot}%{_defaultdocdir}/%{name}
 
+mkdir -p %{buildroot}%{_localstatedir}/log/%{name}
+
 %install condor
 install -m 0655 %{buildroot}%{app_root}/support/condor/config/condor-cloud \
   %{buildroot}%{_sysconfdir}/sysconfig/condor-cloud
@@ -264,6 +266,7 @@ fi
 %doc %{app_root}/LICENSE
 # MIT
 %{app_root}/public/javascripts
+%dir %attr(0755, nobody, nobody) %{_localstatedir}/log/%{name}
 
 %files doc
 %defattr(-, root, root, -)



Mime
View raw message