From c6b2dad9e67b86c37eee636f937aad18212496c6b9dd7f6c1f2099c830d60a2c Mon Sep 17 00:00:00 2001 From: Andreas Vetter Date: Tue, 26 Jan 2021 15:29:15 +0000 Subject: [PATCH] Accepting request 866858 from home:dstoecker:branches:security:Stunnel - Do not replace the active config file This setting silently killed my server instance. %config without noreplace should not be used for files which are modified by uses (which files in /etc are). OBS-URL: https://build.opensuse.org/request/show/866858 OBS-URL: https://build.opensuse.org/package/show/security:Stunnel/stunnel?expand=0&rev=122 --- stunnel.changes | 5 +++++ stunnel.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/stunnel.changes b/stunnel.changes index 84100e9..ebc57cb 100644 --- a/stunnel.changes +++ b/stunnel.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 26 14:01:11 UTC 2021 - Dirk Stoecker + +- Do not replace the active config file + ------------------------------------------------------------------- Mon Nov 30 14:36:45 UTC 2020 - Andreas Vetter diff --git a/stunnel.spec b/stunnel.spec index b0efeeb..811b437 100644 --- a/stunnel.spec +++ b/stunnel.spec @@ -175,7 +175,7 @@ fi %{_mandir}/man8/* %dir %attr(700,root,root) %{_sysconfdir}/%{name}/ %dir %attr(700,root,root) %{_sysconfdir}/%{name}//conf.d -%config %{_sysconfdir}/%{name}/stunnel.conf +%config(noreplace) %{_sysconfdir}/%{name}/stunnel.conf %dir %attr(755,root,root) %{_localstatedir}/lib/stunnel %dir %attr(755,root,root) %{_localstatedir}/lib/stunnel/bin %dir %attr(755,root,root) %{_localstatedir}/lib/stunnel%{_sysconfdir}