Package: nfdump
Version: 1.5.7+20081221-3
Severity: normal

Hi,

on my box, when nfdump is not running, running /etc/init.d/nfdump stop
returns 1, which breaks updates.

This is the tail of a bash -x /etc/init.d/nfdump stop

++ VERBOSE=no
++ '[' '' ']'
++ true
+ . /lib/lsb/init-functions
++ FANCYTTY=
++ '[' -e /etc/lsb-base-logging.sh ']'
++ . /etc/lsb-base-logging.sh
+ case "$1" in
+ '[' no '!=' no ']'
+ do_stop
+ start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile 
/var/run/nfcapd.pid --name nfcapd
+ RETVAL=1
+ '[' 1 = 2 ']'
+ rm -f /var/run/nfcapd.pid
+ return 1
+ case "$?" in
+ '[' no '!=' no ']'

Looks like the shell is stumbling about this code

  stop)
        [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
        do_stop
        case "$?" in
                0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
                2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
        esac
        ;;

the 0|1 line. I find this puzzling since the VERBOSE construct works
find just three lines above.

Btw, why that verbose stuff, isn't an init script supposed to report
about its actions by default?

Greetings
Marc

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

Kernel: Linux 2.6.29.4-nc8000 (PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nfdump depends on:
ii  libc6                         2.9-18     GNU C Library: Shared libraries
ii  librrd2                       1.2.15-0.3 Time-series data storage and displ
ii  lsb-base                      3.2-22     Linux Standard Base 3.2 init scrip

nfdump recommends no packages.

nfdump suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to