[Pkg-utopia-maintainers] Bug#415160: avahi-daemon-check-dns.sh doesn't work correctly in non-C locale environments

Michael Setzer michael.setzer at celeborn.de
Fri Mar 16 16:38:39 CET 2007


Package: avahi-daemon
Version: 0.6.16-4
Severity: normal

Hi there,

I just wondered why the avahi-daemon won't shut down even if there is a
..local domain available in my network and found out, that it does not
wor correctly when the system locale has been set to something else than
any english locale.

In detail:

The script avahi-daemon-check-dns.sh should grep all interface ip-adresses:

	ADDRS=$(ifconfig | grep ' addr:')

With the system locale set to de_DE at euro the grep doesn't match anything
'cause addr: is Adresse: here. Maybe this line should be changed to

	ADDRS=$(LC_ALL=C ifconfig | grep ' addr:')

Now it works for me.

Regards, Michael

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)

Versions of packages avahi-daemon depends on:
ii  adduser                     3.102        Add and remove users and groups
ii  dbus                        1.0.2-1      simple interprocess messaging syst
ii  libavahi-common3            0.6.16-4     Avahi common library
ii  libavahi-core4              0.6.16-4     Avahi's embeddable mDNS/DNS-SD lib
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libcap1                     1:1.10-14    support for getting/setting POSIX.
ii  libdaemon0                  0.10-1       lightweight C library for daemons
ii  libdbus-1-3                 1.0.2-1      simple interprocess messaging syst
ii  libexpat1                   1.95.8-3.4   XML parsing C library - runtime li

Versions of packages avahi-daemon recommends:
ii  libnss-mdns                   0.9-0.2    NSS module for Multicast DNS name 

-- no debconf information




More information about the Pkg-utopia-maintainers mailing list