From 97c6951d9684eb61e7d65b1cbca2242fcebe7f6c Mon Sep 17 00:00:00 2001
Message-Id: <97c6951d9684eb61e7d65b1cbca2242fcebe7f6c@dist-git>
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Mon, 24 Feb 2014 13:12:01 +0100
Subject: [PATCH] Don't depend on syslog.service
https://bugzilla.redhat.com/show_bug.cgi?id=1032695
Syslog is socket activated since at least systemd v35 so we can drop
this dependency. Debian's linitian otherwise complains about it.
References:
http://www.freedesktop.org/wiki/Software/systemd/syslog/
http://lintian.debian.org/tags/systemd-service-file-refers-to-obsolete-target.html
(cherry picked from commit 3c9e40a1e8762f039874aab5d181864de79be069)
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
---
src/locking/virtlockd.service.in | 1 -
tools/libvirt-guests.service.in | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/locking/virtlockd.service.in b/src/locking/virtlockd.service.in
index a9f9f93..0ef9923 100644
--- a/src/locking/virtlockd.service.in
+++ b/src/locking/virtlockd.service.in
@@ -1,7 +1,6 @@
[Unit]
Description=Virtual machine lock manager
Requires=virtlockd.socket
-After=syslog.target
[Service]
EnvironmentFile=-/etc/sysconfig/virtlockd
diff --git a/tools/libvirt-guests.service.in b/tools/libvirt-guests.service.in
index d41bf2b..5aeb14c 100644
--- a/tools/libvirt-guests.service.in
+++ b/tools/libvirt-guests.service.in
@@ -1,6 +1,6 @@
[Unit]
Description=Suspend Active Libvirt Guests
-After=syslog.target network.target
+After=network.target
[Service]
EnvironmentFile=-/etc/sysconfig/libvirt-guests
--
1.9.0