[PATCH] ceph.spec.in: create /var/log/ceph/stat dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



the logrotate config expects a var/log/ceph/stat dir - create it.


diff --git a/ceph.spec.in b/ceph.spec.in
index a74702d..908a65b 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -73,6 +73,7 @@ chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/ceph/
sample.ceph.conf
 install -m 0644 -D debian/ceph.logrotate $RPM_BUILD_ROOT%{_sysconfdir}/
logrotate.d/ceph
 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ceph/tmp/
 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/ceph/
+mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/ceph/stat
 
 %clean
 rm -rf $RPM_BUILD_ROOT

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux