[Pkg-utopia-maintainers] Bug#421360: sort: command not found

Julien Valroff julien at kirya.net
Sat Apr 28 09:15:20 UTC 2007

Package: avahi-daemon
Version: 0.6.18-4
Severity: normal
Tags: patch


/usr/lib/avahi/avahi-daemon-check-dns.sh outputs an error, at least when mounting a
network interface through DHCP:
  Listening on LPF/eth0/00:14:85:09:dd:0d
  Sending on   LPF/eth0/00:14:85:09:dd:0d
  Sending on   Socket/fallback
  DHCPDISCOVER on eth0 to port 67 interval 3
  DHCPREQUEST on eth0 to port 67
  DHCPACK from
  /usr/lib/avahi/avahi-daemon-check-dns.sh: line 72: sort: command not found
  bound to -- renewal in 35492 seconds.

The path to sort should be explicitely set to /usr/bin/sort:
  --- avahi-daemon-check-dns.sh.orig      2007-04-28 10:50:01.000000000 +0200
  +++ avahi-daemon-check-dns.sh   2007-04-28 10:49:13.000000000 +0200
  @@ -69,7 +69,7 @@
  -  cat /etc/resolv.conf | grep "nameserver" | sort > ${TMP_CACHE} || return 0
  +  cat /etc/resolv.conf | grep "nameserver" | /usr/bin/sort > ${TMP_CACHE} || return 0
     if [ -e ${NS_CACHE} ]; then 
       DIFFERENCE=$(diff -w ${NS_CACHE} ${TMP_CACHE})


-- 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/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages avahi-daemon depends on:
ii  adduser                       3.102      Add and remove users and groups
ii  dbus                          1.0.2-4    simple interprocess messaging syst
ii  libavahi-common3              0.6.18-4   Avahi common library
ii  libavahi-core5                0.6.18-4   Avahi's embeddable mDNS/DNS-SD lib
ii  libc6                         2.5-4      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-4    simple interprocess messaging syst
ii  libexpat1                     1.95.8-3.4 XML parsing C library - runtime li
ii  lsb-base                      3.1-23.1   Linux Standard Base 3.1 init scrip

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