Your message dated Wed, 25 May 2005 06:02:12 -0400 with message-id <[EMAIL PROTECTED]> and subject line Bug#279965: fixed in logrotate 3.7-5 has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 6 Nov 2004 11:43:01 +0000 >From [EMAIL PROTECTED] Sat Nov 06 03:43:01 2004 Return-path: <[EMAIL PROTECTED]> Received: from finn.adi.priv.hu [195.38.96.77] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1CQOyD-00064v-00; Sat, 06 Nov 2004 03:43:01 -0800 Received: by finn.adi.priv.hu (Postfix, from userid 1000) id F34A087BD2; Sat, 6 Nov 2004 12:42:28 +0100 (CET) Date: Sat, 6 Nov 2004 12:42:28 +0100 From: Adorjani Gabor <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: logrotate cannot run postrotate script when /tmp is mounted noexec Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline User-Agent: Mutt/1.3.28i Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: Package: logrotate Version: 3.7-2 Severity: normal I ran into a very enigmatic problem when tried to run logrotate on my server: no matter what postrotate script I specified, the program gave me an error. It was completely unusable, since it only said "error, blablabla, cannot run postrotate script", but didn't gave me the specific error code. After some digging it turned out that logrotate tries to run scripts in /tmp which is mounted with the noexec option on this system (and I think all security-conscious admin would do this, too). However, I cannot imagine why it does this, since the script in question resides in /usr/local/sbin - ??? The workaround is of course to set up the TMPDIR environment variable to a proper value, but it is not documented anywhere in logrotate's manpage. It doesn't show up in /etc/cron.daily/logrotate , either. This would be a minor problem, but it's quite irritating and the solution is not so obvious, that's why I gave it a normal severity. The system is a Debian Sarge (3.1), fresh install. Keep up the good work guys! :) Regards, Gabor --------------------------------------- Received: (at 279965-close) by bugs.debian.org; 25 May 2005 10:19:09 +0000 >From [EMAIL PROTECTED] Wed May 25 03:19:09 2005 Return-path: <[EMAIL PROTECTED]> Received: from newraff.debian.org [208.185.25.31] (mail) by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1Dasyj-00012C-00; Wed, 25 May 2005 03:19:09 -0700 Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian)) id 1DasiK-000824-00; Wed, 25 May 2005 06:02:12 -0400 From: Paul Martin <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: $Revision: 1.55 $ Subject: Bug#279965: fixed in logrotate 3.7-5 Message-Id: <[EMAIL PROTECTED]> Sender: Archive Administrator <[EMAIL PROTECTED]> Date: Wed, 25 May 2005 06:02:12 -0400 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: Source: logrotate Source-Version: 3.7-5 We believe that the bug you reported is fixed in the latest version of logrotate, which is due to be installed in the Debian FTP archive: logrotate_3.7-5.diff.gz to pool/main/l/logrotate/logrotate_3.7-5.diff.gz logrotate_3.7-5.dsc to pool/main/l/logrotate/logrotate_3.7-5.dsc logrotate_3.7-5_i386.deb to pool/main/l/logrotate/logrotate_3.7-5_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Paul Martin <[EMAIL PROTECTED]> (supplier of updated logrotate package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Wed, 25 May 2005 10:43:42 +0100 Source: logrotate Binary: logrotate Architecture: source i386 Version: 3.7-5 Distribution: unstable Urgency: high Maintainer: Paul Martin <[EMAIL PROTECTED]> Changed-By: Paul Martin <[EMAIL PROTECTED]> Description: logrotate - Log rotation utility Closes: 279965 Changes: logrotate (3.7-5) unstable; urgency=high . Brown paper bag upload. . * 42-execlp-bin-sh: Fix major flaw in the last patch... it tries to execute the logfile. Thanks very much for the quick report, Philipp. It was my fault, not yours. (Closes: #279965) Files: b351955f3aafd7a41af6f254e0a2f7b5 574 admin important logrotate_3.7-5.dsc 291d015a7fddd86ee2da4cb7bbb12b19 15081 admin important logrotate_3.7-5.diff.gz 5601ce421259be28a2d6dfc3356411b4 32424 admin important logrotate_3.7-5_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFClEpQ+gi+rt7UWRIRAk4hAJ9B4Bb+2b9YSmUp6TCaGWMdcAUf0ACcDtTQ PDinKuCAK1l8OYxu6zVw9r0= =O2Q1 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]