Your message dated Wed, 08 Oct 2008 15:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#277652: fixed in logrotate 3.7.1-5
has caused the Debian Bug report #277652,
regarding logrotate: missingok ignored during directory glob
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.)
--
277652: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=277652
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: suphp-common
Version: 0.6.1-1
Severity: normal
Tags: patch
When suphp-common is removed (not purged) and there are no logfiles in
/var/log/suphp, that directory is removed. This causes the
/etc/logrotate.d/suphp-common script to fail with the following output:
> /etc/cron.daily/logrotate:
> error: error accessing /var/log/suphp: No such file or directory
> error: suphp-common:1 glob failed for /var/log/suphp/*.log
> run-parts: /etc/cron.daily/logrotate exited with return code 1
The simplest solution seems to me to be to put a placeholder file in
/var/log/suphp so it is not removed on package removal. I will attach a
patch that does so, but I am unable to get suphp to build at the moment
and therefore haven't tested it.
-Ted
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Versions of packages suphp-common depends on:
ii debconf [debconf-2.0] 1.5.5 Debian configuration management sy
pn libapache-mod-suphp | l <none> (no description available)
ii libc6 2.3.6.ds1-5 GNU C Library: Shared libraries
ii libgcc1 1:4.2-20060709-1 GCC support library
ii libstdc++6 4.1.1-15 The GNU Standard C++ Library v3
ii php4-cgi 4:4.4.4-1 server-side, HTML-embedded scripti
suphp-common recommends no packages.
diff -ru suphp-0.6.1/debian/rules suphp-0.6.1-new/debian/rules
--- suphp-0.6.1/debian/rules 2006-10-07 00:47:26.000000000 +1000
+++ suphp-0.6.1-new/debian/rules 2006-10-07 00:49:28.000000000 +1000
@@ -71,6 +71,7 @@
find -name ".svn" -type d | xargs rm -rf
dh_installdirs
dh_install
+ touch debian/suphp-common/var/log/suphp/.placeholder
docbook-to-man debian/suphp-common.manpage.sgml >
debian/suphp-common/usr/share/man/man8/suphp.8
install -m 644 debian/suphp-common.lintian-override
debian/suphp-common/usr/share/lintian/overrides/suphp-common
mv debian/suphp-common/etc/suphp/suphp.conf-example
debian/suphp-common/etc/suphp/suphp.conf
--- End Message ---
--- Begin Message ---
Source: logrotate
Source-Version: 3.7.1-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.1-5.diff.gz
to pool/main/l/logrotate/logrotate_3.7.1-5.diff.gz
logrotate_3.7.1-5.dsc
to pool/main/l/logrotate/logrotate_3.7.1-5.dsc
logrotate_3.7.1-5_i386.deb
to pool/main/l/logrotate/logrotate_3.7.1-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.8
Date: Wed, 08 Oct 2008 16:33:20 +0100
Source: logrotate
Binary: logrotate
Architecture: source i386
Version: 3.7.1-5
Distribution: unstable
Urgency: high
Maintainer: Paul Martin <[EMAIL PROTECTED]>
Changed-By: Paul Martin <[EMAIL PROTECTED]>
Description:
logrotate - Log rotation utility
Closes: 277652
Changes:
logrotate (3.7.1-5) unstable; urgency=high
.
* globfix-277652: ignore glob failure until end of block, so that
missingok can be taken into account. (Closes: #277652)
* Urgency high for RC bug.
Checksums-Sha1:
468c988c45907d88b2a4f7e53332be74ed198ccf 1024 logrotate_3.7.1-5.dsc
9b058ea0b68a91cba11883d56c66d04833872600 24106 logrotate_3.7.1-5.diff.gz
5b254b418fc91c24c30469b5128f750104566930 36612 logrotate_3.7.1-5_i386.deb
Checksums-Sha256:
18bc710b72e02503774a9fb3c4f7e6042534ca9093860bbdef875a178c21acfd 1024
logrotate_3.7.1-5.dsc
4fe9f41fb8b8a6ca60bcd75122a96fa9ac57b424430eeaf7560d98b90c35756a 24106
logrotate_3.7.1-5.diff.gz
5e3ab87f353ecfe55f1afe62e1ad37c5d5dba4bf9eab9964a8f9c513f3546481 36612
logrotate_3.7.1-5_i386.deb
Files:
cc03824fb875ef1ae466cbb461234189 1024 admin important logrotate_3.7.1-5.dsc
619d36e123f8d5d6e25a1544a589cf27 24106 admin important
logrotate_3.7.1-5.diff.gz
faee05bb1cc7dcc1511b106905e12618 36612 admin important
logrotate_3.7.1-5_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFI7NL3+gi+rt7UWRIRAlOOAKCOS6wja707hujxxazSvdRowhDRLgCfR+Zw
D3Tvo7bxHu5SUZtNRjcNGOQ=
=k1Lr
-----END PGP SIGNATURE-----
--- End Message ---