summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-11-01 16:33:10 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-11-06 22:26:12 -0700
commitc897165ab00b566f2a21db3bb1d8da0fee67bfc8 (patch)
tree72309657c1eee8c4471b2de5c40cb71edf7eb555 /sys-apps/systemd/metadata.xml
parentprofiles/arch/powerpc/ppc64: unmask systemd[hostnamed-fallback] (diff)
downloadgentoo-c897165ab00b566f2a21db3bb1d8da0fee67bfc8.tar.gz
gentoo-c897165ab00b566f2a21db3bb1d8da0fee67bfc8.tar.bz2
gentoo-c897165ab00b566f2a21db3bb1d8da0fee67bfc8.zip
sys-apps/systemd: add hostnamed-fallback mode
this will allow networkd/hostnamed to properly set hostname on systems without polkit. while it's possible to set hostname/fqdn manually already, with fallback workaround it will be possible to get hostnames from DHCP via networkd too without using polkit->spidermonkey->rust->llvm chain of deps. ideas and configs taken from yocto/oe https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3dc37c12c17d5bb6d4701a425a4f79f6e31784ee https://github.com/systemd/systemd/issues/13501 Closes: https://github.com/gentoo/gentoo/pull/22792 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-apps/systemd/metadata.xml')
-rw-r--r--sys-apps/systemd/metadata.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-apps/systemd/metadata.xml b/sys-apps/systemd/metadata.xml
index b35d6bfbd411..cd0754d004d6 100644
--- a/sys-apps/systemd/metadata.xml
+++ b/sys-apps/systemd/metadata.xml
@@ -20,6 +20,7 @@
<flag name="fido2">Enable FIDO2 support</flag>
<flag name="gcrypt">Enable sealing of journal files using gcrypt</flag>
<flag name="homed">Enable portable home directories</flag>
+ <flag name="hostnamed-fallback">Enable setting hostname with networkd/hostnamed without polkit (requires running <pkg>sys-apps/dbus-broker</pkg>)</flag>
<flag name="http">Enable embedded HTTP server in journald</flag>
<flag name="hwdb">Enable support for the hardware database</flag>
<flag name="importd">Enable import daemon</flag>