[Pkg-utopia-maintainers] Bug#718716: avahi-daemon: the "/etc/init.d/avahi-daemon" script is not LSB-compliant when used with the "status" parameter

Nobody origil at orange.fr
Sun Aug 4 17:53:21 UTC 2013


Package: avahi-daemon
Version: 0.6.31-2
Severity: minor
Tags: upstream

Hello.
        The "/etc/init.d/avahi-daemon" script, when called with the "status"
parameter, just prints a string on standard output and send back no return
value, thus being unusable by other programs looking at its return value such
as defined by the Linux Standard Base.
        In my humble opinion, this script should be modified so the
"d_status()" function body should contain something as :
 $DAEMON -c && { echo "$DESC is running"; return 0; } || { echo "$DESC is not
running"; return 3; }
        instead of :
  $DAEMON -c && echo "$DESC is running" || echo "$DESC is not running"

Thank you !



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (700, 'testing'), (700, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.41-mien (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages avahi-daemon depends on:
ii  adduser            3.113+nmu3
ii  bind9-host [host]  1:9.8.4.dfsg.P1-6+nmu2
ii  dbus               1.6.8-1
ii  libavahi-common3   0.6.31-2
ii  libavahi-core7     0.6.31-2
ii  libc6              2.17-3
ii  libcap2            1:2.22-1.2
ii  libdaemon0         0.14-2
ii  libdbus-1-3        1.6.8-1
ii  libexpat1          2.1.0-1
ii  lsb-base           4.1+Debian7

Versions of packages avahi-daemon recommends:
ii  libnss-mdns  0.10-3.2

Versions of packages avahi-daemon suggests:
pn  avahi-autoipd  <none>

-- Configuration Files:
/etc/init.d/avahi-daemon changed [not included]

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list