asterisk-config missing asterisk_fix

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri Jul 14 19:28:55 UTC 2006


On Fri, Jul 14, 2006 at 04:18:06PM -0300, Thiago Martins wrote:
> On Fri, 2006-07-14 at 21:53 +0300, Tzafrir Cohen wrote:
> > On Fri, Jul 14, 2006 at 03:38:20PM -0300, Thiago Martins wrote:
> > > People,
> > > 
> > >  I install asterisk-classic_1.2.9.1.dfsg-1.dapper.1979_i386.deb but I
> > > see that the script asterisk_fix is not running, the things that it
> > > should do didn't happen.
> > 
> > asterisk_fix belongs in the package asterisk . There is no point in
> > applying config changes before there is an init.d script to start the
> > server.
> > 
> > Can anybody find a case where this assumption breaks?
> 
>  If asterisk_fix belongs in the package asterisk, why
> asterisk-config.postinst call it? This is normal?

This is expected. But it is a bug to use it without first testing for
its existance.

asterisk_fix neds to be run as a pre-confition to the run of the
asterisk daemon, and also to fix "damage" by changes of other packages.
If the package 'asterisk' is not installed, the asterisk daemon is not
currently running, and the fix will be done when the package asterisk
will be installed.

If the package asterisk is already installed, and other package can
initiate an asterisk_fix.

-- 
Tzafrir Cohen         sip:tzafrir at local.xorcom.com
icq#16849755          iax:tzafrir at local.xorcom.com
+972-50-7952406          jabber:tzafrir at jabber.org
tzafrir.cohen at xorcom.com     http://www.xorcom.com



More information about the Pkg-voip-maintainers mailing list