Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Painted into a corner: avahi and mDNSResponder
Date: Sun, 12 Oct 2008 09:11:08
Message-Id: 200810121111.02937.volker.armin.hemmann@tu-clausthal.de
In Reply to: Re: [gentoo-user] Painted into a corner: avahi and mDNSResponder by Alan McKinnon
1 On Sonntag 12 Oktober 2008, Alan McKinnon wrote:
2 > On Sunday 12 October 2008 10:25:51 Andrey Vul wrote:
3 > > On Sun, Oct 12, 2008 at 3:51 AM, Alan McKinnon <alan.mckinnon@×××××.com>
4 >
5 > wrote:
6 > > > On Sunday 12 October 2008 08:04:22 Volker Armin Hemmann wrote:
7 > > >> On Sonntag 12 Oktober 2008, Alan E. Davis wrote:
8 > > >> > Almost perpetually, the following packages or their versions are
9 > > >> > blocking. I have run emerge -e system several times. Some other
10 > > >> > problems were cleared up, and this
11 > > >> > avahi--mDNSResponder/mdnsresponder-compat whatever it all is, just
12 > > >> > keeps coming back even when solved by some skullduggery. I've
13 > > >> > removed both of them at one time or another.
14 > > >> >
15 > > >> > [blocks B ] net-dns/avahi ("net-dns/avahi" is blocking
16 > > >> > net-misc/mDNSResponder-107.6-r5)
17 > > >> >
18 > > >> > [blocks B ] net-misc/mDNSResponder ("net-misc/mDNSResponder" is
19 > > >> > blocking net-dns/avahi-0.6.23)
20 > > >> >
21 > > >> > I guess the problem is that I am running gnome and also have two or
22 > > >> > three different versions/slots of kde installed. I suppose, then,
23 > > >> > it's remarkable that only these blocks are showing up?
24 > > >> >
25 > > >> > Can someone lend a hand on this? Anything I do is little more than
26 > > >> > blind tinkering.
27 > > >> >
28 > > >> > Alan
29 > > >>
30 > > >> set the avahi useflag, unmerge mdnsresponder, emerge avahi.
31 > > >
32 > > > That looks familiar. I remember similar deep blocks myself - it was
33 > > > nasty at the time.
34 > > >
35 > > > For the OP's benefit, here's a high level summary of what is going on:
36 > > >
37 > > > Avahi and mDNSResponder implement a system called ZeroConf, first
38 > > > designed by Apple. It's a way for machines on a network to find each
39 > > > other and what network features they support. These systems are quite
40 > > > low-level so unfortunately the implementations are often incompatible.
41 > > >
42 > > > By and large you will find that Gnome stuff supports Avahi and KDE
43 > > > stuff supports mDNSResponder, so the only way out of this mess is often
44 > > > extensive use of 'equery hasuse', 'equery depends' and 'emerge -pvt' so
45 > > > see what pulls in what. But first you should research what these things
46 > > > are so you can make intelligent decisions about what to include and
47 > > > what to drop. The thing that cleared it up for me was an interview with
48 > > > the KDE team lead responsible for these features - Google will find it
49 > > > for you.
50 > >
51 > > IIRC mdnsresponder-compat USE flags allows use of avahi in KDE (3).
52 >
53 > I believe you are correct:
54 >
55 > alan@nazgul ~ $ grep mdns /var/portage/profiles/use.*
56 > /var/portage/profiles/use.local.desc:net-dns/avahi:mdnsresponder-compat -
57 > Enable compat libraries for mDNSResponder
58
59 just grep for avahi in /usr/portage/kde-base ....