On Sun, 28 Jan 2007, Tzafrir Cohen wrote:
> > It looks like only asterisk-config is calling the asterisk_fix script in
> > its postinst... and the asterik_fix script is in the asterisk package.
> > 
> > So if you install asterik-config before asterisk, the postinst will not
> > create the asterisk user and no other package will do it afterwards,
> > leaving asterisk broken.
> > 
> > Please either move asterisk_fix into asterisk-config or add the
> > asterisk_fix call to the asterisk package too.
> 
> But as the package asterisk includes the init.d script, the service
> won't start without it anyway.

Try on a fresh install:

$ apt-get install asterisk-config
[...]
$ apt-get install asterisk
[here when it tries to start asterisk it fails because the
asterisk user has not been created]

Given that you want to be able to install an asterisk configuration
separately, it looks like a sensible scenario for an automatic
installation (exactly what I did... and it failed).

> Is it possible to make /etc/init.d/asterisk a non config file? I don't
> see any need for manual editing of it.

I don't see the need for that. Why would you want that ?

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/

Reply via email to