[packaging] [Bug 2638] logrotate reports errors regarding log directory permissions

Kolab Bugzilla noreply at kolab.org
Thu Jan 15 09:54:44 CET 2015


https://issues.kolab.org/show_bug.cgi?id=2638

Cornelius Hald <hald at icandy.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hald at icandy.de

--- Comment #1 from Cornelius Hald <hald at icandy.de> ---
Still valid for Kolab 3.3 on CentOS 7

Here are patches to the logrotate config files to solve this issue.

diff --git a/logrotate.d/iRony b/logrotate.d/iRony
index b0458df..af5b776 100644
--- a/logrotate.d/iRony
+++ b/logrotate.d/iRony
@@ -4,5 +4,6 @@
     notifempty
     size 30k
     create 0660 apache apache
+    su apache apache
 }

diff --git a/logrotate.d/kolab-freebusy b/logrotate.d/kolab-freebusy
index bb017ff..79a6898 100644
--- a/logrotate.d/kolab-freebusy
+++ b/logrotate.d/kolab-freebusy
@@ -5,4 +5,5 @@
   notifempty
   rotate 52
   weekly
+  su apache apache
 }
diff --git a/logrotate.d/kolab-syncroton b/logrotate.d/kolab-syncroton
index 60ad84d..af9549f 100644
--- a/logrotate.d/kolab-syncroton
+++ b/logrotate.d/kolab-syncroton
@@ -4,5 +4,6 @@
     notifempty
     size 30k
     create 0660 apache apache
+    su apache apache
 }

diff --git a/logrotate.d/roundcubemail b/logrotate.d/roundcubemail
index 48503c8..1dd75ca 100644
--- a/logrotate.d/roundcubemail
+++ b/logrotate.d/roundcubemail
@@ -4,5 +4,6 @@
     notifempty
     size 30k
     create 0660 apache apache
+    su apache apache
 }


So basically just add "su apache apache" to those with issues.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolabsys.com/pipermail/packaging-bugs/attachments/20150115/9a824e26/attachment.htm>


More information about the packaging-bugs mailing list