Your message dated Wed, 25 May 2005 04:47:39 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#279965: fixed in logrotate 3.7-4
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 08:53:31 +0000
>From [EMAIL PROTECTED] Wed May 25 01:53:31 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 1Dardr-0004H9-00; Wed, 25 May 2005 01:53:31 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DarYB-00026m-00; Wed, 25 May 2005 04:47:39 -0400
From: Paul Martin <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#279965: fixed in logrotate 3.7-4
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 25 May 2005 04:47:39 -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-4

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-4.diff.gz
  to pool/main/l/logrotate/logrotate_3.7-4.diff.gz
logrotate_3.7-4.dsc
  to pool/main/l/logrotate/logrotate_3.7-4.dsc
logrotate_3.7-4_i386.deb
  to pool/main/l/logrotate/logrotate_3.7-4_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 08:49:07 +0100
Source: logrotate
Binary: logrotate
Architecture: source i386
Version: 3.7-4
Distribution: unstable
Urgency: high
Maintainer: Paul Martin <[EMAIL PROTECTED]>
Changed-By: Paul Martin <[EMAIL PROTECTED]>
Description: 
 logrotate  - Log rotation utility
Closes: 279965 300644 310337
Changes: 
 logrotate (3.7-4) unstable; urgency=high
 .
   * 42-execlp-bin-sh: Call /bin/sh directly for scripts. Allows /tmp to
     be mounted noexec. This is a simple fix for sarge -- a potentially
     better fix is available upstream. Thanks to Philipp Hartmann.
     (Closes: #279965)
 .
   * Documentation fixes:
     + 52-man-overriden: Fix spelling of "overridden" in manpage.
       (Closes: #310337)
     + 52-man-mailtypo: Fixes formatting of the -mail option in manpage.
       (Closes: #300644)
Files: 
 bab5e8f88da60ad99725cbac7b0bba7c 574 admin important logrotate_3.7-4.dsc
 b5ebbac4d6a4907886b1d12d82fed18f 14995 admin important logrotate_3.7-4.diff.gz
 e59a2157e9f7ee5a29a53a51615e2345 32338 admin important logrotate_3.7-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFClDj4+gi+rt7UWRIRAs+SAJ90kBV16kE9G9MAb+yhsYHYXMrgOACfWrxV
X2qkCJ1ValQlhpsjfYcCOoU=
=3d/g
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to