summaryrefslogtreecommitdiff
path: root/ctdb/packaging
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2018-03-05 20:38:51 +1100
committerMartin Schwenke <martins@samba.org>2018-03-09 07:08:24 +0100
commit9fe85f4cc935313af6b65f80c7fbfc9d7ebc3916 (patch)
tree315f36744088f846e508d807285b2e61f4416b4a /ctdb/packaging
parentbf250fe5957581adda60d2f9ae2014dd556e92b4 (diff)
downloadsamba-9fe85f4cc935313af6b65f80c7fbfc9d7ebc3916.tar.gz
ctdb-packaging: Package up relevant /var subdirectories
They're already created at installation time. This way they don't need to be created at startup. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/packaging')
-rw-r--r--ctdb/packaging/RPM/ctdb.spec.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/packaging/RPM/ctdb.spec.in b/ctdb/packaging/RPM/ctdb.spec.in
index da5c8e6a15f..4ef3dcf871a 100644
--- a/ctdb/packaging/RPM/ctdb.spec.in
+++ b/ctdb/packaging/RPM/ctdb.spec.in
@@ -220,6 +220,8 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man7/ctdb.7.gz
%{_mandir}/man7/ctdb-statistics.7.gz
%{_mandir}/man7/ctdb-tunables.7.gz
+%attr(0700,root,root) %dir %{_localstatedir}/lib/ctdb
+%attr(0700,root,root) %dir %{_localstatedir}/run/ctdb
%package devel