From 902c65799360095aa8188928ced37e0d7431f02c78d8e1eec414c77a429e3030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 1 Sep 2014 09:08:59 +0000 Subject: [PATCH] Accepting request 245767 from home:mtomaschewski:branches:Base:System - Stop syslog.socket in %preun to avoid the daemon we uninstall gets started by a log message due to dependencies (bnc#840815). OBS-URL: https://build.opensuse.org/request/show/245767 OBS-URL: https://build.opensuse.org/package/show/Base:System/rsyslog?expand=0&rev=198 --- rsyslog.changes | 6 ++++++ rsyslog.spec | 1 + 2 files changed, 7 insertions(+) diff --git a/rsyslog.changes b/rsyslog.changes index 6eb61f4..597d35f 100644 --- a/rsyslog.changes +++ b/rsyslog.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Aug 22 14:37:57 UTC 2014 - mt@suse.de + +- Stop syslog.socket in %preun to avoid the daemon we uninstall + gets started by a log message due to dependencies (bnc#840815). + ------------------------------------------------------------------- Thu Aug 21 15:20:20 UTC 2014 - mrueckert@suse.de diff --git a/rsyslog.spec b/rsyslog.spec index 66fcece..38bb3e1 100644 --- a/rsyslog.spec +++ b/rsyslog.spec @@ -829,6 +829,7 @@ chmod 640 ".%{rsyslog_sockets_cfg}" # stop the rsyslogd daemon when it is running # %if %{with systemd} && ! %{with systemv} +%{service_del_preun syslog.socket} %{service_del_preun rsyslog.service} %else if test -x /etc/init.d/syslog ; then