Package: portreserve
Version: 0.0.0-2
Severity: grave

The init script has a negated test condition that prevents it from
starting:

In the registered_services() function, the second if condition causes
the function to return 1 if /etc/portreserve is non-empty (using the
"-n" test).  It should return 1 if /etc/portreserve is empty (using the
"-z" test).


A few other smaller errors: (that don't prevent the program from
running)

PIDFILE=/var/run/$prog.pid, but $prog is not defined.  I assume it
should be PIDFILE=/var/run/$NAME.pid.

The running() function doesn't work, because the pid-file never actually
gets created.  Of course, this causes the init script to say "ERROR!"
when it tries to start portreserve.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages portreserve depends on:
ii  libc6                         2.3.5-11   GNU C Library: Shared libraries an

portreserve recommends no packages.

-- no debconf information



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

Reply via email to