You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2017/12/20 15:16:40 UTC

[GitHub] Slair1 opened a new pull request #2372: Cloudstack-10201: catalina log rotate

Slair1 opened a new pull request #2372: Cloudstack-10201: catalina log rotate
URL: https://github.com/apache/cloudstack/pull/2372
 
 
   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 is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services