Bug#379285: Incorrect location for asterisk.pid and asterisk.ctl

2006-07-22 Thread Tony Hoyle
Tzafrir Cohen wrote: I believe you got thing wrong: The PID should not be in /var/run/asterisk.pid (if you want to be able to run asterisk as non-root). That's what I'm saying - the default /etc/init.d/asterisk has that path hardcoded in it, so that script needs changing. Tony -- To

Bug#379285: Incorrect location for asterisk.pid and asterisk.ctl

2006-07-22 Thread Tzafrir Cohen
On Sat, Jul 22, 2006 at 07:23:34PM +0100, Tony Hoyle wrote: > Tzafrir Cohen wrote: > > > >The directory for the pid file is set in /etc/asterisk/asterisk.conf , > >in the section [directories], value 'astrundir' > > > >What do you have there? > > > Ahh... never heard of that setting before. changi

Bug#379285: Incorrect location for asterisk.pid and asterisk.ctl

2006-07-22 Thread Tony Hoyle
Tzafrir Cohen wrote: The directory for the pid file is set in /etc/asterisk/asterisk.conf , in the section [directories], value 'astrundir' What do you have there? Ahh... never heard of that setting before. changing that worked.. thanks. /etc/init.d/asterisk still has: PIDFILE="/var/run/as

Bug#379285: Incorrect location for asterisk.pid and asterisk.ctl

2006-07-22 Thread Tzafrir Cohen
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 fai

Bug#379285: Incorrect location for asterisk.pid and asterisk.ctl

2006-07-22 Thread Tony Hoyle
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/r