Skip to contentSkip to conversation

packagegroup-base: Add option to set zeroconf provider

PATCH In review Alex Kiernan 5 participants 11 messages Feb 15, 2025 – May 20, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 packagegroup-base: Add option to set zeroconf provider

avahi, systemd-resolved and mDNSResponder (in meta-networking) can all provide Zeroconf services. Add a ZEROCONF_DAEMON option to select which of these will provide service via packagegroup-base-zeroconf.

---
 meta/recipes-core/packagegroups/packagegroup-base.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta/recipes-core/packagegroups/packagegroup-base.bb +5 -2
index cb9d1f07af51..ac450fbdc9a7 100644
@@ -312,11 +312,14 @@ RDEPENDS:packagegroup-base-nfs = "\
 RRECOMMENDS:packagegroup-base-nfs = "\
     kernel-module-nfs "
 
+# Choose 'avahi-daemon', 'mdns' or 'systemd-resolved' as zeroconf-daemon
+ZEROCONF_DAEMON ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd-resolved', 'systemd-resolved', 'avahi-daemon', d)}"
 SUMMARY:packagegroup-base-zeroconf = "Zeroconf support"
 RDEPENDS:packagegroup-base-zeroconf = "\
-    avahi-daemon"
+    ${@ '' if d.getVar('ZEROCONF_DAEMON') == 'systemd-resolved' else d.getVar('ZEROCONF_DAEMON')} \
+    "
 RDEPENDS:packagegroup-base-zeroconf:append:libc-glibc = "\
-    libnss-mdns \
+    ${@ {'mdns':'mdns-libnss-mdns','avahi-daemon':'avahi-libnss-mdns','systemd-resolved':''}[d.getVar('ZEROCONF_DAEMON')]} \
     "
 
 SUMMARY:packagegroup-base-ipv6 = "IPv6 support"
#1 lore raw

Hi Alex,

Quoted 4 lines · Alex Kiernan via lists.openembedded.org

avahi, systemd-resolved and mDNSResponder (in meta-networking) can all provide Zeroconf services. Add a ZEROCONF_DAEMON option to select which of these will provide service via packagegroup-base-zeroconf.

If I'm not mistaken, this seems to be fitting RPROVIDES usage?

What if we had something like

RPROVIDES:${PN}-resolved += "zeroconf-daemon"

in the systemd recipe

RPROVIDES:${PN}-libnss-mdns += "zeroconf-daemon"

in the mdns recipe and

RPROVIDES:${PN}-daemon += "zeroconf-daemon"

in the avahi-libnss-mdns recipe?

and then we simply RDEPENDS on zeroconf-daemon?

