Your message dated Thu, 19 Apr 2007 17:17:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#419794: fixed in avahi 0.6.18-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: avahi-autoipd
Version: 0.6.17-3
Severity: normal
Tags: patch

With this package installed, ifdown wlan0 takes 10 seconds to run. 
This makes downing and upping dhcp when moving to a different network much
slower than it needs to be. I used to ifdown; ifup when resuming from sleep,
but that's impractical when the ifdown takes this long to run.

 ps shows:

27108 pts/3    S+     0:00          |           \_ ifdown wlan0
27134 pts/3    S+     0:00          |               \_ dhclient3 -r -pf 
/var/run/dhclient.wlan0.pid -lf /var/lib/dhcp3/dhclient.wlan0.leases wlan0
27135 pts/3    S+     0:00          |                   \_ /bin/bash 
/sbin/dhclient-script
27140 pts/3    S+     0:00          |                       \_ 
/usr/sbin/avahi-autoipd -wD wlan0

AFAIK this hook is only useful if dhclient failed to receive an address,
not when the link is being taken down.

According to the dhclient-script man page, the $exit_status variable
should be passed to the dhclient-exit-hooks script. However, in my
testing, zzz_avahi-autoipd does not see that. The man page also
documents though that the hooks will be run with RELEASE if the admin
wants it to drop its lease. So this patch will avoid the delay:

--- zzz_avahi-autoipd~  2007-04-17 19:31:11.000000000 -0400
+++ zzz_avahi-autoipd   2007-04-17 19:30:55.000000000 -0400
@@ -23,11 +23,11 @@
     MEDIUM|ARPCHECK|ARPSEND|NBI)
         ;;
 
-    PREINIT|BOUND|RENEW|REBIND|REBOOT|STOP)
+    PREINIT|BOUND|RENEW|REBIND|REBOOT|STOP|RELEASE)
         # Stopping avahi-autoipd is left for the enter hook
         ;;
     
-    EXPIRE|RELEASE|FAIL|TIMEOUT)
+    EXPIRE|FAIL|TIMEOUT)
         /usr/sbin/avahi-autoipd -wD $interface 2> /dev/null
         ;;
 esac

With that patch, ifdown takes less than 1 second.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages avahi-autoipd depends on:
ii  adduser                       3.102      Add and remove users and groups
ii  libc6                         2.5-1      GNU C Library: Shared libraries
ii  libdaemon0                    0.10-1     lightweight C library for daemons

Versions of packages avahi-autoipd recommends:
ii  dhcp3-client                  3.0.4-14   DHCP Client
ii  iproute                       20061002-4 Professional tools to control the 

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: avahi
Source-Version: 0.6.18-1

We believe that the bug you reported is fixed in the latest version of
avahi, which is due to be installed in the Debian FTP archive:

avahi-autoipd_0.6.18-1_i386.deb
  to pool/main/a/avahi/avahi-autoipd_0.6.18-1_i386.deb
avahi-daemon_0.6.18-1_i386.deb
  to pool/main/a/avahi/avahi-daemon_0.6.18-1_i386.deb
avahi-discover_0.6.18-1_all.deb
  to pool/main/a/avahi/avahi-discover_0.6.18-1_all.deb
avahi-dnsconfd_0.6.18-1_i386.deb
  to pool/main/a/avahi/avahi-dnsconfd_0.6.18-1_i386.deb
avahi-utils_0.6.18-1_i386.deb
  to pool/main/a/avahi/avahi-utils_0.6.18-1_i386.deb
avahi_0.6.18-1.diff.gz
  to pool/main/a/avahi/avahi_0.6.18-1.diff.gz
avahi_0.6.18-1.dsc
  to pool/main/a/avahi/avahi_0.6.18-1.dsc
avahi_0.6.18.orig.tar.gz
  to pool/main/a/avahi/avahi_0.6.18.orig.tar.gz
