Your message dated Sat, 17 Dec 2011 15:28:30 +0000
with message-id <[email protected]>
and subject line Bug#639254: fixed in sagan 0.2.0-1
has caused the Debian Bug report #639254,
regarding sagan postinst script hangs
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 [email protected]
immediately.)


-- 
639254: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639254
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sagan
Version: 0.1.9-1
Severity: important


When installing sagan, the postinst script starts it using the start-stop-daemon
program. The script hangs because sagan doesn't go to background despite the use
of the -D flag.
The only workaround I found is to add the -b flag to start-stop-daemon.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages sagan depends on:
ii  adduser                    3.113         add and remove users and groups
ii  libc6                      2.13-18       Embedded GNU C Library: Shared lib
ii  libee0                     0.3.1-1       Event expression library inspired 
ii  libesmtp6                  1.0.6-1+b1    LibESMTP SMTP client library
ii  libestr0                   0.1.1-1       Helper functions for handling stri
ii  liblognorm0                0.3.0-2       Log normalizing library
ii  libmysqlclient16           5.1.58-1      MySQL database client library
ii  libpcap0.8                 1.1.1-8       system interface for user-level pa
ii  libpcre3                   8.12-4        Perl 5 Compatible Regular Expressi
ii  libpq5                     9.1~rc1-1     PostgreSQL C client library
ii  libprelude2                1.0.0-7       Security Information Management Sy
ii  sagan-rules                10212010-r1-1 Real-time System & Event Log Monit

sagan recommends no packages.

sagan suggests no packages.

-- Configuration Files:
/etc/init.d/sagan changed:
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC=sagan             # Introduce a short description here
NAME=sagan             # Introduce the short server's name here
DAEMON=/usr/sbin/sagan # Introduce the server's location here
DAEMON_ARGS="-D"             # Arguments to run the daemon with
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
VARRUN=/var/run/$NAME
[ -x $DAEMON ] || exit 0
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
. /lib/init/vars.sh
. /lib/lsb/init-functions
do_start()
{
        [ -d "$VARRUN" ] || mkdir "$VARRUN"
        chown sagan:adm "$VARRUN"
        [ -e "$VARRUN/sagan.fifo" ] || mkfifo -m 0770 "$VARRUN/sagan.fifo"
        chown sagan:adm "$VARRUN/sagan.fifo"
        # Return
        #   0 if daemon has been started
        #   1 if daemon was already running
        #   2 if daemon could not be started
        start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON 
--test > /dev/null \
                || return 1
        start-stop-daemon --start --quiet -b --pidfile $PIDFILE --exec $DAEMON 
-- \
                $DAEMON_ARGS \
                || return 2
        # Add code here, if necessary, that waits for the process to be ready
        # to handle requests from services started subsequently which depend
        # on this one.  As a last resort, sleep for some time.
}
do_stop()
{
        # Return
        #   0 if daemon has been stopped
        #   1 if daemon was already stopped
        #   2 if daemon could not be stopped
        #   other if a failure occurred
        start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile 
$PIDFILE --name $NAME
        RETVAL="$?"
        [ "$RETVAL" = 2 ] && return 2
        # Wait for children to finish too if this is a daemon that forks
        # and if the daemon is only ever run from this initscript.
        # If the above conditions are not satisfied then add some other code
        # that waits for the process to drop all resources that could be
        # needed by services started subsequently.  A last resort is to
        # sleep for some time.
        start-stop-daemon --stop --quiet --oknodo --retry=0/10/KILL/5 --exec 
$DAEMON
        [ "$?" = 2 ] && return 2
        # Many daemons don't delete their pidfiles when they exit.
        rm -f $PIDFILE
        return "$RETVAL"
}
do_reload() {
        #
        # If the daemon can reload its configuration without
        # restarting (for example, when it is sent a SIGHUP),
        # then implement that here.
        #
        start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name 
$NAME
        return 0
}
case "$1" in
  start)
    [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC " "$NAME"
    do_start
    case "$?" in
                0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
                2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
        esac
  ;;
  stop)
        [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
        do_stop
        case "$?" in
                0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
                2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
        esac
        ;;
  status)
       status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
       ;;
  #reload|force-reload)
        #
        # If do_reload() is not implemented then leave this commented out
        # and leave 'force-reload' as an alias for 'restart'.
        #
        #log_daemon_msg "Reloading $DESC" "$NAME"
        #do_reload
        #log_end_msg $?
        #;;
  restart|force-reload)
        #
        # If the "reload" option is implemented then remove the
        # 'force-reload' alias
        #
        log_daemon_msg "Restarting $DESC" "$NAME"
        do_stop
        case "$?" in
          0|1)
                do_start
                case "$?" in
                        0) log_end_msg 0 ;;
                        1) log_end_msg 1 ;; # Old process is still running
                        *) log_end_msg 1 ;; # Failed to start
                esac
                ;;
          *)
                # Failed to stop
                log_end_msg 1
                ;;
        esac
        ;;
  *)
        #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
        echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
        exit 3
        ;;
