pe 27.12.2024 klo 14.27 Chris Hofstaedtler (z...@debian.org) kirjoitti:
>
> On Fri, Dec 27, 2024 at 01:47:20PM +0200, Martin-Éric Racine wrote:
> > > >> TBH, I'm not sure what you are trying to achieve with the Provides:
> > > >> avahi-autoipd in dhcpcd-base.
> > > >>
> > > >> Answering that question might help with finding a proper solution.
> > > >
> > > > dhclient doesn't provide IPv4LL but has hooks to call avahi-autoipd as
> > > > needed. Meanwhile dhcpcd provides IPv4LL out of the box, along the
> > > > same fallback connectivity logic as avahi-autoipd. Having both
> > > > installed is not only redundant, it concurrently tries to control the
> > > > same interfaces. Basically, this is the same reason why we want to
> > > > avoid 2 DHCP clients trying to control the same interface and assume
> > > > that as long as one package Proivides dhcp-client, we've got a
> > > > bootable host.
> > >
> > > A Provides: avahi-autoipd does not ensure that both packages can't be
> > > installed at the same time. So it fails to achieve what you are trying
> > > to do.
> >
> > I've been told before not to Conflicts against other packages
> > providing similar features. I therefore avoided doing the same here
> > and instead Provides along a logic similar to dhcp-client.
>
> It's still the wrong solution to the problem you are describing.
>
> If you want to prevent installation of avahi-autoipd together with
> dhcpcd, then some other solution needs to be found.

You are welcome to suggest one.

Martin-Éric

Reply via email to