libavahi-client-dev_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-client-dev_0.6.18-1_i386.deb
libavahi-client3_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-client3_0.6.18-1_i386.deb
libavahi-common-data_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-common-data_0.6.18-1_i386.deb
libavahi-common-dev_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-common-dev_0.6.18-1_i386.deb
libavahi-common3_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-common3_0.6.18-1_i386.deb
libavahi-compat-howl-dev_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-compat-howl-dev_0.6.18-1_i386.deb
libavahi-compat-howl0_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-compat-howl0_0.6.18-1_i386.deb
libavahi-compat-libdnssd-dev_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-compat-libdnssd-dev_0.6.18-1_i386.deb
libavahi-compat-libdnssd1_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-compat-libdnssd1_0.6.18-1_i386.deb
libavahi-core-dev_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-core-dev_0.6.18-1_i386.deb
libavahi-core5_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-core5_0.6.18-1_i386.deb
libavahi-glib-dev_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-glib-dev_0.6.18-1_i386.deb
libavahi-glib1_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-glib1_0.6.18-1_i386.deb
libavahi-qt3-1_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-qt3-1_0.6.18-1_i386.deb
libavahi-qt3-dev_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-qt3-dev_0.6.18-1_i386.deb
libavahi-qt4-1_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-qt4-1_0.6.18-1_i386.deb
libavahi-qt4-dev_0.6.18-1_i386.deb
  to pool/main/a/avahi/libavahi-qt4-dev_0.6.18-1_i386.deb
