diff --git a/booth.spec b/booth.spec index f5e16f6..ac660b8 100644 --- a/booth.spec +++ b/booth.spec @@ -22,6 +22,10 @@ %bcond_with html_man %bcond_with glue +## User and group to use for nonprivileged services (should be in sync with pacemaker) +%global uname hacluster +%global gname haclient + # Disable automatic compilation of Python files in extra directories %global _python_bytecompile_extra 0 @@ -57,7 +61,7 @@ Name: booth Version: %{boothver} -Release: %{boothrel}%{?dist}.1 +Release: %{boothrel}%{?dist}.2 Summary: Ticket Manager for Multi-site Clusters License: GPLv2+ Url: https://github.com/%{github_owner}/%{name} @@ -252,6 +256,9 @@ VERBOSE=1 make check %dir %{_sysconfdir}/booth %exclude %{_sysconfdir}/booth/booth.conf.example +%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/booth/ +%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/booth/cores + %files arbitrator %{_unitdir}/booth@.service %{_unitdir}/booth-arbitrator.service @@ -280,6 +287,9 @@ VERBOSE=1 make check /usr/lib/ocf/resource.d/booth/sharedrsc %changelog +* Mon Jun 1 2020 Jan Friesse - 1.0-5.385cc25.git.2 +- Package /var/lib/booth where booth can chroot + * Thu May 28 2020 Jan Friesse - 1.0-5.385cc25.git.1 - Fix test subpackage generating