Bug#480839: consider not starting asterisk on upgrade when no /etc/rc*/S*asterisk symlinks exists

Faidon Liambotis paravoid at debian.org
Mon May 26 03:33:12 UTC 2008


reassign 480839 debhelper
thanks

Timo Juhani Lindfors wrote:
> 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*:
As evident by the comments, this snippet is added automatically by 
dh_installinit, a component of debhelper.

I'm not sure if your rationale is valid but if it is, this affects a 
whole lot of other packages.

I'm reassigning this to debhelper so that its maintainer can decide if 
it warrants a fix or not.

Thanks,
Faidon





More information about the Pkg-voip-maintainers mailing list