Bug#300707: marked as done (/etc/init.d/asterisk broken only with RUNASTSAFE enabled)

Debian Bug Tracking System owner@bugs.debian.org
Mon, 21 Mar 2005 05:03:46 -0800


Your message dated Mon, 21 Mar 2005 07:47:09 -0500
with message-id <E1DDMJJ-0005qF-00@newraff.debian.org>
and subject line Bug#300707: fixed in asterisk 1:1.0.7.dfsg.1-2
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Mar 2005 09:45:47 +0000
>From jsamuel@acid.ph Mon Mar 21 01:45:47 2005
Return-path: <jsamuel@acid.ph>
Received: from fw.home.acid.ph (firefight.home.acid.ph) [82.109.83.162] (root)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DDJTm-00060z-00; Mon, 21 Mar 2005 01:45:47 -0800
Received: from firefight.home.acid.ph (james@localhost.home.acid.ph [127.0.0.1])
	by firefight.home.acid.ph (8.13.3/8.13.3/Debian-9) with ESMTP id j2L9jgd1011366
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
	for <submit@bugs.debian.org>; Mon, 21 Mar 2005 09:45:42 GMT
	(envelope-from jsamuel@acid.ph)
Received: (from james@localhost)
	by firefight.home.acid.ph (8.13.3/8.13.3/Submit) id j2L9jc0k011365
	for submit@bugs.debian.org; Mon, 21 Mar 2005 09:45:38 GMT
X-Authentication-Warning: firefight.home.acid.ph: james set sender to jsamuel@acid.ph using -f
Date: Mon, 21 Mar 2005 09:45:38 +0000
From: James Samuel <jsamuel@acid.ph>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /etc/init.d/asterisk broken only with RUNASTSAFE enabled
Message-ID: <20050321094538.GA11254@digiwar.eu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 3.8
User-Agent: Mutt/1.5.6+20040907i
X-Scanned-By: MIMEDefang 2.51 on 192.168.0.4
Received-SPF: pass (firefight.home.acid.ph: domain of jsamuel@acid.ph designates 127.0.0.1 as permitted sender) receiver=firefight.home.acid.ph; client-ip=127.0.0.1; helo=firefight.home.acid.ph; envelope-from=jsamuel@acid.ph; x-software=spfmilter 0.95 http://www.acme.com/software/spfmilter/ with libspf2;
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: asterisk
Version: 1:1.0.7.dfsg.1-1
Severity: normal

Hi,

Since recently upgrading asterisk and turning on RUNASTSAFE in the
defaults file, asterisk doesn't shut down cleanly. I believe this to be
caused by $WRAPPER_DAEMON not being defined either in the init.d file or
the defaults file. The error I get is as follows:

# /etc/init.d/asterisk stop
Stopping Asterisk PBX: asteriskstart-stop-daemon: option `--exec'
requires an argument
Try `start-stop-daemon --help' for more information.

If RUNASTSAFE is turned off, this error goes away. The affected code is
on line 83 of the init.d file:

start-stop-daemon --quiet --oknodo --stop --exec $WRAPPER_DAEMON

I'd hazard a guess that $WRAPPER_DAEMON should be set to
/usr/sbin/safe_asterisk - either that or the call should be to $DAEMON,
which is set correctly if RUNASTSAFE is enabled.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-ck2s
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages asterisk depends on:
ii  asterisk-config         1:1.0.7.dfsg.1-1 config files for asterisk
ii  asterisk-sounds-main    1:1.0.7.dfsg.1-1 sound files for asterisk
ii  libasound2              1.0.8-3          ALSA library
ii  libc6                   2.3.2.ds1-20     GNU C Library: Shared libraries an
ii  libgsm1                 1.0.10-13        Shared libraries for GSM speech co
ii  libncurses5             5.4-4            Shared libraries for terminal hand
ii  libnewt0.51             0.51.6-21        Not Erik's Windowing Toolkit - tex
ii  libpq3                  7.4.7-3          PostgreSQL C client library
ii  libpri1                 1.0.6-1          Primary Rate ISDN specification li
ii  libspeex1               1.1.6-2          The Speex Speech Codec
ii  libsqlite0              2.8.16-1         SQLite shared library
ii  libssl0.9.7             0.9.7e-3         SSL shared libraries
ii  libtonezone1            1:1.0.7-1        tonezone library (runtime)
ii  unixodbc                2.2.4-11         ODBC tools libraries
ii  zlib1g                  1:1.2.2-4        compression library - runtime

-- no debconf information

---------------------------------------
Received: (at 300707-close) by bugs.debian.org; 21 Mar 2005 12:54:28 +0000
>From katie@ftp-master.debian.org Mon Mar 21 04:54:27 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DDMQN-0001hA-00; Mon, 21 Mar 2005 04:54:27 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DDMJJ-0005qF-00; Mon, 21 Mar 2005 07:47:09 -0500
From: Kilian Krause <kk@verfaction.de>
To: 300707-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#300707: fixed in asterisk 1:1.0.7.dfsg.1-2
Message-Id: <E1DDMJJ-0005qF-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 21 Mar 2005 07:47:09 -0500
Delivered-To: 300707-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: asterisk
Source-Version: 1:1.0.7.dfsg.1-2

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

