Debian Bug report logs -
#418499
apache2ctl does not work if NO_START=1 is set
Reported by: Noel Torres <envite@rolamasao.org>
Date: Tue, 10 Apr 2007 06:57:02 UTC
Severity: important
Found in version apache2/2.2.3-4
Fixed in version apache2/2.2.4-2
Done: Stefan Fritsch <sf@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian Apache Maintainers <debian-apache@lists.debian.org>:
Bug#418499; Package apache2.2-common.
(full text, mbox, link).
Acknowledgement sent to Noel Torres <envite@rolamasao.org>:
New Bug report received and forwarded. Copy sent to Debian Apache Maintainers <debian-apache@lists.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: apache2.2-common
Version: 2.2.3-4
Severity: grave
Hello all:
Installing the package in a new install (that is, not upgrading it)
leaves a server unable to start.
Line 189 of /etc/apache2/apache2.conf references to file /etc/httpd.conf
which does no exist.
Thus, the server does not start:
# apache2ctl start
apache2: Syntax error on line 189 of /etc/apache2/apache2.conf: Could
not open configuration file /etc/apache2/httpd.conf: No such file or
directory
#
But it is not clear what happens, since people will usually see this:
# /etc/init.d/apache2 start
#
That is, no error at all. Also in syslog there is no error at all (there
is no info at all).
This can be addressed in two ways:
a) ship an empty httpd.conf or create (touch) it in postinst
b) comment line 189 of apache2.conf, leaving it there for user info
Tags added: moreinfo, unreproducible
Request was from Steve Langasek <vorlon@debian.org>
to control@bugs.debian.org.
(Wed, 18 Apr 2007 23:03:02 GMT) (full text, mbox, link).
Severity set to `important' from `grave'
Request was from Steve Langasek <vorlon@debian.org>
to control@bugs.debian.org.
(Wed, 18 Apr 2007 23:03:03 GMT) (full text, mbox, link).
Message sent on to Noel Torres <envite@rolamasao.org>:
Bug#418499.
(full text, mbox, link).
Message #12 received at 418499-submitter@bugs.debian.org (full text, mbox, reply):
tags 418499 moreinfo unreproducible
severity 418499 important
thanks
The /etc/init.d/apache2 init script installed by this version of apache2
reads in part:
case $1 in
start)
[ -f /etc/apache2/httpd.conf ] || touch /etc/apache2/httpd.conf
I don't see any problems here...
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon@debian.org http://www.debian.org/
Information forwarded to debian-bugs-dist@lists.debian.org, Debian Apache Maintainers <debian-apache@lists.debian.org>:
Bug#418499; Package apache2.2-common.
(full text, mbox, link).
Acknowledgement sent to Stefan Fritsch <sf@sfritsch.de>:
Extra info received and forwarded to list. Copy sent to Debian Apache Maintainers <debian-apache@lists.debian.org>.
(full text, mbox, link).
Message #17 received at 418499@bugs.debian.org (full text, mbox, reply):
This happens if NO_START=1 is set in /etc/default/apache2 (because
something else was listening on port 80 during installation).
Therefore a workaround is to set NO_START=0
The init script displays a warning if VERBOSE=yes in /etc/default/rcS,
but this doesn't seem to be the default anymore. At least it is set
to no if you use debootstrap.
This will be fixed in the long run (maybe in 2.2.4-2) by removing the
NO_START thing. Maybe I will get the init script to always display a
warning in etch r2.
Tags removed: moreinfo, unreproducible
Request was from Stefan Fritsch <sf@debian.org>
to control@bugs.debian.org.
(Mon, 25 Jun 2007 21:01:21 GMT) (full text, mbox, link).
Changed Bug title to `apache2ctl does not work if NO_START=1 is set' from `Bug in installation of apache2'.
Request was from Stefan Fritsch <sf@debian.org>
to control@bugs.debian.org.
(Mon, 25 Jun 2007 21:01:21 GMT) (full text, mbox, link).
Forcibly Merged 418499 430116.
Request was from Stefan Fritsch <sf@debian.org>
to control@bugs.debian.org.
(Mon, 25 Jun 2007 21:01:43 GMT) (full text, mbox, link).
Tags added: etch
Request was from Stefan Fritsch <sf@debian.org>
to control@bugs.debian.org.
(Mon, 25 Jun 2007 21:01:45 GMT) (full text, mbox, link).
Message sent on to Noel Torres <envite@rolamasao.org>:
Bug#418499.
(full text, mbox, link).
Disconnected #430116 from all other report(s).
Request was from Stefan Fritsch <sf@debian.org>
to control@bugs.debian.org.
(Fri, 29 Jun 2007 17:27:02 GMT) (full text, mbox, link).
Tags removed: etch
Request was from Stefan Fritsch <sf@debian.org>
to control@bugs.debian.org.
(Fri, 29 Jun 2007 17:27:04 GMT) (full text, mbox, link).
Tags added: pending
Request was from Stefan Fritsch <sf@debian.org>
to control@bugs.debian.org.
(Sun, 08 Jul 2007 20:42:02 GMT) (full text, mbox, link).
Reply sent to Stefan Fritsch <sf@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Noel Torres <envite@rolamasao.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #39 received at 418499-close@bugs.debian.org (full text, mbox, reply):
Source: apache2
Source-Version: 2.2.4-2
We believe that the bug you reported is fixed in the latest version of
apache2, which is due to be installed in the Debian FTP archive:
apache2-dbg_2.2.4-2_i386.deb
to pool/main/a/apache2/apache2-dbg_2.2.4-2_i386.deb
apache2-doc_2.2.4-2_all.deb
to pool/main/a/apache2/apache2-doc_2.2.4-2_all.deb
apache2-mpm-event_2.2.4-2_i386.deb
to pool/main/a/apache2/apache2-mpm-event_2.2.4-2_i386.deb
apache2-mpm-perchild_2.2.4-2_all.deb
to pool/main/a/apache2/apache2-mpm-perchild_2.2.4-2_all.deb
apache2-mpm-prefork_2.2.4-2_i386.deb
to pool/main/a/apache2/apache2-mpm-prefork_2.2.4-2_i386.deb
apache2-mpm-worker_2.2.4-2_i386.deb
to pool/main/a/apache2/apache2-mpm-worker_2.2.4-2_i386.deb
apache2-prefork-dev_2.2.4-2_i386.deb
to pool/main/a/apache2/apache2-prefork-dev_2.2.4-2_i386.deb
apache2-src_2.2.4-2_all.deb
to pool/main/a/apache2/apache2-src_2.2.4-2_all.deb
apache2-threaded-dev_2.2.4-2_i386.deb
to pool/main/a/apache2/apache2-threaded-dev_2.2.4-2_i386.deb
apache2-utils_2.2.4-2_i386.deb
to pool/main/a/apache2/apache2-utils_2.2.4-2_i386.deb
apache2.2-common_2.2.4-2_i386.deb
to pool/main/a/apache2/apache2.2-common_2.2.4-2_i386.deb
apache2_2.2.4-2.diff.gz
to pool/main/a/apache2/apache2_2.2.4-2.diff.gz
apache2_2.2.4-2.dsc
to pool/main/a/apache2/apache2_2.2.4-2.dsc
apache2_2.2.4-2_all.deb
to pool/main/a/apache2/apache2_2.2.4-2_all.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 418499@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stefan Fritsch <sf@debian.org> (supplier of updated apache2 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 03 Jul 2007 21:23:40 +0200
Source: apache2
Binary: apache2-utils apache2-prefork-dev apache2 apache2-mpm-prefork apache2-doc apache2-mpm-event apache2.2-common apache2-dbg apache2-mpm-worker apache2-src apache2-threaded-dev apache2-mpm-perchild
Architecture: source all i386
Version: 2.2.4-2
Distribution: unstable
Urgency: low
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Stefan Fritsch <sf@debian.org>
Description:
apache2 - Next generation, scalable, extendable web server
apache2-dbg - Apache debugging symbols
apache2-doc - documentation for apache2
apache2-mpm-event - Event driven model for Apache HTTPD
apache2-mpm-perchild - Transitional package - please remove
apache2-mpm-prefork - Traditional model for Apache HTTPD
apache2-mpm-worker - High speed threaded model for Apache HTTPD
apache2-prefork-dev - development headers for apache2
apache2-src - Apache source code
apache2-threaded-dev - development headers for apache2
apache2-utils - utility programs for webservers
apache2.2-common - Next generation, scalable, extendable web server
Closes: 164493 275561 338472 359008 397886 404598 408462 418499 433552
Changes:
apache2 (2.2.4-2) unstable; urgency=low
.
* Modularize config: Move module specific configuration from apache2.conf
to mods-available/*conf (Closes: #338472)
* Remove the NO_START kludge. Now you have to use rc*.d symlinks to disable
apache2. (Closes: #408462, #275561)
* Create run and lock directores in apache2ctl to make it work on fresh
installations before the first call of the init script. Together with
the previous item, this closes: #418499
* Disable AddDefaultCharset again (Closes: #397886)
* Make ports.conf, conf.d/charset, and /etc/default/apache2 conffiles
managed by dpkg
* Listen on port 443 by default if mod_ssl is loaded (Closes: #404598)
* Add logic to start htcacheclean as daemon or cronjob. The configuration
is in /etc/default/apache2
* Fix security issues:
- CVE-2007-3304: prevent parent process to send SIGUSR1 to arbitrary
processes
- CVE-2006-5752: XSS in mod_status
* Add init.d dependency info from insserv overrides to /etc/init.d/apache2
* Replace apachectl with apache2ctl in docs (Closes: #164493)
* Add usage message to apache2ctl (Closes: #359008)
* Make -dev packages priority extra
* Add secure example cipher/protocol configuration to ssl.conf
* Update watch file (Closes: #433552)
* Bump dh_compat to 5
* Add new package apache2-dbg with debugging symbols
* Fix mod_cache returning 304 instead of 200 on HEAD requests
Files:
86e3aa5e3d0f963c0c23dafea87096d5 1223 web optional apache2_2.2.4-2.dsc
aed212e9761513c8e6af21fc9536c2e8 118122 web optional apache2_2.2.4-2.diff.gz
d113376edb16497fcaae173b07d2bec2 964732 web optional apache2.2-common_2.2.4-2_i386.deb
8cf4337b899571574c0e8f6f08d7bf05 437680 web optional apache2-mpm-worker_2.2.4-2_i386.deb
ae7755a2658cf92c8002fb36599c37f6 433956 web optional apache2-mpm-prefork_2.2.4-2_i386.deb
907c0d24b556e14d073ee0ba85f6a425 438304 web optional apache2-mpm-event_2.2.4-2_i386.deb
00ae16aaad1abb323a27f54d10bc4a74 345286 web optional apache2-utils_2.2.4-2_i386.deb
fb9aad6c0e4fb43abbb07a3d312283e9 411130 devel extra apache2-prefork-dev_2.2.4-2_i386.deb
4b2634f792c0b3683bbd792fa3622c44 411812 devel extra apache2-threaded-dev_2.2.4-2_i386.deb
e54ec3b775aa566a2358d0cdd569cae6 2239806 libdevel extra apache2-dbg_2.2.4-2_i386.deb
3471dc2df567a4c49e624785628de9a4 277428 web optional apache2-mpm-perchild_2.2.4-2_all.deb
e9a1d40b6e4b96692ae41778d6915fc2 41632 web optional apache2_2.2.4-2_all.deb
53373d14c3e2c6496e8f68512664adf1 2216150 doc optional apache2-doc_2.2.4-2_all.deb
49285194d9e85a0830d90bd00f909174 6639824 devel extra apache2-src_2.2.4-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGn9zybxelr8HyTqQRAtjKAJ9b37tnYWBMh8bMml+7vSluMTkdcgCfc6/9
nXRLpr6sfdu1rHQxcby7ikw=
=shM+
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 23 Aug 2007 07:30:58 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Jan 5 22:51:59 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.