From e9d044d4b9b71200a96adfa280848858c0f468c9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Nov 2021 13:10:00 +0000 Subject: gentoo resync : 13.11.2021 --- sys-apps/systemd/files/00-hostnamed-network-user.conf | 6 ++++++ .../systemd/files/org.freedesktop.hostname1_no_polkit.conf | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 sys-apps/systemd/files/00-hostnamed-network-user.conf create mode 100644 sys-apps/systemd/files/org.freedesktop.hostname1_no_polkit.conf (limited to 'sys-apps/systemd/files') diff --git a/sys-apps/systemd/files/00-hostnamed-network-user.conf b/sys-apps/systemd/files/00-hostnamed-network-user.conf new file mode 100644 index 000000000000..6b224ba9b937 --- /dev/null +++ b/sys-apps/systemd/files/00-hostnamed-network-user.conf @@ -0,0 +1,6 @@ +[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 new file mode 100644 index 000000000000..f4d0271cdb6a --- /dev/null +++ b/sys-apps/systemd/files/org.freedesktop.hostname1_no_polkit.conf @@ -0,0 +1,11 @@ + + + + + + + + + + -- cgit v1.2.3