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

fix_kill_path_in_units.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
64
65
66
From caeaa5a019b0a2f1d8096920e81fa5596767fa51 Mon Sep 17 00:00:00 2001
From: Mathieu Parent <math.parent@gmail.com>
Date: Mon, 27 Jun 2016 21:34:03 +0200
Subject: Fix kill path

Debian-bug: https://bugs.debian.org/828730

---
 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
@@ -9,7 +9,7 @@ NotifyAccess=all
 PIDFile=/run/nmbd.pid
 EnvironmentFile=-/etc/sysconfig/samba
 ExecStart=/usr/sbin/nmbd $NMBDOPTIONS
-ExecReload=/usr/bin/kill -HUP $MAINPID
+ExecReload=/bin/kill -HUP $MAINPID
 LimitCORE=infinity
 
 [Install]
Index: samba/packaging/systemd/samba.service
===================================================================
--- samba.orig/packaging/systemd/samba.service
+++ samba/packaging/systemd/samba.service
@@ -10,7 +10,7 @@ PIDFile=/run/samba.pid
 LimitNOFILE=16384
 EnvironmentFile=-/etc/sysconfig/samba
 ExecStart=/usr/sbin/samba $SAMBAOPTIONS
-ExecReload=/usr/bin/kill -HUP $MAINPID
+ExecReload=/bin/kill -HUP $MAINPID
 
 [Install]
 WantedBy=multi-user.target
Index: samba/packaging/systemd/smb.service
===================================================================
--- samba.orig/packaging/systemd/smb.service
+++ samba/packaging/systemd/smb.service
@@ -10,7 +10,7 @@ PIDFile=/run/smbd.pid
 LimitNOFILE=16384
 EnvironmentFile=-/etc/sysconfig/samba
 ExecStart=/usr/sbin/smbd $SMBDOPTIONS
-ExecReload=/usr/bin/kill -HUP $MAINPID
+ExecReload=/bin/kill -HUP $MAINPID
 LimitCORE=infinity
 
 [Install]
Index: samba/packaging/systemd/winbind.service
===================================================================
--- samba.orig/packaging/systemd/winbind.service
+++ samba/packaging/systemd/winbind.service
@@ -9,7 +9,7 @@ NotifyAccess=all
 PIDFile=/run/winbindd.pid
 EnvironmentFile=-/etc/sysconfig/samba
 ExecStart=/usr/sbin/winbindd "$WINBINDOPTIONS"
-ExecReload=/usr/bin/kill -HUP $MAINPID
+ExecReload=/bin/kill -HUP $MAINPID
 LimitCORE=infinity
 
 [Install]