[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#282042: marked as done (apache-common/logs incorrectly complains about logging to pipes)



Your message dated Wed, 24 Mar 2010 20:30:40 +0000 (WET)
with message-id <20100324203040.0E1A93122@kmos.homeip.net>
and subject line Package apache-common has been removed from Debian
has caused the Debian Bug report #282042,
regarding apache-common/logs incorrectly complains about logging to pipes
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 owner@bugs.debian.org
immediately.)


-- 
282042: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=282042
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apache-common
Version: 1.3.33-2.1
Severity: wishlist
Tags: patch

Dear Maintainers,

In our apache setup, we log to a program. This program transports messages to a logserver, which than processes the 
logentries. This is working fine.

While upgrading apache, the postinst scripts prompt me with a message that apache has switched to logrotate and logfiles
should be situated in /var/log and nowhere else. While this could potentially be a very useful message, all my logfiles are
in /var/log/, except for my pipe ofcourse. While investigating the situation, I wrote up this quick patch to make
postinst.common not croak when encountering pipes. This should confuse fewer users.

Please apply.

Regards,

Allard


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1-byte
Locale: LANG=C, LC_CTYPE=C

Versions of packages apache-common depends on:
ii  apache-utils           1.3.33-2.1        Utility programs for webservers
ii  debconf                1.4.30.10         Debian configuration management sy
ii  elinks [www-browser]   0.9.1+0.9.2pre4-1 Character mode WWW/FTP browser
ii  libc6                  2.3.2.ds1-18      GNU C Library: Shared libraries an
ii  libdb4.2               4.2.52-17         Berkeley v4.2 Database Libraries [
ii  libexpat1              1.95.8-1          XML parsing C library - runtime li
ii  lynx [www-browser]     2.8.5-2           Text-mode WWW Browser
ii  mime-support           3.28-1            MIME files 'mime.types' & 'mailcap
ii  perl                   5.8.4-3           Larry Wall's Practical Extraction 
ii  sed                    4.1.2-1           The GNU sed stream editor
ii  ucf                    1.13              Update Configuration File: preserv

-- debconf information:
  apache-common/confignotes:
  apache-common/old-logrotate-exists:
* apache-common/logs:
  apache-shared/debconf-modules: mod_userdir, mod_status, mod_ssl, mod_setenvif, mod_rewrite, mod_negotiation, mod_mime_magic, mod_mime, mod_log_config, mod_include, mod_env, mod_dir, mod_cgi, mod_autoindex, mod_auth, mod_alias, mod_actions, mod_access, mod_php4
  apache-shared/restart: false
Index: listlogfiles
===================================================================
--- listlogfiles	(revision 102)
+++ listlogfiles	(working copy)
@@ -42,7 +42,7 @@
 # take away surrounding ' and "
     $file =~ s/[\"\']//g;
  
-    if ($file !~ m|^/var/log/| ) {
+    if ($file !~ m!^(?:/var/log/|\|)! ) {
 #      $errorcondition++;     # uncomment this if you prefer count of errors
       $errorcondition = 1;
       print "Wrong log file definition in $conf: $_" if $printerrorfile;

--- End Message ---
--- Begin Message ---
Version: 1.3.34-4.1+rm

You filed the bug http://bugs.debian.org/282042 in Debian BTS
against the package apache-common. I'm closing it at *unstable*, but it will
remain open for older distributions.

For more information about this package's removal, read
http://bugs.debian.org/418266. That bug might give the reasons why
this package was removed and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues


--- End Message ---

Reply to: