[packaging] [Bug 547] kolab/issue4377 (Some logs are not included in the log rotation)

Kolab Bugzilla noreply at kolab.org
Sun Jan 8 17:01:53 CET 2012


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

Jeroen van Meeuwen <vanmeeuwen at kolabsys.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vanmeeuwen at kolabsys.com

--- Comment #2 from Jeroen van Meeuwen <vanmeeuwen at kolabsys.com> 2012-01-08 17:01:45 CET ---
(In reply to comment #0)
> Previous discussion took place at https://roundup.kolab.org/issue4377
> 
> All that needs to be fixed is /kolab/var/z-push/log/access.log. I guess this
> should be added to /kolab/etc/rc.d/rc.apache

The log rotation routine should actually be part of the z-push package, as this
package is what ultimately creates the access.log.

In terms of native packaging, where this is probably also an issue, we'd ship a
file into /etc/logrotate.d/, probably called something like 'z-push.conf'.

I suppose, lacking logrotate in OpenPKG, indeed the rc.apache file would be
most appropriate.

(In reply to comment #1)
> As mentioned in http://kolab.org/pipermail/kolab-devel/2012-January/013224.html
> this affects two more files:
> 
> /kolab/var/clamav/fresclam.log
> /kolab/var/kolab/webclient-data/log/horde.log
> 
> The first should be add /kolab/etc/rc.d/rc.clamav, not sure what to do about
> the second one though.

Indeed for the first one the package would be clamav, or log rotation would be
part of rc.clamav.

The second one, for as far OpenPKG is concerned, I think is equally well placed
in rc.apache.

-- 
Configure bugmail: https://issues.kolab.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the packaging-bugs mailing list