Your message dated Sun, 08 Aug 2010 04:32:06 +0000
with message-id <e1ohxym-000311...@franck.debian.org>
and subject line Bug#516349: fixed in jabber-irc 0.4cvs20080505-1.1
has caused the Debian Bug report #516349,
regarding jabber-irc uses nonstandard places for init-related functionality
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 ow...@bugs.debian.org
immediately.)


-- 
516349: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516349
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: jabber-irc
Version: 0.4cvs20080505-1
Severity: minor
Tags: patch

jabber-irc init.d script sources /etc/jabber/functions, provided by
jabber-common,
which is only a PID checker. This package must be using /lib/lsb/init-functions
and therefore Depends on lsb-base.

Please remove the Depends on jabber-common since currently it is a useless
package that should be removed from Debian.

Also, please check the attached patch for init.d file.

--
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0xBBAE1769 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche
--- init.d	2009-02-20 12:22:19.000000000 -0430
+++ init.d	2009-02-20 14:26:11.000000000 -0430
@@ -22,7 +22,7 @@
    . /etc/default/jabber-irc
 fi
 
-. /etc/jabber/functions
+. /lib/lsb/init-functions
 
 test -x $DAEMON -a "$ENABLED" -eq "1" || exit 0
 
@@ -30,18 +30,29 @@
 
 case "$1" in
   start)
-   check_pid
-	echo -n "Starting $DESC: "
-	export PID
-	start-stop-daemon -b -c jabber:adm --start --quiet \
-		--exec $DAEMON -- $CMDLINE
-	echo "$NAME."
-	;;
+   if [ -e $PID ]; then
+     PIDDIR=/proc/$(cat $PID)
+     if [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = "${DAEMON}" ]; then 
+       log_success_msg "$DESC already started; not starting."
+       exit
+     else
+       log_success_msg "Removing stale PID file $PID."
+       rm -f $PID
+     fi
+   fi
+
+   log_daemon_msg "Starting $DESC: "
+   export PID
+   start-stop-daemon -b -c jabber:adm --start --quiet --pidfile $PID\
+      --exec $DAEMON -- $CMDLINE
+   echo "$NAME."
+   ;;
   stop)
 	echo -n "Stopping $DESC: "
 	start-stop-daemon -o --stop --signal INT --quiet --retry 3 \
                 --pidfile $PID --exec /usr/bin/python
 	echo "$NAME."
+	rm -f $PID
 	;;
   #reload)
 	#

--- End Message ---
--- Begin Message ---
Source: jabber-irc
Source-Version: 0.4cvs20080505-1.1

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

jabber-irc_0.4cvs20080505-1.1.diff.gz
  to main/j/jabber-irc/jabber-irc_0.4cvs20080505-1.1.diff.gz
jabber-irc_0.4cvs20080505-1.1.dsc
  to main/j/jabber-irc/jabber-irc_0.4cvs20080505-1.1.dsc
jabber-irc_0.4cvs20080505-1.1_all.deb
  to main/j/jabber-irc/jabber-irc_0.4cvs20080505-1.1_all.deb



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 516...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Serafeim Zanikolas <s...@debian.org> (supplier of updated jabber-irc 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 ftpmas...@debian.org)


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

Format: 1.8
Date: Fri, 06 Aug 2010 03:41:27 +0200
Source: jabber-irc
Binary: jabber-irc
Architecture: source all
Version: 0.4cvs20080505-1.1
Distribution: unstable
Urgency: low
Maintainer: Alexey Nezhdanov <snak...@users.sourceforge.net>
Changed-By: Serafeim Zanikolas <s...@debian.org>
Description: 
 jabber-irc - IRC transport for jabber
Closes: 516349
Changes: 
 jabber-irc (0.4cvs20080505-1.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Applied patch from Ubuntu (Closes: #516349). Thanks to Miguel Landaeta and
     Ilya Barygin.
     - debian/control: depend on adduser and on lsb-base (instead of
       jabber-common)
     - debian/init.d: take into account the substitution of jabber-common with
       lsb-base
     - debian/postinst, debian/postrm: use "jabber" user creation/deletion
       code from jabber-common
     - debian/dirs: add var/log/jabber
   * Fix binary-arch-rules-but-pkg-is-arch-indep lintian warning
   * Depend on ${misc:Depends} for debhelper
   * Set debian/compat to 7, update minimum debhelper version, and replace
     deprecated ``dh_clean -k'' with dh_prep
   * Move init.d script to /etc/init.d/
   * Remove debian/prerm and let dh_installinit generate it instead
   * Invoke start-stop-deamon with --make-pidfile
Checksums-Sha1: 
 feaa7a6bd8f5ccc6979a4b36f435089af9ceb7eb 1782 jabber-irc_0.4cvs20080505-1.1.dsc
 d4abb511fcb6b18f5fc603202eb8d5a931063d5b 13593 
jabber-irc_0.4cvs20080505-1.1.diff.gz
 9c59de3e3a77cbb91c654e166462f6612d32744c 42574 
jabber-irc_0.4cvs20080505-1.1_all.deb
Checksums-Sha256: 
 5df42fef83e6c9220dd443155f7d1ca9b0c31976172b7ba39a74426f6213ec73 1782 
jabber-irc_0.4cvs20080505-1.1.dsc
 23f147fa3e07556e6aa9eb33a656e6457c9f7b305adf491a3a3448ba2dab9bb8 13593 
jabber-irc_0.4cvs20080505-1.1.diff.gz
 7c3ecc782fa771ab6f6687dd0030f835eb5fc1465ffea1a470056a1a33a14754 42574 
jabber-irc_0.4cvs20080505-1.1_all.deb
Files: 
 473caa5660d59b7b317a48783c04aa5c 1782 net optional 
jabber-irc_0.4cvs20080505-1.1.dsc
 4e94e94805e9a89d227a134c95ce4bcf 13593 net optional 
jabber-irc_0.4cvs20080505-1.1.diff.gz
 b5ae0603504748cce624c2c492ede06e 42574 net optional 
jabber-irc_0.4cvs20080505-1.1_all.deb

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

iQIcBAEBCAAGBQJMW4lKAAoJEE+fbVUO1hIqLsUP/i6/HcAIDeuEqOt4VU6yQ4sC
0XEJMFPpDwQbhTW4nsCLCDgKp+YYYKM4lXU5y65L7ChjEFvrap6JMsZ5fCKPZXE0
FoKcPN7w/ndVVyUQCHZ2FVUX39QBMd8NyNUkNPCUhZZNt10Dmz0Uow58Id5pdG//
liCc4YSFB42+ziqhqII/lfrOx96zyKaGmq1g4TN2I40QmbJEbsqOrBGLJNalCazm
jDIBzTYppwILzIR2nDBcU0jQTxaKLqy8A1AY2gzu3RbbasdGAOxr80bfUGgoAWO9
u6JZbVWS6H53aggT9FEnF4pQiAskgMegO/MpcgR/w/9hPVGgOAuyRpkcIQT7UgL0
4EHSpQIp3zSDBE245EUyaJsPF4cOssjSzy0OVOhcDgaIJscdXjcYLUyyNa0mTcR7
fG2wSW4V5nsKlQV+na6rXCtneAVLRADKKKY/bAULv1Lc4L5j2XAaoYzHT6TrXXFb
b5lqKD7RTTCJgj8wp8ZUkP8GIc2HfSjVA+jUOTtEgj0jF6UY+Jlxt6Z/guBilVCD
0tXhY0/vruBx2IcLLjiiksXqW3u1nILZ75UwB0+4VsAc1FkP8xW48ZDxkWtHBL7T
gD1RF9RD2mUSr7pfN54nj55DHFF6B6sil+ChXDQuyo7KzcJfZKkjvOId+p1f2KVK
E/clB7JzURy86hwZ2Lo6
=eqTi
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to