[systemd/f17] add conflicts with old syslog unit files

Michal Schmidt michich at fedoraproject.org
Wed Jun 20 17:22:47 UTC 2012


commit 02a531ec97192fea0d9bc35637dfa73df19c8277
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Wed Jun 20 19:15:13 2012 +0200

    add conflicts with old syslog unit files
    
    Add conflicts with syslogs that do 'systemctl stop' on
    a non-existent unit in their ExecStartPre.

 systemd.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index f2aab1d..bd5b04c 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -3,7 +3,7 @@
 Name:           systemd
 Url:            http://www.freedesktop.org/wiki/Software/systemd
 Version:        44
-Release:        15%{?gitcommit:.git%{gitcommit}}%{?dist}
+Release:        16%{?gitcommit:.git%{gitcommit}}%{?dist}
 License:        GPLv2+
 Group:          System Environment/Base
 Summary:        A System and Service Manager
@@ -510,6 +510,9 @@ Provides:       systemd-units = %{version}-%{release}
 Obsoletes:      systemd < 38-5
 # old nfs-server.service forked daemons from ExecStartPre/Post:
 Conflicts:      nfs-utils < 1:1.2.6
+# usage of 'systemctl stop' on a non-existent unit in ExecStartPre:
+Conflicts:      rsyslog < 5.8.10-2
+Conflicts:      syslog-ng < 3.2.5-15
 
 %description
 systemd is a system and service manager for Linux, compatible with
@@ -867,6 +870,10 @@ mv /etc/systemd/system/default.target.save /etc/systemd/system/default.target >/
 %{_bindir}/systemd-analyze
 
 %changelog
+* Wed Jun 20 2012 Michal Schmidt <mschmidt at redhat.com> - 44-16
+- Add conflicts with syslog units that do unprotected 'systemctl stop' on
+  a non-existent unit in their ExecStartPre.
+
 * Tue Jun 19 2012 Michal Schmidt <mschmidt at redhat.com> - 44-15
 - Apply timeouts to oneshot services (#761656)
 - Report error when stopping an unknown unit (#732874)


More information about the scm-commits mailing list