Your message dated Mon, 31 Aug 2015 20:26:40 +0200
with message-id <[email protected]>
and subject line Re: Bug#480839: consider not starting asterisk on upgrade when 
no /etc/rc*/S*asterisk symlinks exists
has caused the Debian Bug report #480839,
regarding consider not starting asterisk on upgrade when no /etc/rc*/S*asterisk 
symlinks exists
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.)


-- 
480839: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480839
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: asterisk
Version: 1:1.2.13~dfsg-2etch2
Severity: wishlist

The postrm script

#!/bin/sh
set -e
# Automatically added by dh_installinit
if [ -x "/etc/init.d/asterisk" ]; then
        update-rc.d asterisk defaults 21 >/dev/null
        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
                invoke-rc.d asterisk start || exit $?
        else
                /etc/init.d/asterisk start || exit $?
        fi
fi
# End automatically added section

seems to start asterisk on upgrade even if there are no "S" symlinks in 
/etc/rc*:

# ls -l /etc/*/*asterisk*
-rw-rw---- 1 asterisk asterisk 3260 2007-08-22 20:22 /etc/asterisk/asterisk.adsi
-rw-rw---- 1 asterisk asterisk  247 2007-08-22 20:20 /etc/asterisk/asterisk.conf
-rw-r--r-- 1 root     root      894 2007-09-20 08:34 /etc/default/asterisk
-rw-r--r-- 1 root     root      893 2007-09-19 23:02 /etc/default/asterisk~
-rwxr-xr-x 1 root     root     4405 2007-08-22 20:20 /etc/init.d/asterisk
-rw-r--r-- 1 root     root      293 2007-08-22 20:22 /etc/logrotate.d/asterisk
lrwxrwxrwx 1 root     root       18 2007-11-07 00:23 /etc/rc1.d/K10asterisk -> 
../init.d/asterisk

It seems I can disable asterisk startup by editing
/etc/default/asterisk but this is non-trivial to do automatically
(yes, it can be done with some sed tricks of course).


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20gofrito
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages asterisk depends on:
ii  adduser             3.102                Add and remove users and groups
ii  asterisk-classic    1:1.2.13~dfsg-2etch2 Open Source Private Branch Exchang

asterisk recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Control: tags -1 wontfix

On Tue, 03 Jun 2008 20:10:19 +0300 Timo Juhani Lindfors
<[email protected]> wrote:
> Hi,
> 
> Faidon Liambotis <[email protected]> writes:
> > I'm not sure if your rationale is valid but if it is, this affects a
> > whole lot of other packages.
> 
> Thanks. I don't unfortunately have time to investigate this further at
> the moment but to me it appears to make it really hard to not
> accidentally offer some service to internet (firewall should not be
> the right solution here...).
> 
> best regards,
> Timo Lindfors
> 

Hi,

There is nothing we can do in debhelper AFAICT without violating Policy.

If you do not want a particular daemon to run, please use 'update-rc.d
disable' (or configure policy-rc.d).

Thanks,
~Niels

--- End Message ---

Reply via email to