Package: network-manager / 1.14.6-2

Don-t-make-NetworkManager-D-Bus-activatable.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
From: Michael Biebl <biebl@debian.org>
Date: Sun, 29 Mar 2015 22:57:50 +0200
Subject: Don't make NetworkManager D-Bus activatable

If the NetworkManager daemon has been stopped manually we don't want it
to be autostarted by a client request.
---
 Makefile.am                    | 5 -----
 data/NetworkManager.service.in | 1 -
 2 files changed, 6 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index e1b442e..8428816 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4105,11 +4105,6 @@ endif
 data/NetworkManager-dispatcher.service: $(srcdir)/data/NetworkManager-dispatcher.service.in
 	$(AM_V_GEN) $(data_edit) $< >$@
 
-data/org.freedesktop.NetworkManager.service: $(srcdir)/data/org.freedesktop.NetworkManager.service.in
-	$(AM_V_GEN) $(data_edit) $< >$@
-
-service_DATA += data/org.freedesktop.NetworkManager.service
-
 endif
 
 examples_DATA += data/server.conf
diff --git a/data/NetworkManager.service.in b/data/NetworkManager.service.in
index 2692935..ff90456 100644
--- a/data/NetworkManager.service.in
+++ b/data/NetworkManager.service.in
@@ -24,7 +24,6 @@ ProtectHome=read-only
 
 [Install]
 WantedBy=multi-user.target
-Alias=dbus-org.freedesktop.NetworkManager.service
 Also=NetworkManager-dispatcher.service
 
 # We want to enable NetworkManager-wait-online.service whenever this service