[SSSD] [PATCH] INIT: Drop syslog.target from service file

Lukas Slebodnik lslebodn at redhat.com
Tue Nov 10 08:43:55 UTC 2015


ehlo,

debian has pach which removes syslog.target from service.file
http://anonscm.debian.org/cgit/pkg-sssd/sssd.git/tree/debian/patches/fix-obsolete-target.diff
and this target is not available on el7.1with quite old systemd.

I had a small discussion with systemd guys and we can drop
it without any problem. It should work out-of-the-box.

LS
-------------- next part --------------
>From 022e5c9fbfa2097d4a57d038a4750658fad1a047 Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn at redhat.com>
Date: Tue, 10 Nov 2015 07:53:47 +0100
Subject: [PATCH] INIT: Drop syslog.target from service file

The syslog.target is not part of systemd anymore.
The non-socket-activated syslog daemons are not supported in systemd >= 35
and in the same version it was recomemded to not use this target in service
files.

http://www.freedesktop.org/wiki/Software/systemd/syslog/
---
 src/sysv/systemd/sssd.service.in | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/sysv/systemd/sssd.service.in b/src/sysv/systemd/sssd.service.in
index 06445ea12e748028658feee0eb4e60040c40e8d1..a4f9125b58e72429cc3ac1e679271367ada27f3c 100644
--- a/src/sysv/systemd/sssd.service.in
+++ b/src/sysv/systemd/sssd.service.in
@@ -1,7 +1,5 @@
 [Unit]
 Description=System Security Services Daemon
-# SSSD will not be started until syslog is
-After=syslog.target
 # SSSD must be running before we permit user sessions
 Before=systemd-user-sessions.service nss-user-lookup.target
 Wants=nss-user-lookup.target
-- 
2.5.0



More information about the sssd-devel mailing list