|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
From 70a3698b99b401e5fa26889aac73e72f6c45523b Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
From: Lennart Poettering <lennart@poettering.net>
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
Date: Thu, 19 Jun 2014 19:53:16 +0200
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
Subject: [PATCH] units: add missing caps so that GetAddresses() can work
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
(cherry picked from commit a55954297dade7b432fd3a4f328f23261621ff79)
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
units/systemd-machined.service.in | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
diff --git a/units/systemd-machined.service.in b/units/systemd-machined.service.in
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
index 3ae0847b..5a890b5b 100644
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
--- a/units/systemd-machined.service.in
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
+++ b/units/systemd-machined.service.in
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
@@ -15,7 +15,7 @@ After=machine.slice
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
[Service]
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
ExecStart=@rootlibexecdir@/systemd-machined
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
BusName=org.freedesktop.machine1
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
-CapabilityBoundingSet=CAP_KILL
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
+CapabilityBoundingSet=CAP_KILL CAP_SYS_PTRACE CAP_SYS_ADMIN CAP_SETGID
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
WatchdogSec=1min
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
PrivateTmp=yes
|
|
Zbigniew Jędrzejewski-Szmek |
5509c0 |
PrivateDevices=yes
|