Package: isns
Version: 2.1-01+dfsg-3
Severity: grave
Tags: patch
Justification: renders package unusable

Dear Maintainer,
There is a typo in the initscript for isns.   It specifies the PID as 
/var/run/isnss.pid, when in actuality it is /var/run/isnsd.pid.

this causes the daemon to start improperly with the error

Oct  9 18:22:33 dns isnsd: src/iSNSLinux.c:241#011isnss daemon not started#012


-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (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/dash

Versions of packages isns depends on:
ii  libc6     2.13-38
ii  libgdbm3  1.8.3-11

isns recommends no packages.

isns suggests no packages.

-- Configuration Files:
/etc/init.d/isns changed:
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
PID_FILE=/var/run/isnsd.pid
CONFIG_FILE=/etc/isns/isns.conf
DAEMON=/usr/sbin/isnsd
NAME=isnsd
DESC="iSNS Internet Storage Naming Service"
test -x $DAEMON || exit 0
set -e
case "$1" in
  start)
        echo -n "Starting $DESC: "
        start-stop-daemon --start --quiet --oknodo --pidfile $PID_FILE \
                --exec $DAEMON -- $DAEMON_OPTS
        echo "$NAME."
        ;;
  stop)
        echo -n "Stopping $DESC: "
        start-stop-daemon --stop --quiet --oknodo --pidfile $PID_FILE \
                --exec $DAEMON
        echo "$NAME."
        ;;
  #reload)
        #
        #       If the daemon can reload its config files on the fly
        #       for example by sending it SIGHUP, do it here.
        #
        #       If the daemon responds to changes in its config file
        #       directly anyway, make this a do-nothing entry.
        #
        # echo "Reloading $DESC configuration files."
        # start-stop-daemon --stop --signal 1 --quiet --pidfile \
        #       $PID_FILE --exec $DAEMON
  #;;
  force-reload)
        #
        #       If the "reload" option is implemented, move the "force-reload"
        #       option to the "reload" entry above. If not, "force-reload" is
        #       just the same as "restart" except that it does nothing if the
        #   daemon isn't already running.
        # check wether $DAEMON is running. If so, restart
        start-stop-daemon --stop --test --quiet --oknodo --pidfile \
                $PID_FILE --exec $DAEMON \
        && $0 restart \
        || exit 0
        ;;
  restart)
    echo -n "Restarting $DESC: "
        start-stop-daemon --stop --quiet --oknodo --pidfile \
                $PID_FILE --exec $DAEMON
        sleep 1
        start-stop-daemon --start --quiet --oknodo --pidfile \
                $PID_FILE --exec $DAEMON -- $DAEMON_OPTS
        echo "$NAME."
        ;;
  *)
        N=/etc/init.d/$NAME
        # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
        echo "Usage: $N {start|stop|restart|force-reload}" >&2
        exit 1
        ;;
esac
exit 0


-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to