Add support for GENIVI Diagnostic Log and Trace (DLT).
[AGL/meta-agl.git] / meta-ivi-common / recipes-extended / dlt-daemon / dlt-daemon / 0002-Don-t-execute-processes-as-a-specific-user.patch
1 From bcca4c99394ba422d03a5e76f2a0023ef248824a Mon Sep 17 00:00:00 2001
2 From: Andrei Gherzan <andrei.gherzan@windriver.com>
3 Date: Tue, 18 Nov 2014 15:47:22 +0100
4 Subject: [PATCH 2/4] Don't execute processes as a specific user.
5
6 Upstream-Status: Inappropriate [Configuration Specific]
7 Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
8 ---
9  systemd/dlt-adaptor-udp.service.cmake  | 1 -
10  systemd/dlt-dbus.service.cmake         | 1 -
11  systemd/dlt-example-user.service.cmake | 1 -
12  systemd/dlt-receive.service.cmake      | 1 -
13  systemd/dlt-system.service.cmake       | 1 -
14  systemd/dlt.service.cmake              | 1 -
15  6 files changed, 6 deletions(-)
16
17 diff --git a/systemd/dlt-adaptor-udp.service.cmake b/systemd/dlt-adaptor-udp.service.cmake
18 index 0c39637..f446757 100644
19 --- a/systemd/dlt-adaptor-udp.service.cmake
20 +++ b/systemd/dlt-adaptor-udp.service.cmake
21 @@ -20,7 +20,6 @@ Wants=dlt.service
22  
23  [Service]
24  Type=Simple
25 -User=genivi
26  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-adaptor-udp -a @DLT_ADAPTOR_UDP_APPID@ -c @DLT_ADAPTOR_UDP_CTID@ -p @DLT_ADAPTOR_UDP_PORT@
27  LimitCORE=infinity
28  
29 diff --git a/systemd/dlt-dbus.service.cmake b/systemd/dlt-dbus.service.cmake
30 index 2727c2d..d1e3b12 100755
31 --- a/systemd/dlt-dbus.service.cmake
32 +++ b/systemd/dlt-dbus.service.cmake
33 @@ -21,7 +21,6 @@ Wants=dlt.service
34  \r
35  [Service]\r
36  Type=Simple\r
37 -User=root\r
38  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-dbus\r
39  WatchdogSec=@DLT_WatchdogSec@\r
40  NotifyAccess=main\r
41 diff --git a/systemd/dlt-example-user.service.cmake b/systemd/dlt-example-user.service.cmake
42 index 3652292..b67a83c 100644
43 --- a/systemd/dlt-example-user.service.cmake
44 +++ b/systemd/dlt-example-user.service.cmake
45 @@ -20,6 +20,5 @@ Wants=dlt.service
46  
47  [Service]
48  Type=Simple
49 -User=genivi
50  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-example-user "Hallo from GENIVI DLT example user application"
51  LimitCORE=infinity
52 \ No newline at end of file
53 diff --git a/systemd/dlt-receive.service.cmake b/systemd/dlt-receive.service.cmake
54 index b92c8b2..4bbdfc2 100644
55 --- a/systemd/dlt-receive.service.cmake
56 +++ b/systemd/dlt-receive.service.cmake
57 @@ -21,6 +21,5 @@ Wants=dlt.service
58  
59  [Service]
60  Type=Simple
61 -User=genivi
62  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-receive -o /tmp/dlt_receive_log.dlt localhost
63  LimitCORE=infinity
64 \ No newline at end of file
65 diff --git a/systemd/dlt-system.service.cmake b/systemd/dlt-system.service.cmake
66 index f5e844b..7ec995c 100755
67 --- a/systemd/dlt-system.service.cmake
68 +++ b/systemd/dlt-system.service.cmake
69 @@ -21,7 +21,6 @@ Wants=dlt.service
70  \r
71  [Service]\r
72  Type=Simple\r
73 -User=genivi\r
74  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-system\r
75  WatchdogSec=@DLT_WatchdogSec@\r
76  NotifyAccess=main\r
77 diff --git a/systemd/dlt.service.cmake b/systemd/dlt.service.cmake
78 index 22279c4..7bb05bc 100755
79 --- a/systemd/dlt.service.cmake
80 +++ b/systemd/dlt.service.cmake
81 @@ -20,7 +20,6 @@ Documentation=man:dlt-daemon(1) man:dlt.conf(5)
82  
83  [Service]
84  Type=Simple
85 -User=genivi
86  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-daemon
87  WatchdogSec=@DLT_WatchdogSec@
88  NotifyAccess=main
89 -- 
90 1.9.3
91