summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-03-08 19:38:06 +0100
committerKay Sievers <kay@vrfy.org>2014-03-08 19:38:06 +0100
commitd5ce683c0780c02cf657be4f5cff506edf913f0a (patch)
tree0c6f24d376a700daab89999e44c68d94e30e6b5f
parent088b51107aa51fe180e1a1681c487d6918e2bcbb (diff)
units: remove "AllowUser=root own", the bus owner can always own names
-rw-r--r--src/dbus1-generator/dbus1-generator.c1
-rw-r--r--units/org.freedesktop.DBus.busname1
-rw-r--r--units/org.freedesktop.hostname1.busname1
-rw-r--r--units/org.freedesktop.locale1.busname1
-rw-r--r--units/org.freedesktop.login1.busname1
-rw-r--r--units/org.freedesktop.machine1.busname1
-rw-r--r--units/org.freedesktop.timedate1.busname1
7 files changed, 0 insertions, 7 deletions
diff --git a/src/dbus1-generator/dbus1-generator.c b/src/dbus1-generator/dbus1-generator.c
index 6cfa8915cf..b3dedb77c6 100644
--- a/src/dbus1-generator/dbus1-generator.c
+++ b/src/dbus1-generator/dbus1-generator.c
@@ -128,7 +128,6 @@ static int create_dbus_files(
"[BusName]\n"
"Name=%s\n"
"Service=%s\n"
- "AllowUser=root own\n"
"AllowWorld=talk\n",
path,
name,
diff --git a/units/org.freedesktop.DBus.busname b/units/org.freedesktop.DBus.busname
index cab389b130..1ce75b72ba 100644
--- a/units/org.freedesktop.DBus.busname
+++ b/units/org.freedesktop.DBus.busname
@@ -10,5 +10,4 @@ Description=Bus Driver Service Bus Name
[BusName]
Service=systemd-bus-driverd.service
-AllowUser=root own
AllowWorld=talk
diff --git a/units/org.freedesktop.hostname1.busname b/units/org.freedesktop.hostname1.busname
index a1b58b5b90..d64c36486d 100644
--- a/units/org.freedesktop.hostname1.busname
+++ b/units/org.freedesktop.hostname1.busname
@@ -12,5 +12,4 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/hostnamed
[BusName]
Service=systemd-hostnamed.service
-AllowUser=root own
AllowWorld=talk
diff --git a/units/org.freedesktop.locale1.busname b/units/org.freedesktop.locale1.busname
index a2c361a792..3cd201180b 100644
--- a/units/org.freedesktop.locale1.busname
+++ b/units/org.freedesktop.locale1.busname
@@ -12,5 +12,4 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/localed
[BusName]
Service=systemd-localed.service
-AllowUser=root own
AllowWorld=talk
diff --git a/units/org.freedesktop.login1.busname b/units/org.freedesktop.login1.busname
index d7f597ff8b..d0686b17e0 100644
--- a/units/org.freedesktop.login1.busname
+++ b/units/org.freedesktop.login1.busname
@@ -13,5 +13,4 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/multiseat
[BusName]
Service=systemd-logind.service
-AllowUser=root own
AllowWorld=talk
diff --git a/units/org.freedesktop.machine1.busname b/units/org.freedesktop.machine1.busname
index 0a2241a579..7df8e9e732 100644
--- a/units/org.freedesktop.machine1.busname
+++ b/units/org.freedesktop.machine1.busname
@@ -12,5 +12,4 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/machined
[BusName]
Service=systemd-machined.service
-AllowUser=root own
AllowWorld=talk
diff --git a/units/org.freedesktop.timedate1.busname b/units/org.freedesktop.timedate1.busname
index 21ae7b93c7..eae4e536b8 100644
--- a/units/org.freedesktop.timedate1.busname
+++ b/units/org.freedesktop.timedate1.busname
@@ -12,5 +12,4 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/timedated
[BusName]
Service=systemd-timedated.service
-AllowUser=root own
AllowWorld=talk