[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#719412: marked as done (pads: Setting daemon to 0 still runs PADS on boot)



Your message dated Sat, 01 Jul 2023 18:05:05 +0000
with message-id <[🔎] E1qFey1-003aFI-KM@fasolo.debian.org>
and subject line Bug#1039949: Removed package(s) from unstable
has caused the Debian Bug report #719412,
regarding pads: Setting daemon to 0 still runs PADS on boot
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
719412: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719412
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: pads
Version: 1.2-11
Severity: normal

Dear Maintainer,

in /etc/pads/pads.conf the configuration says "daemon", 0 = Disable, 1 = Enable
but in /etc/default/pads the daemon mode is hardwired as a command-line
option (-D).

It'd be nice to have a way to disable pads from running at all from the
/etc/default/pads. For the time being, I just added an exit 0 to the init
script.

To summarize:

* The documentation is wrong (that's a bug)
* It'd be nice to disable pads from /etc/default/pads (that's a wishlist
  item)

Thanks for mantaining PADS.

P.


-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-rc7-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pads depends on:
ii  libc6       2.13-38
ii  libpcap0.8  1.3.0-1
ii  libpcre3    1:8.30-5
ii  lsb-base    4.1+Debian8+deb7u1

pads recommends no packages.

pads suggests no packages.

-- Configuration Files:
/etc/init.d/pads changed:
set -e
.. /lib/lsb/init-functions
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DESC="Passive Asset Detection System"
NAME=pads
DAEMON=/usr/bin/$NAME
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
exit 0
test -x $DAEMON || exit 0
OPTS="-D -c /etc/pads/pads.conf"
if [ -r /etc/default/$NAME ]
then
	. /etc/default/$NAME
fi
running() {
    if [ -f "$PIDFILE" ] && \
       [ "x`pidof -s $NAME`" = "x`cat $PIDFILE 2> /dev/null`" ]
    then
        return 0
    fi
    return 1
}
d_start() {
	start-stop-daemon --start --quiet --pidfile $PIDFILE \
		--exec $DAEMON -- $OPTS > /dev/null
}
d_stop() {
	start-stop-daemon --stop --quiet --pidfile $PIDFILE \
		--name $NAME
}
d_reload() {
	start-stop-daemon --stop --quiet --pidfile $PIDFILE \
		--name $NAME --signal 1
}
case "$1" in
  start)
    log_daemon_msg "Starting $DESC" "$NAME"
    if running ; then
        log_progress_msg "(already running)"
        log_end_msg 0
        exit 0
    fi
    if d_start ; then
        log_end_msg $?
    else
        log_end_msg $?
    fi
	;;
  stop)
    log_daemon_msg "Stopping $DESC" "$NAME"
    if ! running; then
        log_progress_msg "not running"
        log_end_msg 0
        exit 0
    fi
    if d_stop ; then
        log_end_msg $?
    else
        log_end_msg $?
        exit 0
    fi
	;;
  status)
    log_daemon_msg "Checking status of $DESC" "$NAME"
    if running ; then
        log_progress_msg "running"
        log_end_msg $?
    else
        log_progress_msg "not running"
        log_end_msg $?
    fi
    ;;
  restart|reload|force-reload)
    $0 stop
    sleep 1
    $0 start
	;;
  *)
	echo "Usage: $SCRIPTNAME {start|stop|status|restart|reload|force-reload}" >&2
	exit 1
	;;
esac
exit 0


-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1.2-14+rm

Dear submitter,

as the package pads has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1039949

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: