You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sean Lair (JIRA)" <ji...@apache.org> on 2017/12/20 15:06:00 UTC
[jira] [Created] (CLOUDSTACK-10201) Catalina.out not being rotated
Sean Lair created CLOUDSTACK-10201:
--------------------------------------
Summary: Catalina.out not being rotated
Key: CLOUDSTACK-10201
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10201
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.10.0.0, 4.9.0
Environment: logrotate 3.8.6-14.el7
CentOS7 management server OS
Reporter: Sean Lair
Priority: Minor
Receive following message in "var/spool/mail/root:
-------------------
/etc/cron.daily/logrotate:
error: skipping "/var/log/cloudstack/management/catalina.out" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
-------------------
As error states, group is "cloud":
-----------------
[root@labcloud01b ~]# ls -l /var/log/cloudstack/
total 64
drwxrwx---. 2 root root 6 Dec 18 23:41 ipallocator
drwxrwx---. 2 root cloud 28672 Dec 20 14:35 management
drwxrwx---. 2 root cloud 12288 Dec 20 00:15 usage
-------------------------
Need to update "cloudstack-catalina.logrotate" with su info
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)