Package: samba / 2:4.5.16+dfsg-1+deb9u2

systemd-syslog.target-is-obsolete.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
From a8fe4ce53f23667684883000f9dbec1b4c149f76 Mon Sep 17 00:00:00 2001
From: Mathieu Parent <math.parent@gmail.com>
Date: Thu, 12 May 2016 22:04:24 +0200
Subject: systemd: syslog.target is obsolete

After=syslog.target is unnecessary by now because syslog is socket-activated and will therefore be started when needed.

Ref: https://lintian.debian.org/tags/systemd-service-file-refers-to-obsolete-target.html
---
 packaging/systemd/nmb.service     | 2 +-
 packaging/systemd/samba.service   | 2 +-
 packaging/systemd/smb.service     | 2 +-
 packaging/systemd/winbind.service | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

Index: samba/packaging/systemd/nmb.service
===================================================================
--- samba.orig/packaging/systemd/nmb.service
+++ samba/packaging/systemd/nmb.service
@@ -1,6 +1,6 @@
 [Unit]
 Description=Samba NMB Daemon
-After=syslog.target network.target
+After=network.target
 
 [Service]
 Type=notify
Index: samba/packaging/systemd/samba.service
===================================================================
--- samba.orig/packaging/systemd/samba.service
+++ samba/packaging/systemd/samba.service
@@ -1,6 +1,6 @@
 [Unit]
 Description=Samba AD Daemon
-After=syslog.target network.target
+After=network.target
 
 [Service]
 Type=notify
Index: samba/packaging/systemd/smb.service
===================================================================
--- samba.orig/packaging/systemd/smb.service
+++ samba/packaging/systemd/smb.service
@@ -1,6 +1,6 @@
 [Unit]
 Description=Samba SMB Daemon
-After=syslog.target network.target nmb.service winbind.service
+After=network.target nmb.service winbind.service
 
 [Service]
 Type=notify
Index: samba/packaging/systemd/winbind.service
===================================================================
--- samba.orig/packaging/systemd/winbind.service
+++ samba/packaging/systemd/winbind.service
@@ -1,6 +1,6 @@
 [Unit]
 Description=Samba Winbind Daemon
-After=syslog.target network.target nmb.service
+After=network.target nmb.service
 
 [Service]
 Type=notify