clone 393711 -1
severity -1 important
reassign -1 avahi-daemon
retitle -1 Please restart avahi-daemon when DNS settings change and disable it 
when a .local SOA is present
stop

        Hi,

 I just uploaded a nss-mdns NMU which I think addresses the RC issues of
 this particular package.  One of the major changes is that it now
 requires avahi-daemon to resolve .local entries.  IIUC, the proper way
 to support networks where ".local" is a real domain name is to disable
 avahi-daemon when a nameserver claims to have a SOA for the .local
 domain.  This check should be made everytime the DNS settings change
 and on boot, so I think the simplest way is to:
 1) check whether there's a SOA for .local before starting avahi-daemon,
    and do not really start it when a start was requested but a SOA was
    found
 2) restart avahi-daemon in a dhclient hook to make sure the test is
    run with the new DNS settings
 3) restart avahi-daemon in a resolvconf hoook to make sure the test is
    run with the new DNS settings

 Would one the avahi-daemon maintainers be so kind to upload an
 avahi-daemon implementing this?  A dhclient hook sample with the SOA
 test is present in Ubuntu's 0.6.15-1ubuntu6, in
 debian/patches/ubuntu-dhclient-check-unicast-local.patch, but I'm not
 sure it correctly handles an empty resolv.conf (which results in a
 timeout IIRC).


 I'm sorry I couldn't work it out with the avahi-daemon maintainers to
 make these changes in avahi before uploading the nss-mdns NMU; I'm
 leaving for a week of holidays with limited net access until the 1st of
 january, but I do intend to fix any mess I created or to pick up this
 work if it didn't happen when I get back.

 I wish you all a Merry Christmas!  And if you need to catch me, you can
 still ring my mobile phone which is in db.debian.org.

   Bye,
-- 
Loïc Minier <[EMAIL PROTECTED]>
 "Forget your stupid theme park! I'm gonna make my own! With hookers!
  And blackjack! In fact, forget the theme park!"          -- Bender

Reply via email to