asterisk-config_1.0.7.dfsg.1-2_all.deb
  to pool/main/a/asterisk/asterisk-config_1.0.7.dfsg.1-2_all.deb
asterisk-dev_1.0.7.dfsg.1-2_all.deb
  to pool/main/a/asterisk/asterisk-dev_1.0.7.dfsg.1-2_all.deb
asterisk-doc_1.0.7.dfsg.1-2_all.deb
  to pool/main/a/asterisk/asterisk-doc_1.0.7.dfsg.1-2_all.deb
asterisk-gtk-console_1.0.7.dfsg.1-2_i386.deb
  to pool/main/a/asterisk/asterisk-gtk-console_1.0.7.dfsg.1-2_i386.deb
asterisk-h323_1.0.7.dfsg.1-2_i386.deb
  to pool/main/a/asterisk/asterisk-h323_1.0.7.dfsg.1-2_i386.deb
asterisk-sounds-main_1.0.7.dfsg.1-2_all.deb
  to pool/main/a/asterisk/asterisk-sounds-main_1.0.7.dfsg.1-2_all.deb
asterisk-web-vmail_1.0.7.dfsg.1-2_all.deb
  to pool/main/a/asterisk/asterisk-web-vmail_1.0.7.dfsg.1-2_all.deb
asterisk_1.0.7.dfsg.1-2.diff.gz
  to pool/main/a/asterisk/asterisk_1.0.7.dfsg.1-2.diff.gz
asterisk_1.0.7.dfsg.1-2.dsc
  to pool/main/a/asterisk/asterisk_1.0.7.dfsg.1-2.dsc
asterisk_1.0.7.dfsg.1-2_i386.deb
  to pool/main/a/asterisk/asterisk_1.0.7.dfsg.1-2_i386.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 300707@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kilian Krause <kk@verfaction.de> (supplier of updated asterisk 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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 21 Mar 2005 10:59:01 +0100
Source: asterisk
Binary: asterisk-sounds-main asterisk-h323 asterisk-web-vmail asterisk-gtk-console asterisk asterisk-config asterisk-dev asterisk-doc
Architecture: source all i386
Version: 1:1.0.7.dfsg.1-2
Distribution: unstable
Urgency: low
Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
Changed-By: Kilian Krause <kk@verfaction.de>
Description: 
 asterisk   - open source Private Branch Exchange (PBX)
 asterisk-config - config files for asterisk
 asterisk-dev - development files for asterisk
 asterisk-doc - documentation for asterisk
 asterisk-gtk-console - gtk based console for asterisk
 asterisk-h323 - asterisk H.323 VoIP channel
 asterisk-sounds-main - sound files for asterisk
 asterisk-web-vmail - web based (GCI) voice mail interface for asterisk
Closes: 300707
Changes: 
 asterisk (1:1.0.7.dfsg.1-2) unstable; urgency=low
 .
   * Mark Purcell
     + Update debian/watch to use svn-upgrade
   * Kilian Krause
     + debian/asterisk.init: fixed restart problem with breaking up after stop.
     + debian/asterisk.init: fixed reference to WRAPPER_DEAMON which is only
       DEAMON for us. (Closes:#300707)
Files: 
 93eb6579fd0e8655348562e3e1e191bc 1247 comm optional asterisk_1.0.7.dfsg.1-2.dsc
 95663c35982ccfbb078e9fd0cdc85184 67228 comm optional asterisk_1.0.7.dfsg.1-2.diff.gz
 444a7ca3524593e53b8724a49db4efab 1546656 doc optional asterisk-doc_1.0.7.dfsg.1-2_all.deb
 16ba3c9122cbc360f2860276165780d9 82996 devel optional asterisk-dev_1.0.7.dfsg.1-2_all.deb
 4730e0eed1180efcbbf957f8cedabbe1 1179738 comm optional asterisk-sounds-main_1.0.7.dfsg.1-2_all.deb
 ddb28e3668a1d3c19f379c32ddb7e9c7 27872 comm optional asterisk-web-vmail_1.0.7.dfsg.1-2_all.deb
 a52a01cf7c833d510b271b5e87a75561 61234 comm optional asterisk-config_1.0.7.dfsg.1-2_all.deb
 574e00371ea214d624c80cec7a84f93e 1174908 comm optional asterisk_1.0.7.dfsg.1-2_i386.deb
 c61fff7a15c3c5c27fa269a62ca842a5 21082 comm optional asterisk-h323_1.0.7.dfsg.1-2_i386.deb
 9fcc363dd6579b276120847615c125a2 29498 comm optional asterisk-gtk-console_1.0.7.dfsg.1-2_i386.deb

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

iD8DBQFCPr2pS+BYJZB4jhERAhseAKCfMVIrnaz0Mzf9W6DD6T/qElk8tACfTX1K
SI7XwFff9S/HspLl/1ihSFI=
=JA4J
-----END PGP SIGNATURE-----