Bug#327139: marked as done (apache-perl ate my /etc/apache)
Your message dated Thu, 08 Sep 2005 12:00:56 +1000
with message-id <431F9B58.5000303@0c3.net>
and subject line Bug#327139: apache-perl ate my /etc/apache
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; 7 Sep 2005 21:59:05 +0000
>From stuart@homefarm.strr.org Wed Sep 07 14:59:03 2005
Return-path: <stuart@homefarm.strr.org>
Received: from host107.titaninternet.co.uk (mail.waveflex.net) [217.77.183.107]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1ED7wa-0006cL-00; Wed, 07 Sep 2005 14:59:00 -0700
Received: from vimes.homefarm ([81.178.99.36]) by waveflex.net with MailEnable ESMTP; Wed, 07 Sep 2005 23:03:19 +0100
Received: from stuart by vimes.homefarm with local (Exim 3.36 #1 (Debian))
id 1ED7w0-0004Ea-00
for <submit@bugs.debian.org>; Wed, 07 Sep 2005 22:58:24 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Stuart Rowan <debian-bugs@strr.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apache-perl ate my /etc/apache
X-Mailer: reportbug 3.8
Date: Wed, 07 Sep 2005 22:58:23 +0100
Message-Id: <[🔎] E1ED7w0-0004Ea-00@vimes.homefarm>
Sender: "Stuart T. R. Rowan" <stuart@homefarm.strr.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Package: apache-perl
Severity: grave
Justification: causes non-serious data loss
actually causes serious data loss. Had apache installed. Installed apache-perl.
dpkg --purge apache-perl . /etc/apache is deleted. W T F? How is it ever right
for this directory to be deleted as part of a purge operation? So yeah silly
me for not having my latest config backed up but....GAH!
Stu.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (900, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.4.27-2-586tsc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages apache-perl depends on:
ii apache-common 1.3.33-6 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 libapache-mod-perl 1.29.0.3-6 integration of perl with the Apach
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 libperl5.8 5.8.4-8 Shared Perl library
ii logrotate 3.7-5 Log rotation utility
ii mime-support 3.28-1 MIME files 'mime.types' & 'mailcap
---------------------------------------
Received: (at 327139-done) by bugs.debian.org; 8 Sep 2005 02:01:41 +0000
>From adconrad@0c3.net Wed Sep 07 19:01:41 2005
Return-path: <adconrad@0c3.net>
Received: from loki.0c3.net [69.0.240.48]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EDBjR-0006Qq-00; Wed, 07 Sep 2005 19:01:41 -0700
Received: from [203.49.196.168] (helo=[10.0.0.4])
by loki.0c3.net with esmtp (Exim 4.34)
id 1EDBip-0000Zl-KH; Wed, 07 Sep 2005 20:01:04 -0600
Message-ID: <431F9B58.5000303@0c3.net>
Date: Thu, 08 Sep 2005 12:00:56 +1000
From: Adam Conrad <adconrad@0c3.net>
User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050831)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stuart Rowan <debian-bugs@strr.org>, 327139-done@bugs.debian.org
Subject: Re: Bug#327139: apache-perl ate my /etc/apache
References: <[🔎] E1ED7w0-0004Ea-00@vimes.homefarm>
In-Reply-To: <[🔎] E1ED7w0-0004Ea-00@vimes.homefarm>
X-Enigmail-Version: 0.92.0.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Delivered-To: 327139-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Stuart Rowan wrote:
> Package: apache-perl
> Severity: grave
> Justification: causes non-serious data loss
>
> actually causes serious data loss. Had apache installed. Installed apache-perl.
> dpkg --purge apache-perl . /etc/apache is deleted. W T F? How is it ever right
> for this directory to be deleted as part of a purge operation? So yeah silly
> me for not having my latest config backed up but....GAH!
I just checked (both with a visual look at the code, and with an actual
test of installing and purging packages), and purging "apache" removes
/etc/apache, and purging "apache-perl" removes /etc/apache-perl.
apache-perl does not and CAN not remove /etc/apache, with the code
shipped in the package. That means that somewhere along the way you
must have purged "apache" (perhaps when switching webservers, you purged
apache, do you could get apache-perl listening on port 80, or something?)
dpkg --purge specifically purges "everything, including configuration
files", according to the manual. Surely, if you didn't want that, you
would have "removed", not "purged"?
... Adam
Reply to: