You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Brian Angus (JIRA)" <ji...@apache.org> on 2013/06/26 23:19:19 UTC
[jira] [Created] (CLOUDSTACK-3216) Logs in the Software routere are
not being rotated
Brian Angus created CLOUDSTACK-3216:
---------------------------------------
Summary: Logs in the Software routere are not being rotated
Key: CLOUDSTACK-3216
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3216
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: KVM
Affects Versions: 4.1.0
Environment: centos kvm
Reporter: Brian Angus
Priority: Blocker
Fix For: 4.1.1
root@r-6-VM:/etc# ls -l logrotate.*
-rwxr-xr-x 1 root root 498 Jun 19 16:34 logrotate.conf
logrotate.d:
total 10
-rwxr-xr-x 1 root root 192 Jun 19 16:34 apache2
-rw-r--r-- 1 root root 173 Dec 13 2012 apt
-rw-r--r-- 1 root root 79 Nov 5 2012 aptitude
-rw-r--r-- 1 root root 154 Jun 12 2012 conntrackd
-rwxr-xr-x 1 root root 266 Jun 19 16:34 dnsmasq
-rw-r--r-- 1 root root 232 Oct 20 2012 dpkg
-rwxr-xr-x 1 root root 203 Jun 19 16:34 haproxy
-rw-r--r-- 1 root root 268 Jun 1 2012 monit
-rwxr-xr-x 1 root root 93 Jun 19 16:34 ppp
-rwxr-xr-x 1 root root 515 Jun 19 16:34 rsyslog
root@r-6-VM:/etc# /usr/sbin/logrotate -d -v /etc/logrotate.conf
Ignoring /etc/logrotate.conf because of bad file mode.
Handling 0 logs
root@r-6-VM:/etc#
Looks like the file permissions are correct in the template (0644) but when the router gets deployed the permissions are getting changed.
Also there needs to be a config for /var/log/cloud.log
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira