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

Bug#349441: marked as done (apache logrotate fails with libapache-mod-chroot installed)



Your message dated Wed, 16 Sep 2009 21:32:46 +0100
with message-id <1253133166.628911.3591.nullmailer@kmos.homeip.net>
and subject line Package apache has been removed from Debian
has caused the Debian Bug report #349441,
regarding apache logrotate fails with libapache-mod-chroot installed
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.)


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

The /etc/logrotate.d/apache configuration provided with Sarge fails to
reload Apache when mod_chroot is enabled. As a result, Apache dies and
must be manually restarted. To fix this, the logrotate script must be
modified to stop and start Apache, rather than reloading. See diff
below.

--- /etc/logrotate.d/apache
+++ /etc/logrotate.d/apache
@@ -10,9 +10,11 @@
 	postrotate
 	   if [ -f /var/run/apache.pid ]; then \
 	     if [ -x /usr/sbin/invoke-rc.d ]; then \
-		invoke-rc.d apache reload > /dev/null; \
+		invoke-rc.d apache stop  > /dev/null; \
+		invoke-rc.d apache start > /dev/null; \
 	     else \
-	        /etc/init.d/apache reload > /dev/null; \
+	        /etc/init.d/apache stop  > /dev/null; \
+	        /etc/init.d/apache start > /dev/null; \
 	     fi; \
 	   fi;
 	endscript

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages apache depends on:
ii  apache-common             1.3.33-6sarge1 support files for all Apache webse
ii  debconf                   1.4.30.13      Debian configuration management sy
ii  dpkg                      1.10.28        Package maintenance system for Deb
ii  libc6                     2.3.2.ds1-22   GNU C Library: Shared libraries an
ii  libdb4.2                  4.2.52-18      Berkeley v4.2 Database Libraries [
ii  libexpat1                 1.95.8-3       XML parsing C library - runtime li
ii  libmagic1                 4.12-1         File type determination library us
ii  logrotate                 3.7-5          Log rotation utility
ii  mime-support              3.28-1         MIME files 'mime.types' & 'mailcap
ii  perl                      5.8.4-8sarge3  Larry Wall's Practical Extraction 

-- debconf information excluded


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

You filled the bug http://bugs.debian.org/349441 in Debian BTS
against the package apache. 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: