From c152a1e25c45cbfd54325ad59c771fbd645820ac Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Fri, 29 Mar 2024 16:24:48 +0100 Subject: systemd: disable mdns feature in resolved for zeroconf DISTRO_FEATURE zeroconf installs avahi. If additionally resolved mdns implementation is running they will fight each other: Mar 29 13:31:51 intel-corei7-64 avahi-daemon[752]: *** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. *** Mar 29 13:31:51 intel-corei7-64 avahi-daemon[752]: *** WARNING: Detected another IPv6 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. *** (From OE-Core rev: 8509edeafea8e62e1b9ffe76b33999447f739b20) Signed-off-by: Markus Volk Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd_255.4.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta') diff --git a/meta/recipes-core/systemd/systemd_255.4.bb b/meta/recipes-core/systemd/systemd_255.4.bb index b02e44d9c0..8a816c4bc1 100644 --- a/meta/recipes-core/systemd/systemd_255.4.bb +++ b/meta/recipes-core/systemd/systemd_255.4.bb @@ -249,6 +249,7 @@ EXTRA_OEMESON += "-Dnobody-user=nobody \ -Dsystem-alloc-gid-min=101 \ -Dsystem-gid-max=999 \ -Dcreate-log-dirs=false \ + ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', '-Ddefault-mdns=no -Ddefault-llmnr=no', '', d)} \ " # Hardcode target binary paths to avoid using paths from sysroot or worse -- cgit v1.2.3-54-g00ecf