diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/00-hostnamed-network-user.conf')
-rw-r--r-- | meta/recipes-core/systemd/systemd/00-hostnamed-network-user.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/00-hostnamed-network-user.conf b/meta/recipes-core/systemd/systemd/00-hostnamed-network-user.conf new file mode 100644 index 0000000000..6b224ba9b9 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/00-hostnamed-network-user.conf | |||
@@ -0,0 +1,6 @@ | |||
1 | [Service] | ||
2 | # By running with these options instead of root, networkd is allowed to request | ||
3 | # a hostname change via DBUS when policykit is not present | ||
4 | User=systemd-network | ||
5 | Group=systemd-hostname | ||
6 | AmbientCapabilities=CAP_SYS_ADMIN | ||