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

Bug#701210: marked as done (crossroads: Please provide initscript/defaults file)



Your message dated Fri, 27 May 2016 16:19:56 +0000
with message-id <E1b6KUO-000407-GP@franck.debian.org>
and subject line Bug#701210: fixed in crossroads 2.81-1
has caused the Debian Bug report #701210,
regarding crossroads: Please provide initscript/defaults file
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.)


-- 
701210: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701210
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: crossroads
Version: 2.65-1.1
Severity: wishlist
Tags: patch

Hello,

It would be very useful if crossroads had an initscript and an
/etc/defaults/crossroads file.

I've made a functional, although not very featureful version of both and have
attached them to this bug report.

thank you for maintaining this package!
micah

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

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
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 crossroads depends on:
ii  libc6       2.13-38
ii  libgcc1     1:4.7.2-5
ii  libstdc++6  4.7.2-5

crossroads recommends no packages.

crossroads suggests no packages.

-- no debconf information
#! /bin/sh
### BEGIN INIT INFO
# Provides:          crossroads
# Required-Start:    $network $named $remote_fs $syslog
# Required-Stop:     $network $named $remote_fs $syslog
# Should-Start:      crossroads
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: crossroads agent
# Description:       crossroads is a load balancer with fail-over capability
### END INIT INFO                                                                                                                                          

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/xr
DAEMON_OPTS=""
NAME="crossroads"
DESC="crossroads"
PIDFILE="/var/run/${NAME}.pid"

test -x $DAEMON || exit 0

[ -r /etc/default/crossroads ] && . /etc/default/crossroads

.. /lib/lsb/init-functions

is_true() {
    if [ "x$1" = "xtrue" -o "x$1" = "xyes" -o "x$1" = "x0" ] ; then
        return 0
    else
        return 1
    fi
}

reload_crossroads_agent() {
        start-stop-daemon --stop --quiet --signal HUP --pidfile $PIDFILE 
}

start_crossroads_agent() {
    if is_true "$START" ; then
        start-stop-daemon --start --quiet --background -m --pidfile $PIDFILE \
            --startas $DAEMON -- $DAEMON_OPTS
    else
        echo ""
        echo "crossroads not configured to start, please edit /etc/default/crossroads to enable"
    fi
}

stop_crossroads_agent() {
        start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE
        # need to remove the $PIDFILE because of -m option to start-stop-daemon
        rm -f $PIDFILE
}

status_crossroads_agent() {
        status_of_proc -p "${PIDFILE}" "${DAEMON}" "${NAME}"
}

case "$1" in
    start)
        log_begin_msg "Starting $DESC"
        start_crossroads_agent
        log_end_msg $?
        ;;
    stop)
        log_begin_msg "Stopping $DESC"
        stop_crossroads_agent
        log_end_msg $?
        ;;
    reload)
        log_begin_msg "Reloading $DESC"
        reload_crossroads_agent
        log_end_msg $?
        ;;
    status)
        status_crossroads_agent
        ;;
    restart|force-reload)
        log_begin_msg "Restarting $DESC"
        stop_crossroads_agent
        sleep 1
        start_crossroads_agent
        log_end_msg $?
        ;;
  *)
        echo "Usage: $0 {start|stop|status|restart|force-reload|reload}" >&2
        exit 1
        ;;
esac
Defaults file for crossroads, sourced by /etc/init.d/crossroads

# Start crossroads on boot?
START=no

# Startup options
DAEMON_OPTS=""


--- End Message ---
--- Begin Message ---
Source: crossroads
Source-Version: 2.81-1

We believe that the bug you reported is fixed in the latest version of
crossroads, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 701210@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Reiner Herrmann <reiner@reiner-h.de> (supplier of updated crossroads package)

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 27 May 2016 16:31:04 +0200
Source: crossroads
Binary: crossroads
Architecture: source
Version: 2.81-1
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Reiner Herrmann <reiner@reiner-h.de>
Description:
 crossroads - open source load balance and fail over utility for TCP based serv