python-avahi_0.6.18-1_all.deb
  to pool/main/a/avahi/python-avahi_0.6.18-1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Dröge <[EMAIL PROTECTED]> (supplier of updated avahi package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 19 Apr 2007 07:00:01 +0200
Source: avahi
Binary: python-avahi libavahi-client3 avahi-autoipd libavahi-glib-dev 
libavahi-common-data avahi-utils libavahi-common-dev libavahi-qt3-1 
libavahi-glib1 libavahi-qt4-dev libavahi-qt4-1 avahi-dnsconfd avahi-discover 
libavahi-compat-libdnssd-dev libavahi-compat-howl-dev libavahi-common3 
libavahi-core-dev libavahi-compat-howl0 libavahi-core5 libavahi-client-dev 
libavahi-compat-libdnssd1 libavahi-qt3-dev avahi-daemon
Architecture: source all i386
Version: 0.6.18-1
Distribution: unstable
Urgency: low
Maintainer: Utopia Maintenance Team <[EMAIL PROTECTED]>
Changed-By: Sebastian Dröge <[EMAIL PROTECTED]>
Description: 
 avahi-autoipd - Avahi IPv4LL network address configuration daemon
 avahi-daemon - Avahi mDNS/DNS-SD daemon
 avahi-discover - Service discover user interface for avahi
 avahi-dnsconfd - Avahi DNS configuration tool
 avahi-utils - Avahi browsing, publishing and discovery utilities
 libavahi-client-dev - Development files for the Avahi client library
 libavahi-client3 - Avahi client library
 libavahi-common-data - Avahi common data files
 libavahi-common-dev - Development files for the Avahi common library
 libavahi-common3 - Avahi common library
 libavahi-compat-howl-dev - Development headers for the Avahi Howl 
compatibility library
 libavahi-compat-howl0 - Avahi Howl compatibility library
 libavahi-compat-libdnssd-dev - Development headers for the Avahi Apple Bonjour 
compatibility lib
 libavahi-compat-libdnssd1 - Avahi Apple Bonjour compatibility library
 libavahi-core-dev - Development files for Avahi's embeddable mDNS/DNS-SD 
library
 libavahi-core5 - Avahi's embeddable mDNS/DNS-SD library
 libavahi-glib-dev - Development headers for the Avahi glib integration library
 libavahi-glib1 - Avahi glib integration library
 libavahi-qt3-1 - Avahi Qt3 integration library
 libavahi-qt3-dev - Development headers for the Avahi Qt3 integration library
 libavahi-qt4-1 - Avahi Qt4 integration library
 libavahi-qt4-dev - Development headers for the Avahi Qt4 integration library
 python-avahi - Python utility package for Avahi
Closes: 419794
Changes: 
 avahi (0.6.18-1) unstable; urgency=low
 .
   [ Sjoerd Simons ]
   * debian/patches/13_avahi_big_dns_records.patch
     + Update this patch to the version that was commited upstream
 .
   [ Sebastian Dröge ]
   * New upstream release:
     + debian/patches/12_avahi-generic-records.patch,
       debian/patches/13_avahi_big_dns_records.patch:
       - Dropped, merged upstream.
   * debian/patches/12_avahi-autoipd-dhcp-exit-hook-take-down.patch:
     + Patch by Joey Hess to make ifdown faster again (Closes: #419794)
Files: 
 06153a05f6644c06312df0d61ceda466 1552 net optional avahi_0.6.18-1.dsc
 ab3d67cb743d16cf38ad69b4b76ca989 961748 net optional avahi_0.6.18.orig.tar.gz
 5016b4dac62a593e9c46d49b96d3cc94 16850 net optional avahi_0.6.18-1.diff.gz
 ba292c3906a978bd89f29ca11a2c99d4 26780 python optional 
python-avahi_0.6.18-1_all.deb
 e10c9d5f99e136760afb2e32bcbf0776 26486 net optional 
avahi-discover_0.6.18-1_all.deb
 8aeff11a47622b48572a7ffa8827fac7 81164 net optional 
avahi-daemon_0.6.18-1_i386.deb
 7af52ef69bf62ed9478a1a6e1be25332 32600 net optional 
avahi-dnsconfd_0.6.18-1_i386.deb
 54f616323e1e7e4ac8e9fe40a1f1474f 42658 net optional 
avahi-autoipd_0.6.18-1_i386.deb
 cb296907f4a42c8c7b993f34a4501af4 44544 net optional 
avahi-utils_0.6.18-1_i386.deb
 51e9250607a477f2fb9bed77e1d3f1b0 40192 libs optional 
libavahi-common3_0.6.18-1_i386.deb
 99c2f7506d3e4321db1aa1695bc80486 24208 libs optional 
libavahi-common-data_0.6.18-1_i386.deb
 46606a60850b3647160f975e135d614c 59190 libdevel optional 
libavahi-common-dev_0.6.18-1_i386.deb
 cfd7591319c3fdb5f50d36b9428f874b 105542 libs optional 
libavahi-core5_0.6.18-1_i386.deb
 503c7108f22e93cd4c158e1333d48ebd 146696 libdevel optional 
libavahi-core-dev_0.6.18-1_i386.deb
 b26b32a7f536aa2c36aaf849179890fa 44948 libs optional 
libavahi-client3_0.6.18-1_i386.deb
 5f414c252047bf0c0e0fbdf8dbdd4187 54624 libdevel optional 
libavahi-client-dev_0.6.18-1_i386.deb
 d52924841d257aad14c60ad2d6b56aca 25966 libs optional 
libavahi-glib1_0.6.18-1_i386.deb
 cb93230c17c6cde47f8be79e8405e7a7 27336 libdevel optional 
libavahi-glib-dev_0.6.18-1_i386.deb
 a7ec9d43d027ad09b21736f8b9c72423 28572 libs optional 
libavahi-qt3-1_0.6.18-1_i386.deb
 03d7c79522231265c0b4a7c661a9efa9 28438 libdevel optional 
libavahi-qt3-dev_0.6.18-1_i386.deb
 913db97435eaab0e51d1ddacbcee0fbe 26392 libs optional 
libavahi-qt4-1_0.6.18-1_i386.deb
 4a16e04828909924130b69055dbb0440 26230 libdevel optional 
libavahi-qt4-dev_0.6.18-1_i386.deb
 9607256c94fe8c8143e6fdcf136528c6 38802 libs optional 
libavahi-compat-howl0_0.6.18-1_i386.deb
 06e4e2f5504f7e3020ee82232ef2a52e 53628 libdevel optional 
libavahi-compat-howl-dev_0.6.18-1_i386.deb
 39b15b50fb4b1471b141578ed838e29a 33816 libs optional 
libavahi-compat-libdnssd1_0.6.18-1_i386.deb
 f3b3239c8814406918682c619eaff892 53378 libdevel optional 
libavahi-compat-libdnssd-dev_0.6.18-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGJ1LBBsBdh1vkHyERAuCwAJ4mW0xD9q8bomadjb0uLwZz5D9FHACfSMY0
iINk+IpUp73JfsVciIL02X4=
=A0Sm
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to