[Pkg-zope-developers] Bug#360520: zope2.7: The logrotate script prints out a message during normal operation

Martin Werthmoeller mw at lw-systems.de
Sun Apr 2 21:22:07 UTC 2006


Package: zope2.7
Version: 2.7.5-2sarge1
Severity: minor
Tags: patch

The cron daemon sends an email with something like

	kill(2462, 12)
	signal 12 sent to process 2462

during normal operation.

I add a '> /dev/null' to the call of 'zopectl logreopen' at the config
file /etc/logrotate.d/zope2.7 to suppress the messages.


+++ /etc/logrotate.d/zope2.7    2006-04-02 23:15:57.997862736 +0200
@@ -32,6 +32,6 @@
        create 640 zope zope
        sharedscripts
        postrotate
-         sh -c 'for i in /var/lib/zope2.7/instance/* ; do [ -x "$i"/bin/zopectl -a -r "$i"/var/Z2.pid ] && "$i"/bin/zopectl logreopen ; done '
+         sh -c 'for i in /var/lib/zope2.7/instance/* ; do [ -x "$i"/bin/zopectl -a -r "$i"/var/Z2.pid ] && "$i"/bin/zopectl logreopen > /dev/null; done '
        endscript
 }


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages zope2.7 depends on:
ii  adduser                    3.63          Add and remove users and groups
ii  debconf                    1.4.30.13     Debian configuration management sy
ii  dpkg                       1.10.28       Package maintenance system for Deb
ii  libc6                      2.3.2.ds1-22  GNU C Library: Shared libraries an
ii  python2.3                  2.3.5-3sarge1 An interactive high-level object-o
ii  python2.3-xml              0.8.4-1       XML tools for Python (2.3.x)

-- debconf information:
  zope/upgrade/2.7:
* zope/tips/2.7:
* zope/tips/standalone_install:
  zope/instance_home/move: true
* shared/zope/restart: manually




More information about the Pkg-zope-developers mailing list