Bug#379285: Incorrect location for asterisk.pid and asterisk.ctl
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Sat Jul 22 17:21:50 UTC 2006
On Sat, Jul 22, 2006 at 04:41:55PM +0100, Tony Hoyle wrote:
> Package: asterisk
> Version: 1:1.2.7.1.dfsg-3
> Severity: normal
>
> In the default configuration asterisk runs as an unprivileged user, but
> the binary tries to create and use /var/run/asterisk.pid and
> /var/run/asterisk.ctl and fails (without the .ctl the -r function will
> not work).
>
> There is a /var/run/asterisk directory presumably setup for this purpose
> but it's not trying to use it.
>
> The only fix currently is to run asterisk as root, which is not ideal.
The directory for the pid file is set in /etc/asterisk/asterisk.conf ,
in the section [directories], value 'astrundir'
What do you have there?
--
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