summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/systemd/files/00-hostnamed-network-user.conf6
-rw-r--r--sys-apps/systemd/files/org.freedesktop.hostname1_no_polkit.conf11
2 files changed, 0 insertions, 17 deletions
diff --git a/sys-apps/systemd/files/00-hostnamed-network-user.conf b/sys-apps/systemd/files/00-hostnamed-network-user.conf
deleted file mode 100644
index 6b224ba9b937..000000000000
--- a/sys-apps/systemd/files/00-hostnamed-network-user.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-[Service]
-# By running with these options instead of root, networkd is allowed to request
-# a hostname change via DBUS when policykit is not present
-User=systemd-network
-Group=systemd-hostname
-AmbientCapabilities=CAP_SYS_ADMIN
diff --git a/sys-apps/systemd/files/org.freedesktop.hostname1_no_polkit.conf b/sys-apps/systemd/files/org.freedesktop.hostname1_no_polkit.conf
deleted file mode 100644
index f4d0271cdb6a..000000000000
--- a/sys-apps/systemd/files/org.freedesktop.hostname1_no_polkit.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?> <!--*-nxml-*-->
-<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
-
-<busconfig>
- <policy group="systemd-hostname">
- <allow own="org.freedesktop.hostname1"/>
- <allow send_destination="org.freedesktop.hostname1"/>
- <allow receive_sender="org.freedesktop.hostname1"/>
- </policy>
-</busconfig>