[Pkg-utopia-maintainers] Bug#409513: ifup and ifdown slow becouse of avahi-deamon script

Reinhard Tartler siretart at tauware.de
Wed Feb 21 13:28:37 UTC 2007


severity 409513 important

On Sat, Feb 03, 2007 at 06:58:43PM +0100, Andrzej Zięba wrote:
> Configuring network interfaces at boot and deconfiguring at shut down
> takes 10s or so.

I see this as well.

> I think that the long time out at system shut down happens because 
> avahi-daemon script is called from /etc/network/if-post-down.d/ and not 
> from /etc/network/if-down.d.

I rather think this is because /etc/network/if-up.d/avahi-daemon uses
the 'host' binary to check if the local system administrator has
configured a dns for the '.local' TLD.

Please remove this check from that script. A better place would be
in preinst of the package. This way, every user of avahi (including
depending packages like kdenetwork, ...) has to suffer a 2 sec penalty
at boot time.
 
-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4




More information about the Pkg-utopia-maintainers mailing list