Package: nuauth
Version: 2.4.3-2.1+b1
Severity: normal

nuauth installs and runs fine.
After rebooting the system files no longer populate in /var/run/
I added the -p argument to mkdir on line #55
check_var_run_dir() {
        if [ ! -d /var/run/$PID/$PID ]; then
                mkdir -p /var/run/$PID/$PID
                chown $NUAUTH_USER /var/run/$PID/$PID
        fi
now nuauth dies "cannot create /var/run/nuauth/nuauth.pid"

I tried to set the target for /run/nuauth in /etc/init.d/nuauth
again nuauth dies "cannot created /var/run/nuauth/nuauth.pid"
I cannot find where the script calls for /var/run/nuauth/nuauth.pid

http://en.wikipedia.org/wiki/NuFW (external links)
lists the projects new name as 
http://www.ufwi.org/

apoligies for reporting this so late in the release cycle.
best regards

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.4-trunk-rt-686-pae (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages nuauth depends on:
ii  adduser           3.113+nmu3
ii  debconf           1.5.44
ii  libc6             2.13-33
ii  libgcrypt11       1.5.0-3
ii  libglib2.0-0      2.32.3-1
ii  libldap-2.4-2     2.4.31-1
ii  libnussl1         2.4.3-2.1+b1
ii  libpam0g          1.1.3-7.1
ii  libprelude2       1.0.0-9
ii  libsasl2-2        2.1.25.dfsg1-4+b1
ii  libsasl2-modules  2.1.25.dfsg1-4+b1
ii  openssl           1.0.1c-3
ii  passwd            1:4.1.5.1-1
ii  ssl-cert          1.0.31
ii  ucf               3.0025+nmu3

Versions of packages nuauth recommends:
ii  nuauth-utils  2.4.3-2.1

nuauth suggests no packages.

-- Configuration Files:
/etc/init.d/nuauth changed:
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/nuauth
PID=nuauth
NAME=nuauth
DESC=nuauth
NUAUTH_START="no"
test -x $DAEMON || exit 0
if [ -f /etc/default/nuauth ] ; then
        . /etc/default/nuauth
fi
if [ "$NUAUTH_START" != "true" ]; then
  exit 0
fi
if [ ! "$NUAUTH_VERBOSITY" ]; then
  NUAUTH_VERBOSITY="vv"
fi
if [ ! "$NUAUTH_USER" ]; then
  echo "No user configured to run nuauth... Trying \"nobody\" ..."
  NUAUTH_USER="nobody"
fi
DAEMON_OPTS="-D -$NUAUTH_VERBOSITY"
set -e
check_var_run_dir() {
        if [ ! -d /var/run/$PID/$PID ]; then
                mkdir -p /var/run/$PID/$PID
                chown $NUAUTH_USER /var/run/$PID/$PID
        fi
}
case "$1" in
  start)
        check_var_run_dir
        echo -n "Starting $DESC: "
        start-stop-daemon --start --quiet --pidfile /var/run/$PID/$PID.pid \
                --chuid $NUAUTH_USER --exec $DAEMON -- $DAEMON_OPTS
        echo "$NAME."
        ;;
  stop)
        echo -n "Stopping $DESC: "
        start-stop-daemon --stop --quiet  --oknodo --pidfile 
/var/run/$PID/$PID.pid \
                --retry 5 --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 \
        #       /var/run/$NAME.pid --exec $DAEMON
  #;;
  restart|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".
        #
        check_var_run_dir
        echo -n "Restarting $DESC: "
        start-stop-daemon --stop --quiet --oknodo --pidfile \
                /var/run/$PID/$PID.pid --retry 5 --exec $DAEMON
        sleep 1
        start-stop-daemon --start --quiet --pidfile /var/run/$PID/$PID.pid \
                --chuid $NUAUTH_USER --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-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to