Your message dated Tue, 4 Aug 2009 14:40:20 +0100
with message-id <[email protected]>
and subject line logrotate no longer uses /tmp for scripts
has caused the Debian Bug report #252197,
regarding logrotate: Logrotate mysteriously choking on postrotate
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
252197: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=252197
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: logrotate
Version: 3.7-1
Severity: important
Tags: sid
Ok, I recently noticed logrotate dying on the mysql rotations with a
vague error, and a few days after it seemed apache2 went as well. THis
si the error I'm seeing:
/etc/cron.daily/logrotate:
error: error running shared postrotate script for /var/log/apache2/*.log
error: error running shared postrotate script for
/var/log/mysql/mysql.log /var/log/mysql/mysql.err
run-parts: /etc/cron.daily/logrotate exited with return code 1
I tried running logrotate manually, but the closest I got was an error
about not being able to rename the original file for compression. But
I'm at a loss as to what may be causing it. My logrotate scripts have
been unchanged for weeks/months (recently took out a couple entries in
the mysql ones for logs that didn't exist while trying to troubleshoot
this though.
You can see the debug output here:
http://azhrarn.underhanded.org/logrotate.txt
If there is any other information I can provide, or if I should forward
this to the mysql/apache2 packages, please let me know. I'm just
starting to pull out my hair as to why this would stop working. :)
-- Package-specific info:
Contents of /etc/logrotate.d
total 16
-rw-r--r-- 1 root root 352 Feb 12 19:01 apache2
-rw-r--r-- 1 root root 133 Jun 29 2003 distributed-net
-rw-r--r-- 1 root root 96 Dec 11 22:34 jabber
-rw-r--r-- 1 root root 906 May 26 01:40 mysql-server
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.0
Locale: LANG=C, LC_CTYPE=C
Versions of packages logrotate depends on:
ii anacron 2.3-9 a cron-like program that doesn't g
ii base-passwd 3.5.7 Debian base system master password
ii cron 3.0pl1-83 management of regular background p
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libpopt0 1.7-4 lib for parsing cmdline parameters
-- no debconf information
--- End Message ---
--- Begin Message ---
logrotate (3.7.1-1) unstable; urgency=low
+ 01-rh-noTMPDIR (logrotate-3.7.1-noTMPDIR.patch)
This has the effect of never requiring a tempdir for scripts.
There's the possibility of large scripts running into stack
limits.
-- Paul Martin <[email protected]> Mon, 25 Jul 2005 22:15:18 +0100
I'd missed this earlier.
--
Paul Martin <[email protected]>
--- End Message ---