[asterisk-bugs] [Asterisk 0019388]: Incorrect owner/group log files
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Jun 3 08:25:00 CDT 2011
The following issue requires your FEEDBACK.
======================================================================
https://issues.asterisk.org/view.php?id=19388
======================================================================
Reported By: sebelk
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 19388
Category: Addons/General
Reproducibility: always
Severity: crash
Priority: normal
Status: feedback
Asterisk Version: 1.6.2.18
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2011-05-31 07:12 CDT
Last Modified: 2011-06-03 08:25 CDT
======================================================================
Summary: Incorrect owner/group log files
Description:
${asterisk_sources}/contrib/scripts/asterisk.logrotate has incorrect
owner/group:
__LOGDIR__/debug __LOGDIR__/console __LOGDIR__/full __LOGDIR__/messages
__LOGDIR__/*log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 640 root root
sharedscripts
postrotate
__SBINDIR__/asterisk -rx 'logger reload' > /dev/null 2>
/dev/null
endscript
}
This causes asterisk crashes at rotate time
======================================================================
----------------------------------------------------------------------
(0135679) lmadsen (administrator) - 2011-06-03 08:25
https://issues.asterisk.org/view.php?id=19388#c135679
----------------------------------------------------------------------
I think this is dependent on whether you're running asterisk as root or
non-root. Most installations are installed as root, which is probably why
this hasn't been run into before.
Issue History
Date Modified Username Field Change
======================================================================
2011-06-03 08:25 lmadsen Note Added: 0135679
2011-06-03 08:25 lmadsen Status new => feedback
======================================================================
More information about the asterisk-bugs
mailing list