update service files to run with root permissions
authorkremlin <ian@kremlin.cc>
Tue, 22 Jul 2014 21:41:27 +0000 (16:41 -0500)
committerkremlin <ian@kremlin.cc>
Tue, 22 Jul 2014 21:41:27 +0000 (16:41 -0500)
root is needed for gethostname(3), setlocale(3), setting system time,
and handling login enviornments.

conf/service-files/org.freedesktop.hostname1.service
conf/service-files/org.freedesktop.locale1.service
conf/service-files/org.freedesktop.login1.service
conf/service-files/org.freedesktop.timedate1.service

index c02d3c4d2342d2d4a5dcb18aabb93989cb1c86b2..4ab56a7b6ca443a870acc4e03540011d8b899f7f 100644 (file)
@@ -1,3 +1,4 @@
 [D-BUS Service]
-Names=org.freedesktop.hostname1
+Names=org.freedesktop.hostname1i
 Exec=/usr/local/bin/systemd-compat/systemd-hostnamed
+User=root
index 22cd8c1459f89cc93f8aa3b6a0ffff9eba378925..b85f8b91d9ed137cabc7103fe6c880821ef9e2bc 100644 (file)
@@ -1,3 +1,4 @@
 [D-BUS Service]
 Names=org.freedesktop.locale1
 Exec=/usr/local/bin/systemd-compat/systemd-localed
+User=root
index ec47461897b87353e7a550509d1abc3c78b818c8..834f17b49cf90e2ee772e64d39299df3142da5d9 100644 (file)
@@ -1,3 +1,4 @@
 [D-BUS Service]
 Names=org.freedesktop.login1
 Exec=/usr/local/bin/systemd-compat/systemd-logind
+User=root
index f757f4a007eeefe5cb49a7c5d32f2ed881026f9d..096d622943b3e6429198513b0ec660a2b9cacb55 100644 (file)
@@ -1,3 +1,4 @@
 [D-BUS Service]
 Names=org.freedesktop.timedate1
 Exec=/usr/local/bin/systemd-compat/systemd-timedated
+User=root