aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilad Arnold <garnold@google.com>2015-08-31 22:16:17 -0700
committerGilad Arnold <garnold@google.com>2015-08-31 22:16:17 -0700
commit98fc05cbb94eed6925d76de5a75e993296252e7c (patch)
tree9d1101bf6c580af65a8daa72a4d9997b3709dc39
parent5dc2a431699336ef28d568ca41563e9f6ab84093 (diff)
downloadtlsdate-98fc05cbb94eed6925d76de5a75e993296252e7c.tar.gz
Run tlsdated without DBus.
Due to dropping privileges early on in its execution, and due to Android's restricted access to DBus and limitations on supplementary GID setup, we temporarily disable tlsdated's connection to DBus. Bug: 22373707 Bug: 23651876 Change-Id: I392d41381e7515223a098457583d3019d65dc6e1
-rw-r--r--init/tlsdated.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/tlsdated.rc b/init/tlsdated.rc
index 3a3a74a..c36b920 100644
--- a/init/tlsdated.rc
+++ b/init/tlsdated.rc
@@ -1,5 +1,5 @@
# Init file for starting tlsdated on Android.
-service tlsdated /system/bin/tlsdated -v -l -s -- /system/bin/tlsdate -v -C /system/etc/security/cacerts -l
+service tlsdated /system/bin/tlsdated -v -l -s -U -- /system/bin/tlsdate -v -C /system/etc/security/cacerts -l
class main
# This daemon needs to start as root and drops privileges early on.
user root