Bug#408708: Installation of asterisk-config before/without asterisk package will not create the asterisk user
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Thu Jul 19 19:00:50 UTC 2007
On Thu, Jul 19, 2007 at 08:44:20PM +0200, Raphael Hertzog wrote:
> Hello,
>
> On Sat, 27 Jan 2007, Raphael Hertzog wrote:
> > Package: asterisk-config
> > Version: 1:1.2.13~dfsg-2
> > Severity: important
> >
> > 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.
>
> Any chance to fix that? Calling asterix_fix in the asterisk package
> doesn't look like too complicated...
asterisk_fix should be called if it exists.
If asterisk_fix doesn't exist, then the package asterisk has not yet
beein installed. Hence asterisk isn't actually running. asterisk_fix
will be called when the package asterisk will be installed, before
asterisk will get a chance to run.
This script should not be part of asterisk-config, as it should be as
simple as possible to replace asterisk-config with a custom config
package.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir at jabber.org
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the Pkg-voip-maintainers
mailing list