Bug#606959: logrotate script should set correct owner/group

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed May 11 09:18:54 UTC 2011


Going back to an old bug:

Laurent Bigonville wrote:
> Tzafrir Cohen wrote:
> > Could you please give more details on how to reproduce the problem?
> 
> According to logrotate manpage[1] the new file is created by logrotate
> just after the rotation with the permissions of the old one.
> 
> So if for some reasons the file is missing or has bad permissions
> asterisk will not (re)start and nothing will fix the permissions.

Asterisk has no issue with missing log files. The log files that are
actually in use will be recreated anyway at 'logger reload'. Not all the
files listed here are actually in use by all systems.

I would like to avoid creating the log files if it is not necessary.
Unless anybody objects I'll close this report.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+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