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

Bug#245412: marked as done (preinst script does not stop apache, thus postinst fail)



Your message dated Fri, 23 Apr 2004 11:35:54 +0200
with message-id <[🔎] 4088E37A.70001@free.fr>
and subject line Bug#245412: preinst script does not stop apache, thus postinst fail
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; 23 Apr 2004 02:16:23 +0000
>From clement.hermann@free.fr Thu Apr 22 19:16:23 2004
Return-path: <clement.hermann@free.fr>
Received: from agrenoble-203-1-22-188.w81-248.abo.wanadoo.fr (localhost.localdomain) [81.248.64.188] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BGqEp-00014t-00; Thu, 22 Apr 2004 19:16:23 -0700
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by localhost.localdomain (8.12.11/8.12.11/Debian-4) with ESMTP id i3N2GLVP008069;
	Fri, 23 Apr 2004 04:16:21 +0200
Received: (from nodens@localhost)
	by localhost.localdomain (8.12.11/8.12.11/Debian-4) id i3N2GKWn008068;
	Fri, 23 Apr 2004 04:16:20 +0200
Message-Id: <[🔎] 200404230216.i3N2GKWn008068@localhost.localdomain>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: =?iso-8859-15?q?Cl=E9ment_=27nodens=27_Hermann?=
	<clement.hermann@free.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: preinst script does not stop apache, thus postinst fail
X-Mailer: reportbug 2.58
Date: Fri, 23 Apr 2004 04:16:20 +0200
X-BadReturnPath: nodens@localhost.localdomain rewritten as clement.hermann@free.fr
  using "From" header
Delivered-To: submit@bugs.debian.org
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=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

Package: apache
Version: 1.3.29.0.2-5
Severity: important

When upgrading from 1.3.29 (sid), apache is not stopped (only when
upgrading from 1.3.28 or lower).
So, when 'invoke-rc.d apache start' is called in postinst, it fails
(apache is already running).

Workaround : /etc/init.d/apache stop && dpkg --configure -a

I don't understand why apache should only be stopped if version <=
1.3.28, so I can't provide a patch... :/


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.4-1-k7-evms
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro

Versions of packages apache depends on:
ii  apache-common               1.3.29.0.2-5 Support files for all Apache webse
ii  debconf                     1.4.22       Debian configuration management sy
ii  dpkg                        1.10.20      Package maintenance system for Deb
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-16    Berkeley v4.2 Database Libraries [
ii  libexpat1                   1.95.6-8     XML parsing C library - runtime li
ii  libmagic1                   4.07-2       File type determination library us
ii  libpam0g                    0.76-19      Pluggable Authentication Modules l
ii  logrotate                   3.6.5-2      Log rotation utility
ii  mime-support                3.26-1       MIME files 'mime.types' & 'mailcap
ii  perl                        5.8.3-3      Larry Wall's Practical Extraction 

-- debconf information:
* apache/enable-suexec: false
* apache/server-name: perso.homelinux.org
* apache/document-root: /var/www
* apache/server-port: 80
* apache/init: true
* apache/server-admin: webmaster@perso.homelinux.org

---------------------------------------
Received: (at 245412-done) by bugs.debian.org; 23 Apr 2004 09:35:57 +0000
>From clement.hermann@free.fr Fri Apr 23 02:35:57 2004
Return-path: <clement.hermann@free.fr>
Received: from agrenoble-203-1-22-188.w81-248.abo.wanadoo.fr (shire.homelinux.org) [81.248.64.188] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BGx6C-0006cl-00; Fri, 23 Apr 2004 02:35:56 -0700
Received: from free.fr (localhost [127.0.0.1])
	by shire.homelinux.org (8.12.11/8.12.11/Debian-4) with ESMTP id i3N9Zsj2019668;
	Fri, 23 Apr 2004 11:35:55 +0200
Message-ID: <[🔎] 4088E37A.70001@free.fr>
Date: Fri, 23 Apr 2004 11:35:54 +0200
From: "Clement \"nodens\" Hermann" <clement.hermann@free.fr>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312 Debian/1.6-3
X-Accept-Language: fr-fr, fr, en-us, en
MIME-Version: 1.0
To: Fabio Massimo Di Nitto <fabbione@fabbione.net>,
        245412-done@bugs.debian.org, 245412@bugs.debian.org
CC: debian-apache@lists.debian.org
Subject: Re: Bug#245412: preinst script does not stop apache, thus postinst
 fail
References: <[🔎] 200404230216.i3N2GKWn008068@localhost.localdomain> <[🔎] Pine.LNX.4.58.0404230658330.6402@trider-g7.ext.fabbione.net>
In-Reply-To: <[🔎] Pine.LNX.4.58.0404230658330.6402@trider-g7.ext.fabbione.net>
X-Enigmail-Version: 0.83.5.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by shire.homelinux.org id i3N9Zsj2019668
Delivered-To: 245412-done@bugs.debian.org
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=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fabio Massimo Di Nitto wrote:

| This is the log of my upgrade from -4 to -5:
|
| Fetched 1457kB in 0s (7059kB/s)
| Preconfiguring packages ...
| (Reading database ... 108795 files and directories currently installed.=
)
| Preparing to replace apache-utils 1.3.29.0.2-4 (using
.../apache-utils_1.3.29.0.2-5_i386.deb) ...
| Unpacking replacement apache-utils ...
| Preparing to replace apache-common 1.3.29.0.2-4 (using
.../apache-common_1.3.29.0.2-5_i386.deb) ...
| Unpacking replacement apache-common ...
| Preparing to replace apache 1.3.29.0.2-4 (using
.../apache_1.3.29.0.2-5_i386.deb) ...
| Stopping web server: apache.
| Unpacking replacement apache ...
| Setting up apache-utils (1.3.29.0.2-5) ...
| Setting up apache-common (1.3.29.0.2-5) ...
|
| Setting up apache (1.3.29.0.2-5) ...
| Installing new version of config file /etc/init.d/apache ...
| Replacing config file /etc/apache/modules.conf with new version
| Starting web server: apache.
|
| As you can see apache is stopped correctly.
|

I downgraded, then upgraded again : everything goes smoothly.
There must have been something wrong in my setup.

|>I don't understand why apache should only be stopped if version <=3D
|>1.3.28, so I can't provide a patch... :/
|
|
| You are looking in the wrong place. Please check:
|
|
http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpac=
kphase
|
| The first script called is prerm. The reason why the same code is repea=
ted
| in preinst is to workaround a bug in woody packages.

Well, that makes far more sense ;)
Thanks for pointing that out.


I'm closing this bug as even I cannot reproduce it.

Best regards,

- --
Cl=E9ment 'nodens' Hermann
- - "L'air pur ? c'est pas en RL, =E7a ? c'est pas hors charte ?"
Jean in L'Histoire des Pingouins, http://tnemeth.free.fr/fmbl/linuxsf/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD4DBQFAiON30yQ2guvROZ0RAq7UAKCYtYI3U/80qsKwgBqgfhClBqCBYgCXUrbB
OeYcyp5G10Ihln7PEyMRXg=3D=3D
=3D84Ey
-----END PGP SIGNATURE-----



Reply to: