render / rpms / libvirt

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