esac
:


-- no debconf information



--- End Message ---
--- Begin Message ---
Source: sagan
Source-Version: 0.2.0-1

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

sagan_0.2.0-1.debian.tar.gz
  to main/s/sagan/sagan_0.2.0-1.debian.tar.gz
sagan_0.2.0-1.dsc
  to main/s/sagan/sagan_0.2.0-1.dsc
sagan_0.2.0-1_amd64.deb
  to main/s/sagan/sagan_0.2.0-1_amd64.deb
sagan_0.2.0.orig.tar.gz
  to main/s/sagan/sagan_0.2.0.orig.tar.gz



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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre Chifflier <[email protected]> (supplier of updated sagan 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 17 Dec 2011 16:04:27 +0000
Source: sagan
Binary: sagan
Architecture: source amd64
Version: 0.2.0-1
Distribution: unstable
Urgency: low
Maintainer: Pierre Chifflier <[email protected]>
Changed-By: Pierre Chifflier <[email protected]>
Description: 
 sagan      - Real-time System & Event Log Monitoring System
Closes: 639254 652166
Changes: 
 sagan (0.2.0-1) unstable; urgency=low
 .
   * Imported Upstream version 0.2.0
     - Fifo handling on start should not block now (Closes: #639254)
   * Add patch to fix build (Closes: #652166)
     - Do not include lognorm.h directly, this is a private header
   * Convert to DH version 8
   * Add .gitignore file
Checksums-Sha1: 
 ed4c44a1bfe8271cb03cd5f859f0a0b8222c252a 1820 sagan_0.2.0-1.dsc
 07a0beb7e7cbd40c3c9190f07bce38c4664e4323 329728 sagan_0.2.0.orig.tar.gz
 ba21d055df95dbd78373164bfccb7606bd430371 6979 sagan_0.2.0-1.debian.tar.gz
 727ca8321e770d7ac1169ad6a3a259a98a22782e 90896 sagan_0.2.0-1_amd64.deb
Checksums-Sha256: 
 b91236ffb70d8479aff8997744d591dec5558716f1c177819a73f60eadc3f138 1820 
sagan_0.2.0-1.dsc
 cda2d1e4c0e93403469d21af672957302eabebade346a1f67036ae7427f3e399 329728 
sagan_0.2.0.orig.tar.gz
 c60ed8e1df0ea16d2425e859101649a76f5645491a72cd23ab8d2a3de4d161cf 6979 
sagan_0.2.0-1.debian.tar.gz
 8d165cbcad7e8c97440c6f0103098d3708dd255bde86ff06b93a5112ce859691 90896 
sagan_0.2.0-1_amd64.deb
Files: 
 fdd7f628a19853683c4222fb3e23ed71 1820 admin extra sagan_0.2.0-1.dsc
 914febb244a6853ddffda2c6a48d05a1 329728 admin extra sagan_0.2.0.orig.tar.gz
 3c3973f37c08ff3a7375eb4d6b282cee 6979 admin extra sagan_0.2.0-1.debian.tar.gz
 7f5239cb262b4a59e8ae4abf57cbba5c 90896 admin extra sagan_0.2.0-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJO7LC6AAoJEMYaZNzxOTmYWiMP/1sOvwhmN4CAoSEQsSoqHiti
r2V2EVHYi/nDeVC7ehIJAAbmjA/eMp3RRu9Av7bxAECopyvYDlpU5bDYUTsaztIg
uhKwkgXDj4MxlsaftwjiYmj9/4tFu9lvEkYie6rOfUpFyahzrS3vwIRMp1xg2qy8
UfTHtscaBJwyCrMzZYYN7+5jARfvB5yeLTsknWtoY7Q3tXuWN7zSHdEhgLMlbTjP
PvvQOECtPwWaTaruyd+IxRb0xN6NBpsW5sJc2ul8O7oA4OH8/HDJoaUu5PbdxBaa
O4YsLYbbbmgMvrnZK+9awtMAlPBcHrywNYTuJDO10f2JLQiiqHzA8gIerLPr7PUw
AANTnHLZ798hSFcvkP5Wt7EwyVYhRCDxWNDL8MA9rZ2+3rOxDKiu87VtdOiLGFfp
bWoKdGkQ8xhIv6zCx+qwJAZk+FLAYAgVBQKF4N54YzhTZwhCCLZ7dCVWbNz3wvmt
CjD+0KAzofH+W7V7ERVyZN9mNRecyoN1o9G5h3n4plEUdrpitTYmL1hUeGr6+ghQ
B9WouDM2VpJOkCxH3N1ve9ks46JNR4uGPN/01LtmMvf0FJ+2zGPlFj2fV1P/eixS
2pWf7ggJS945yKCdCzRovNUmYW3oP30qTbCytRm+xLztjRGaBWM/P6cz59vYmoTD
FlYimJySlcF1E8o84Fad
=zDt8
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to