Hello community, here is the log from the commit of package ctdb for openSUSE:Factory checked in at 2014-02-06 07:06:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ctdb (Old) and /work/SRC/openSUSE:Factory/.ctdb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ctdb" Changes: -------- --- /work/SRC/openSUSE:Factory/ctdb/ctdb.changes 2013-12-09 07:05:13.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ctdb.new/ctdb.changes 2014-02-06 07:06:06.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Feb 4 13:28:39 UTC 2014 - [email protected] + +- Create /run/ctdb with systemd-tmpfiles on post-12.2 systems; (bnc#862075). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ctdb.spec ++++++ --- /var/tmp/diff_new_pack.ZBKuBv/_old 2014-02-06 07:06:07.000000000 +0100 +++ /var/tmp/diff_new_pack.ZBKuBv/_new 2014-02-06 07:06:07.000000000 +0100 @@ -23,6 +23,8 @@ %define libtdb_version 1.2.12 %define libtevent_version 0.9.18 +%{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d} + Summary: Clustered TDB License: GPL-3.0+ Group: System/Daemons @@ -153,6 +155,9 @@ %endif %if 0%{?suse_version} > 1220 %{__install} -m 0755 config/ctdb.service %{buildroot}%{_unitdir}/ctdb.service +# create tmpfile conf +install -d -m 0755 %{buildroot}/%{_tmpfilesdir} +echo "d /run/ctdbd 0755 root root" >%{buildroot}/%{_tmpfilesdir}/ctdb.conf %else %{__install} -m 0755 config/ctdb.init ${RPM_BUILD_ROOT}/%{initdir}/ctdb %endif @@ -182,6 +187,7 @@ %if 0%{?suse_version} > 1220 %{fillup_only} %service_add_post ctdb.service +%{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/ctdb.conf %else %{fillup_and_insserv} %endif @@ -217,6 +223,9 @@ %config(noreplace) %{_sysconfdir}/ctdb/gcore_trace.sh %if 0%{?suse_version} > 1220 %attr(755,root,root) %{_unitdir}/ctdb.service +%dir %{_tmpfilesdir} +%{_tmpfilesdir}/ctdb.conf +%ghost %dir /run/ctdbd %else %attr(755,root,root) %{initdir}/ctdb %endif -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