Closes: 701210 811914
Changes:
 crossroads (2.81-1) unstable; urgency=low
 .
   [ Reiner Herrmann ]
   * QA upload.
   * New upstream release.
     - Fix building with g++-6 (Closes: #811914).
   * Add watch file.
   * Convert to dh-style build.
   * Bump debhelper compatibility to version 9.
   * Use source format 3.0 (quilt).
   * Bump Standards-Version to 3.9.8.
   * Add Vcs-* fields.
   * Register documentation at doc-base.
   * Convert debian/copyright to DEP5.
   * debian/patches:
     - Refresh and add DEP3 headers.
     - Fix spelling errors found by lintian.
     - Support reproducible building.
     - Honour build flags for hardened build.
     - Don't strip binary to enable dbgsym packages.
     - Build verbosely to see compiler calls.
 .
   [ Micah Anderson ]
   * Add init script and defaults file (Closes: #701210).
 .
   [ Tone Kravanja ]
   * Make xrctl compatible with newer Perl version (LP: #1580924).
Checksums-Sha1:
 c8ca5fd6b6799e07eac044ec2757f53bb785773f 1846 crossroads_2.81-1.dsc
 8df6c469cd155548da2ec1b5865cc89a87f71c38 1076588 crossroads_2.81.orig.tar.gz
 b6cd29afaa4d663fbe6b20ab418c26b8941bcc1a 6872 crossroads_2.81-1.debian.tar.xz
Checksums-Sha256:
 34e9a5482674c06cebed09d07efac9b9ec341ada9897b1e99a336a60e42ce853 1846 crossroads_2.81-1.dsc
 9b05fbf59a4c04ab95d1153b11fe4d0f6413cb2b76c190e74882d02f646d6ea4 1076588 crossroads_2.81.orig.tar.gz
 0fc6897f38d1e2b6e72ad571534a03584310d661fc9af810413a75c13d42b4d1 6872 crossroads_2.81-1.debian.tar.xz
Files:
 71f2771d120e1bd7dd2c22a5277f0fff 1846 net extra crossroads_2.81-1.dsc
 b00a60524a59350b842c1ccb569e67af 1076588 net extra crossroads_2.81.orig.tar.gz
 4add15c6149183c0a726c983c7be8ad4 6872 net extra crossroads_2.81-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJXSF1sAAoJEEsEP825REVAX6YQAJanHj26A3ET9qkVAsVu+Qbb
ctuFTKRlZS0AjztsuhI57PC+/r2zrF5/I2pXDZcnuGfBMp0AJEL/OmoxvX0LLyZ0
9K8ONi9jByTmMmJB1h2FNBwrO51EkoGRNObgoBWd3U4JE5cjfk9HotKGv+np2JNi
fku1+hyCLBywVVc4hye9w0YStGM9VwKSYPDUc6/dl8EzcnBWGrT/u7JzOWfAylsW
fNmAKTVMzCZIUSVg2kNDin76FwFaJQIA+ECLzvyiFUVqG0HBbt9/cs9o7eYfSBU+
mBVQB4c6W/SnnFVEBgc43X3jic/qAdNxUF+dX4uxkMKihcv4bj9LPmPP8yi94GOh
/U2dO1kHH29Dvuu27mp2NwgFQ3xDk9Y0ky2o+mjbN4r4ruKNZxeKWQBqFWF+Hju3
hBva1qGFSmHA/xcS+cR8BB7t6G8LFrSi7hGVW5uZ4tBOIBuNnstmOxI2SNEtJseo
pLNbv8ZcN5RY+YrSicvhionut8QsS92le75WfgJOXMb9GmEqteHEj5fCKrjEFVHj
5hDNwbbE4PkBEPX5XTwNa5l9hO2yibT241HgLZHqcBN/R3hge1cUkc2NPM5UMLkD
u+frlQBHJf83QH9am3sRPjMOFWEPLkBOgzHbU55KxfJUsJoulfnMHzfIdT4KM+FC
lwQqxMBMiTDT7IODiURR
=Gu3T
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: