Bug#336749: asterisk: Please package 1.2 beta 2

Mark Purcell msp at debian.org
Tue Nov 8 22:06:14 UTC 2005


On Tuesday 08 November 2005 21:08, you wrote:
> Yes, indeed. The thing I don't understand is who the hell creates
> those .ctl and .pid files as root.
> Check this:
> # rm -rf /var/run/asterisk*
> # /etc/init.d/asterisk start
> Starting Asterisk PBX: Unable to open pid file '/var/run/asterisk.pid':
> Permission denied
> asterisk.

Thanks That's the problem.  In debian/patches/30_ast-data-dir.dpatch I'm 
supposed change the default location for the .pid file, but for some reason 
this didn't make it into the 1.2beta packages.

You need to apply:

-  ASTVARRUNDIR=$(INSTALL_PREFIX)/var/run
+  ASTVARRUNDIR=$(INSTALL_PREFIX)/var/run/asterisk

to debian/patches/30_ast-data-dir

I shall upload another build to experimental.

Mark




More information about the Pkg-voip-maintainers mailing list