Does that work (haven't tested myself)? What do you think?

Cheers,
Quentin

#2 lore raw
Quoted 11 lines · Quentin Schulz

Hi Alex,

Quoted 4 lines · Alex Kiernan via lists.openembedded.org

avahi, systemd-resolved and mDNSResponder (in meta-networking) can all provide Zeroconf services. Add a ZEROCONF_DAEMON option to select which of these will provide service via packagegroup-base-zeroconf.

If I'm not mistaken, this seems to be fitting RPROVIDES usage?

I guess I'm guilty of copying what was there (WIRELESS_DAEMON)

Quoted 10 lines

What if we had something like

RPROVIDES:${PN}-resolved += "zeroconf-daemon"

in the systemd recipe

RPROVIDES:${PN}-libnss-mdns += "zeroconf-daemon"

in the mdns recipe and

This would be:

RPROVIDES:${PN} += "zeroconf-daemon"

Quoted 4 lines

RPROVIDES:${PN}-daemon += "zeroconf-daemon"

in the avahi-libnss-mdns recipe?

And the base avahi recipe here

Quoted 4 lines

and then we simply RDEPENDS on zeroconf-daemon?

Does that work (haven't tested myself)? What do you think?

And then selection via a PREFERRED_RPROVIDER:zeroconf-daemon = "..."

I guess I think it should work, though my concern is the interaction between the daemon and the nss plugin, which is how I ended up down this rabbit hole in the first place!

We seem to have very little usage of RPROVIDES (other than as a migration mechanism) and PREFERRED_RPROVIDER in general.

Signature · 1 line
Alex Kiernan
#3 lore raw

Hi Alex,

Quoted 11 lines · Alex Kiernan
Quoted 9 lines · Quentin Schulz

Hi Alex,

Quoted 4 lines · Alex Kiernan via lists.openembedded.org

avahi, systemd-resolved and mDNSResponder (in meta-networking) can all provide Zeroconf services. Add a ZEROCONF_DAEMON option to select which of these will provide service via packagegroup-base-zeroconf.

Quoted 5 lines
Quoted 2 lines

If I'm not mistaken, this seems to be fitting RPROVIDES usage?

I guess I'm guilty of copying what was there (WIRELESS_DAEMON)

Fair enough, consistency is probably better here then :)

Quoted 5 lines
Quoted 4 lines

and then we simply RDEPENDS on zeroconf-daemon?

Does that work (haven't tested myself)? What do you think?

Quoted 9 lines

And then selection via a PREFERRED_RPROVIDER:zeroconf-daemon = "..."

I guess I think it should work, though my concern is the interaction between the daemon and the nss plugin, which is how I ended up down this rabbit hole in the first place!

We seem to have very little usage of RPROVIDES (other than as a migration mechanism) and PREFERRED_RPROVIDER in general.

That makes sense if the packages are absolutely incompatible with each other. For example, for the WIRELESS_DAEMON case, you may want to have wpa-supplicant but probably could have iwd too in the same rootfs and let the user pick the one they want to use?

If we can have multiple zeroconf daemons, then that wouldn't be a good solution anyways.

Cheers,
Quentin

#4 lore raw
Quoted 38 lines · Quentin Schulz

Hi Alex,

Quoted 11 lines · Alex Kiernan
Quoted 9 lines · Quentin Schulz

Hi Alex,

Quoted 4 lines · Alex Kiernan via lists.openembedded.org

avahi, systemd-resolved and mDNSResponder (in meta-networking) can all provide Zeroconf services. Add a ZEROCONF_DAEMON option to select which of these will provide service via packagegroup-base-zeroconf.

Quoted 5 lines
Quoted 2 lines

If I'm not mistaken, this seems to be fitting RPROVIDES usage?

I guess I'm guilty of copying what was there (WIRELESS_DAEMON)

Fair enough, consistency is probably better here then :)

Quoted 5 lines
Quoted 4 lines

and then we simply RDEPENDS on zeroconf-daemon?

Does that work (haven't tested myself)? What do you think?

Quoted 9 lines

And then selection via a PREFERRED_RPROVIDER:zeroconf-daemon = "..."

I guess I think it should work, though my concern is the interaction between the daemon and the nss plugin, which is how I ended up down this rabbit hole in the first place!

We seem to have very little usage of RPROVIDES (other than as a migration mechanism) and PREFERRED_RPROVIDER in general.

Quoted 8 lines

That makes sense if the packages are absolutely incompatible with each other. For example, for the WIRELESS_DAEMON case, you may want to have wpa-supplicant but probably could have iwd too in the same rootfs and let the user pick the one they want to use?

If we can have multiple zeroconf daemons, then that wouldn't be a good solution anyways.

Technically you can (as this is a multicast socket), but actually making it work properly isn't straightforward as you'd end up with two daemons both announcing the host record. Pretty sure you can make it work, which is different from wpa_supplicant/iwd (and I guess you could even make those coexist if you had two wireless interfaces?), but I'm not sure it's an out of the box configuration we should be point folk at! libnss-mdns is a simple pick one or the other choice, but that's enforced anyway because they end up colliding in the filesystem.

Frankly it's a bit of mess...

Signature · 1 line
Alex Kiernan
#5 lore raw
Quoted 49 lines · Alex Kiernan via lists.openembedded.org
Quoted 38 lines · Quentin Schulz

Hi Alex,

Quoted 11 lines · Alex Kiernan
Quoted 9 lines · Quentin Schulz

Hi Alex,

Quoted 4 lines · Alex Kiernan via lists.openembedded.org

avahi, systemd-resolved and mDNSResponder (in meta-networking) can all provide Zeroconf services. Add a ZEROCONF_DAEMON option to select which of these will provide service via packagegroup-base-zeroconf.

Quoted 5 lines
Quoted 2 lines

If I'm not mistaken, this seems to be fitting RPROVIDES usage?

I guess I'm guilty of copying what was there (WIRELESS_DAEMON)

Fair enough, consistency is probably better here then :)

Quoted 5 lines
Quoted 4 lines

and then we simply RDEPENDS on zeroconf-daemon?

Does that work (haven't tested myself)? What do you think?

Quoted 9 lines

And then selection via a PREFERRED_RPROVIDER:zeroconf-daemon = "..."

I guess I think it should work, though my concern is the interaction between the daemon and the nss plugin, which is how I ended up down this rabbit hole in the first place!

We seem to have very little usage of RPROVIDES (other than as a migration mechanism) and PREFERRED_RPROVIDER in general.

Quoted 8 lines

That makes sense if the packages are absolutely incompatible with each other. For example, for the WIRELESS_DAEMON case, you may want to have wpa-supplicant but probably could have iwd too in the same rootfs and let the user pick the one they want to use?

If we can have multiple zeroconf daemons, then that wouldn't be a good solution anyways.

Quoted 9 lines

Technically you can (as this is a multicast socket), but actually making it work properly isn't straightforward as you'd end up with two daemons both announcing the host record. Pretty sure you can make it work, which is different from wpa_supplicant/iwd (and I guess you could even make those coexist if you had two wireless interfaces?), but I'm not sure it's an out of the box configuration we should be point folk at! libnss-mdns is a simple pick one or the other choice, but that's enforced anyway because they end up colliding in the filesystem.

I think sorting a sane default would be good for all. I am not too tied to any one package.

Quoted 14 lines

Frankly it's a bit of mess...

--
Alex Kiernan

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#211549): https://lists.openembedded.org/g/openembedded-core/message/211549
Mute This Topic: https://lists.openembedded.org/mt/111202159/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw
Quoted 63 lines · Khem Raj
Quoted 49 lines · Alex Kiernan via lists.openembedded.org
Quoted 38 lines · Quentin Schulz

Hi Alex,

Quoted 11 lines · Alex Kiernan
Quoted 9 lines · Quentin Schulz

Hi Alex,

Quoted 4 lines · Alex Kiernan via lists.openembedded.org

avahi, systemd-resolved and mDNSResponder (in meta-networking) can all provide Zeroconf services. Add a ZEROCONF_DAEMON option to select which of these will provide service via packagegroup-base-zeroconf.

Quoted 5 lines
Quoted 2 lines

If I'm not mistaken, this seems to be fitting RPROVIDES usage?

I guess I'm guilty of copying what was there (WIRELESS_DAEMON)

Fair enough, consistency is probably better here then :)

Quoted 5 lines
Quoted 4 lines

and then we simply RDEPENDS on zeroconf-daemon?

Does that work (haven't tested myself)? What do you think?

Quoted 9 lines

And then selection via a PREFERRED_RPROVIDER:zeroconf-daemon = "..."

I guess I think it should work, though my concern is the interaction between the daemon and the nss plugin, which is how I ended up down this rabbit hole in the first place!

We seem to have very little usage of RPROVIDES (other than as a migration mechanism) and PREFERRED_RPROVIDER in general.

Quoted 8 lines

That makes sense if the packages are absolutely incompatible with each other. For example, for the WIRELESS_DAEMON case, you may want to have wpa-supplicant but probably could have iwd too in the same rootfs and let the user pick the one they want to use?

If we can have multiple zeroconf daemons, then that wouldn't be a good solution anyways.

Quoted 9 lines

Technically you can (as this is a multicast socket), but actually making it work properly isn't straightforward as you'd end up with two daemons both announcing the host record. Pretty sure you can make it work, which is different from wpa_supplicant/iwd (and I guess you could even make those coexist if you had two wireless interfaces?), but I'm not sure it's an out of the box configuration we should be point folk at! libnss-mdns is a simple pick one or the other choice, but that's enforced anyway because they end up colliding in the filesystem.

Quoted 3 lines

I think sorting a sane default would be good for all. I am not too tied to any one package.

I think this gives sensible defaults... if you're a systemd user (with systemd-networkd) you get systemd-resolved, else avahi, unless you need to make it through Apple's bonjour conformance testing, in which case you probably want mDNSResponder, but that's definitely an opt-in choice (passing BCT is possible with the others, but the testing is so painful, frankly going mDNSResponder is just easier).

Quoted 6 lines
Quoted 6 lines

Frankly it's a bit of mess...

--
Alex Kiernan

Quoted 8 lines
Quoted 8 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#211549): https://lists.openembedded.org/g/openembedded-core/message/211549
Mute This Topic: https://lists.openembedded.org/mt/111202159/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
Alex Kiernan

#7 lore raw
In reply to Alex Kiernan
Quoted 43 lines · Alex Kiernan via lists.openembedded.org
Quoted 11 lines · Quentin Schulz

Hi Alex,

Quoted 4 lines · Alex Kiernan via lists.openembedded.org

avahi, systemd-resolved and mDNSResponder (in meta-networking) can all provide Zeroconf services. Add a ZEROCONF_DAEMON option to select which of these will provide service via packagegroup-base-zeroconf.

If I'm not mistaken, this seems to be fitting RPROVIDES usage?

I guess I'm guilty of copying what was there (WIRELESS_DAEMON)

Quoted 10 lines

What if we had something like

RPROVIDES:${PN}-resolved += "zeroconf-daemon"

in the systemd recipe

RPROVIDES:${PN}-libnss-mdns += "zeroconf-daemon"

in the mdns recipe and

This would be:

RPROVIDES:${PN} += "zeroconf-daemon"

Quoted 4 lines

RPROVIDES:${PN}-daemon += "zeroconf-daemon"

in the avahi-libnss-mdns recipe?

And the base avahi recipe here

Quoted 4 lines

and then we simply RDEPENDS on zeroconf-daemon?

Does that work (haven't tested myself)? What do you think?

Quoted 8 lines

And then selection via a PREFERRED_RPROVIDER:zeroconf-daemon = "..."

I guess I think it should work, though my concern is the interaction between the daemon and the nss plugin, which is how I ended up down this rabbit hole in the first place!

We seem to have very little usage of RPROVIDES (other than as a migration mechanism) and PREFERRED_RPROVIDER in general.

I'd strongly suggest avoiding PREFERRED_RPROVIDER. It doesn't work how people think it does and I wish I'd held my ground and never added the thing. It works where you have something that can be provided by multiple things even if several of them end up present, it doesn't matter as long as you have at least one.

The reason there aren't many references to PREFERRED_RPROVIDER is because what I suspect you're trying to do is usually handled with VIRTUAL-RUNTIME_* variables. These lock in to specific configuration choices explicitly.

They are pretty horrible and I wish we had a better way but they are the best we've been able to come up with. I've had ideas on better solutions but never any time to implement anything.

Cheers,

Richard

#8 lore raw
In reply to Alex Kiernan
Quoted 22 lines · Alex Kiernan via lists.openembedded.org

avahi, systemd-resolved and mDNSResponder (in meta-networking) can all provide Zeroconf services. Add a ZEROCONF_DAEMON option to select which of these will provide service via packagegroup-base-zeroconf.

---
 meta/recipes-core/packagegroups/packagegroup-base.bb | 7 +++++--

 1 file changed, 5 insertions(+), 2 deletions(-)
meta/recipes-core/packagegroups/packagegroup-base.bb +0 -0
index cb9d1f07af51..ac450fbdc9a7 100644
@@ -312,11 +312,14 @@ RDEPENDS:packagegroup-base-nfs = "\
  RRECOMMENDS:packagegroup-base-nfs = "\

     kernel-module-nfs "

meta/recipes-core/packagegroups/packagegroup-base.bb +2 -0
+# Choose 'avahi-daemon', 'mdns' or 'systemd-resolved' as zeroconf-daemon
+ZEROCONF_DAEMON ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd-resolved', 'systemd-resolved', 'avahi-daemon', d)}"

 SUMMARY:packagegroup-base-zeroconf = "Zeroconf support" RDEPENDS:packagegroup-base-zeroconf = "\
-    avahi-daemon"

Quoted 8 lines

+    ${@ '' if d.getVar('ZEROCONF_DAEMON') == 'systemd-resolved' else d.getVar('ZEROCONF_DAEMON')} \
+    "
 RDEPENDS:packagegroup-base-zeroconf:append:libc-glibc = "\
-    libnss-mdns \
+    ${@ {'mdns':'mdns-libnss-mdns','avahi-daemon':'avahi-libnss-mdns','systemd-resolved':''}[d.getVar('ZEROCONF_DAEMON')]} \
     "

 SUMMARY:packagegroup-base-ipv6 = "IPv6 support"

This has been sitting in master-next for too long. Various people on the patch review calls have promised to reply to it but we've all been struggling for the right reasoning and time to write that reply.

Basically, several of us are not convinced this is correct. The challenge is that "zeroconf" means different things and the things being switched between here aren't equivalent. They don't have the same APIs and don't function in the same way, the similarities are very loose. That contradicts the way we usually make selections like this.

That said, having stared at this just now, I can nearly convince myself this is the right thing to do :/.

Can anyone suggest how this should be handled?

Cheers,

Richard

#9 lore raw
Quoted 43 lines · Richard Purdie
Quoted 20 lines · Alex Kiernan via lists.openembedded.org

avahi, systemd-resolved and mDNSResponder (in meta-networking) can all provide Zeroconf services. Add a ZEROCONF_DAEMON option to select which of these will provide service via packagegroup-base-zeroconf.

---
 meta/recipes-core/packagegroups/packagegroup-base.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta/recipes-core/packagegroups/packagegroup-base.bb +2 -0
index cb9d1f07af51..ac450fbdc9a7 100644
@@ -312,11 +312,14 @@ RDEPENDS:packagegroup-base-nfs = "\
 RRECOMMENDS:packagegroup-base-nfs = "\
     kernel-module-nfs "
 
+# Choose 'avahi-daemon', 'mdns' or 'systemd-resolved' as zeroconf-daemon
+ZEROCONF_DAEMON ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd-resolved', 'systemd-resolved', 'avahi-daemon', d)}"
 SUMMARY:packagegroup-base-zeroconf = "Zeroconf support"

meta/recipes-core/packagegroups/packagegroup-base.bb RDEPENDS:packagegroup-base-nfs = "\ · line 325

Quoted 10 lines
meta/recipes-core/packagegroups/packagegroup-base.bb +3 -2
 RDEPENDS:packagegroup-base-zeroconf = "\
-    avahi-daemon"
+    ${@ '' if d.getVar('ZEROCONF_DAEMON') == 'systemd-resolved' else d.getVar('ZEROCONF_DAEMON')} \
+    "
 RDEPENDS:packagegroup-base-zeroconf:append:libc-glibc = "\
-    libnss-mdns \
+    ${@ {'mdns':'mdns-libnss-mdns','avahi-daemon':'avahi-libnss-mdns','systemd-resolved':''}[d.getVar('ZEROCONF_DAEMON')]} \
     "
 
 SUMMARY:packagegroup-base-ipv6 = "IPv6 support"

This has been sitting in master-next for too long. Various people on the patch review calls have promised to reply to it but we've all been struggling for the right reasoning and time to write that reply.

Basically, several of us are not convinced this is correct. The challenge is that "zeroconf" means different things and the things being switched between here aren't equivalent. They don't have the same APIs and don't function in the same way, the similarities are very loose. That contradicts the way we usually make selections like this.

Quoted 4 lines

That said, having stared at this just now, I can nearly convince myself this is the right thing to do :/.

Can anyone suggest how this should be handled?

Ya, I struggled with this one also. In my mind, the problem here is that "zeroconf" is a pretty precise set of functionality that allows you do to automatic network setup. The problem as I see it is that each method of implementing that does so with wildly different and generally incompatible userspace APIs (systemd/avahi/mdns-sd). The problem is thusly that if all you truly cared about was just zeroconf, then it doesn't matter which of these you chose (although, by that token, why do we need a choice at all if they all do the same thing?), but as soon as you want to write applications that use mDNS, it matters greatly which mDNS provider you use.

As such, my suggestion is just to leave this as is. If you truly only care about zeroconf, then use the packagegroup and you'll get it. If you care about the mDNS API, *don't* use this to provide it. Packages that need a specific API should pull in the correct one automatically, or you can add it as a distro dependency, etc. It just doesn't quite seem right to me to backdoor it though this packagegroup.

Quoted 6 lines

Cheers,

Richard

#10 lore raw
Quoted 62 lines · Joshua Watt
Quoted 43 lines · Richard Purdie
Quoted 20 lines · Alex Kiernan via lists.openembedded.org

avahi, systemd-resolved and mDNSResponder (in meta-networking) can all provide Zeroconf services. Add a ZEROCONF_DAEMON option to select which of these will provide service via packagegroup-base-zeroconf.

---
 meta/recipes-core/packagegroups/packagegroup-base.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta/recipes-core/packagegroups/packagegroup-base.bb +2 -0
index cb9d1f07af51..ac450fbdc9a7 100644
@@ -312,11 +312,14 @@ RDEPENDS:packagegroup-base-nfs = "\
 RRECOMMENDS:packagegroup-base-nfs = "\
     kernel-module-nfs "
 
+# Choose 'avahi-daemon', 'mdns' or 'systemd-resolved' as zeroconf-daemon
+ZEROCONF_DAEMON ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd-resolved', 'systemd-resolved', 'avahi-daemon', d)}"
 SUMMARY:packagegroup-base-zeroconf = "Zeroconf support"

meta/recipes-core/packagegroups/packagegroup-base.bb RDEPENDS:packagegroup-base-nfs = "\ · line 325

Quoted 10 lines
meta/recipes-core/packagegroups/packagegroup-base.bb +3 -2
 RDEPENDS:packagegroup-base-zeroconf = "\
-    avahi-daemon"
+    ${@ '' if d.getVar('ZEROCONF_DAEMON') == 'systemd-resolved' else d.getVar('ZEROCONF_DAEMON')} \
+    "
 RDEPENDS:packagegroup-base-zeroconf:append:libc-glibc = "\
-    libnss-mdns \
+    ${@ {'mdns':'mdns-libnss-mdns','avahi-daemon':'avahi-libnss-mdns','systemd-resolved':''}[d.getVar('ZEROCONF_DAEMON')]} \
     "
 
 SUMMARY:packagegroup-base-ipv6 = "IPv6 support"

This has been sitting in master-next for too long. Various people on the patch review calls have promised to reply to it but we've all been struggling for the right reasoning and time to write that reply.

Basically, several of us are not convinced this is correct. The challenge is that "zeroconf" means different things and the things being switched between here aren't equivalent. They don't have the same APIs and don't function in the same way, the similarities are very loose. That contradicts the way we usually make selections like this.

Quoted 4 lines

That said, having stared at this just now, I can nearly convince myself this is the right thing to do :/.

Can anyone suggest how this should be handled?

Ya, I struggled with this one also. In my mind, the problem here is that "zeroconf" is a pretty precise set of functionality that allows you do to automatic network setup. The problem as I see it is that each method of implementing that does so with wildly different and generally incompatible userspace APIs (systemd/avahi/mdns-sd). The problem is thusly that if all you truly cared about was just zeroconf, then it doesn't matter which of these you chose (although, by that token, why do we need a choice at all if they all do the same thing?), but as soon as you want to write applications that use mDNS, it matters greatly which mDNS provider you use.

Quoted 7 lines

As such, my suggestion is just to leave this as is. If you truly only care about zeroconf, then use the packagegroup and you'll get it. If you care about the mDNS API, *don't* use this to provide it. Packages that need a specific API should pull in the correct one automatically, or you can add it as a distro dependency, etc. It just doesn't quite seem right to me to backdoor it though this packagegroup.

If I explain how I got here, but then say I don't actually disagree with this point of view!

I have a platform that needs to use mDNSResponder (i.e. needs to get through the horror that is bonjour conformance testing[1]), but we have zeroconf in the default list of DISTRO_FEATURES, so packagegroup-base gets you packagegroup-base-zeroconf, which gets you avahi.

But I guess I've made the assumption that zeroconf is about mdns and how that happens, not how IPv4 link local addressing is done, which is another of the zeroconf hats.

Maybe this is really a documentation problem and the zeroconf feature is just IPv4LL addressing and not the entire networking soup of
https://en.wikipedia.org/wiki/Zero-configuration_networking?

[1] Yes, I know Avahi can pass, but getting a BCT pass is beyond painful...

Signature · 1 line
Alex Kiernan