From 9868a10d1eff144858ea1c5bf45f4fb88e3d352cb4c5e060704d8586a2b21451 Mon Sep 17 00:00:00 2001 From: James Fehlig Date: Mon, 3 Apr 2017 15:26:48 +0000 Subject: [PATCH] Accepting request 484795 from home:pluskalm:branches:Virtualization - Use correct permissions on unit files (bsc#1032046) OBS-URL: https://build.opensuse.org/request/show/484795 OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=34 --- sanlock.changes | 5 +++++ sanlock.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sanlock.changes b/sanlock.changes index 8257cdf..ebda803 100644 --- a/sanlock.changes +++ b/sanlock.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 3 07:21:10 UTC 2017 - mpluskal@suse.com + +- Use correct permissions on unit files (bsc#1032046) + ------------------------------------------------------------------- Wed Mar 29 10:49:35 UTC 2017 - meissner@suse.com diff --git a/sanlock.spec b/sanlock.spec index 4b94ebd..381974d 100644 --- a/sanlock.spec +++ b/sanlock.spec @@ -186,9 +186,9 @@ install -D -m 755 %SOURCE2 $RPM_BUILD_ROOT/%{_localstatedir}/adm/fillup-template install -D -m 755 %SOURCE4 $RPM_BUILD_ROOT/%{_localstatedir}/adm/fillup-templates/sysconfig.wdmd %if %{with_systemd} -install -D -m 755 init.d/sanlock.service $RPM_BUILD_ROOT/%{_unitdir}/sanlock.service +install -D -m 644 init.d/sanlock.service $RPM_BUILD_ROOT/%{_unitdir}/sanlock.service ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcsanlock -install -D -m 755 init.d/wdmd.service $RPM_BUILD_ROOT/%{_unitdir}/wdmd.service +install -D -m 644 init.d/wdmd.service $RPM_BUILD_ROOT/%{_unitdir}/wdmd.service ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcwdmd %if %{with_fence_sanlockd} install -D -m 0755 %SOURCE5 $RPM_BUILD_ROOT/usr/lib/systemd/systemd-fence_sanlockd