On Mon, Dec 13, 2010 at 12:33:51PM +0100, Laurent Bigonville wrote:
> Package: asterisk
> Severity: serious
> Version: 1:1.6.2.9-2
> 
> Hi,
> 
> It looks like the logrotate script is not setting owner/group on the
> log files.
> 
> This causes nothing to be logged at all and/or prevent the daemon from
> restarting.

Sorry, but  I fail to see no problem here.

The directory /var/log/asterisk is owned by asterisk (permissions set in
postinst script).

After log rotation, asterisk is ordered 'logger reload', which reopens
log files (and generating new ones if needed).

Could you please give more details on how to reproduce the problem?

If you want to force creating some log file entries for testing, try:

  asterisk -rx 'module unload cdr_sqlite.so'
  asterisk -rx 'module load cdr_sqlite.so'

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.co...@xorcom.com
+972-50-7952406           mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to