Your message dated Wed, 02 Mar 2005 13:24:01 +0100 with message-id <[EMAIL PROTECTED]> and subject line Bug#296515: postinst fails due to missing /etc/apache directory 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; 22 Feb 2005 23:19:02 +0000 >From [EMAIL PROTECTED] Tue Feb 22 15:19:02 2005 Return-path: <[EMAIL PROTECTED]> Received: from vmlinux.org [193.41.214.66] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1D3jIz-0005XJ-00; Tue, 22 Feb 2005 15:19:01 -0800 Received: from localhost (localhost [127.0.0.1]) by vmlinux.org (Postfix) with ESMTP id 5803D1371A for <[EMAIL PROTECTED]>; Tue, 22 Feb 2005 23:24:14 +0100 (CET) Received: from vmlinux.org ([127.0.0.1]) by localhost (vmlinux [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30041-02 for <[EMAIL PROTECTED]>; Tue, 22 Feb 2005 23:24:02 +0100 (CET) Received: by vmlinux.org (Postfix, from userid 1000) id AE15013713; Tue, 22 Feb 2005 23:24:02 +0100 (CET) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Joachim Nilsson <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: mantis: postinst fails due to missing /etc/apache directory X-Mailer: reportbug 3.8 Date: Tue, 22 Feb 2005 23:24:02 +0100 Message-Id: <[EMAIL PROTECTED]> X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at vmlinux.org Delivered-To: [EMAIL PROTECTED] 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-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: Package: mantis Version: 0.19.2-2 Severity: serious Justification: Policy 3.5 The following section in mantis.postinst renders the package uninstallable on any system without the /etc/apache directory. servers="apache apache-perl apache-ssl apache2" for webserver in "$webservers"; do if [ ! -e /etc/${webserver}/conf.d/mantis ]; then ln -s ${includefile} /etc/${webserver}/conf.d/mantis fi done The if statement should also check if any directory leading up to the last one exists before assuming it's OK to install the link. For me, without apache 1.3, postinst fails in ln with ln: creating symbolic link `/etc/apache/conf.d/mantis' to `/etc/mantis/apache.conf': No such file or directory dpkg: error processing mantis (--configure): subprocess post-installation script returned error exit status 1 Please redo the if statement to something like this: servers="apache apache-perl apache-ssl apache2" for webserver in "$webservers"; do if [ -d /etc/${webserver} -a -d /etc/${webserver}/conf.d -a ! -e /etc/${webserver}/conf.d/mantis ]; then ln -s ${includefile} /etc/${webserver}/conf.d/mantis fi done Regards /Jocke -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-k7 Locale: LANG=sv_SE.ISO-8859-1, LC_CTYPE=sv_SE.ISO-8859-1 (charmap=ISO-8859-1) Versions of packages mantis depends on: ii apache2 2.0.52-3 Next generation, scalable, extenda ii apache2-mpm-prefork [httpd] 2.0.52-3 Traditional model for Apache2 ii debconf 1.4.30.11 Debian configuration management sy ii grep 2.5.1.ds1-4 GNU grep, egrep and fgrep ii libapache2-mod-php4 4:4.3.10-2 server-side, HTML-embedded scripti ii libphp-adodb 4.52-1 The 'adodb' database abstraction l ii makepasswd 1.10-2 Generate and encrypt passwords ii mysql-client 4.0.23-4 mysql database client binaries ii php4-cgi 4:4.3.10-2 server-side, HTML-embedded scripti ii php4-cli 4:4.3.10-2 command-line interpreter for the p ii php4-mysql 4:4.3.10-2 MySQL module for php4 ii wwwconfig-common 0.0.42 Debian web auto configuration -- debconf information excluded --------------------------------------- Received: (at 296515-done) by bugs.debian.org; 2 Mar 2005 12:24:36 +0000 >From [EMAIL PROTECTED] Wed Mar 02 04:24:36 2005 Return-path: <[EMAIL PROTECTED]> Received: from (williams.azu.nl) [143.121.16.37] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1D6Su4-0007Yp-00; Wed, 02 Mar 2005 04:24:36 -0800 Received: from isiwww.rrn.azu.nl (unknown [143.121.62.57]) by williams.azu.nl (Postfix) with ESMTP id 702E0B11 for <[EMAIL PROTECTED]>; Wed, 2 Mar 2005 13:24:03 +0100 (MET) Received: from [127.0.0.1] (zoltrix.rrn.azu.nl [143.121.153.52]) by isiwww.rrn.azu.nl (Postfix) with ESMTP id 0AC141B82A for <[EMAIL PROTECTED]>; Wed, 2 Mar 2005 13:25:05 +0100 (CET) Message-ID: <[EMAIL PROTECTED]> Date: Wed, 02 Mar 2005 13:24:01 +0100 From: Thijs Kinkhorst <[EMAIL PROTECTED]> Organization: University Medical Center, Utrecht NL User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [EMAIL PROTECTED] Subject: Re: Bug#296515: postinst fails due to missing /etc/apache directory X-Enigmail-Version: 0.90.1.1 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Delivered-To: [EMAIL PROTECTED] 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-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 X-Spam-Level: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Terribly sorry, I did a double, or even a triple fault! > > It turns out our mantis package was badly debconfigured: mantis/webservers > was set to only "apache", which explains why postinst failed so badly. > (Should have checked debconf values && included them in the report.) > > Then I misread the postinst script, or at least got very confused by, > the line servers="apache apache-perl apache-ssl apache2". I misread > it as "webservers" ... that servers line doesn't seem to be used btw. > ~~~ > Again, I'm sorry, you can close the report. I'm closing this now for the reasons indicated by the bugrepoter. Thijs -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCJbBhJdKMxZV9WM8RAmBEAKCYm2lMMkxZmNOfR+QS4OpbIrCmFwCfYb0J ND4xx7YBBkvqT93jJCch0bQ= =VjIP -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]