Accepting request 969479 from home:darix:branches:network

- Own /etc/keepalived/keepalived.conf as %ghost entry
  otherwise upgrading the package will always move the
  /etc/keepalived/keepalived.conf to
  /etc/keepalived/keepalived.conf.rpmsave
- make permissions of config files more secure

OBS-URL: https://build.opensuse.org/request/show/969479
OBS-URL: https://build.opensuse.org/package/show/network/keepalived?expand=0&rev=79
This commit is contained in:
Marcus Rückert 2022-04-12 15:17:35 +00:00 committed by Git OBS Bridge
parent 1763039223
commit 7c90694950
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Apr 12 14:50:58 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
- Own /etc/keepalived/keepalived.conf as %ghost entry
otherwise upgrading the package will always move the
/etc/keepalived/keepalived.conf to
/etc/keepalived/keepalived.conf.rpmsave
- make permissions of config files more secure
-------------------------------------------------------------------
Thu Feb 24 18:36:08 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>

View File

@ -208,7 +208,8 @@ getent passwd %{name} >/dev/null || \
%doc %{_defaultdocdir}/%{name}/
%dir %{_sysconfdir}/keepalived
%dir %attr(-,keepalived,keepalived) %{_var}/lib/%{name}
%config %{_sysconfdir}/keepalived/keepalived.conf.sample
%config(noreplace) %ghost %attr(0640,root,root) %{_sysconfdir}/keepalived/keepalived.conf
%config %attr(0640,root,root) %{_sysconfdir}/keepalived/keepalived.conf.sample
%{_fillupdir}/sysconfig.%{name}
%{_bindir}/genhash
%{_sbindir}/rckeepalived