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

Bug#228537: marked as done (apache-common: listconffiles doesn't handle " characters very well)



Your message dated Tue, 27 Jan 2004 13:04:09 -0500
with message-id <E1AlXZJ-00005R-00@newraff.debian.org>
and subject line Bug#228537: fixed in apache 1.3.29.0.1-4
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; 19 Jan 2004 16:06:38 +0000
>From allard@baco.byte.nl Mon Jan 19 08:06:38 2004
Return-path: <allard@baco.byte.nl>
Received: from (baco.byte.nl) [217.119.229.1] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AibvC-0001Hp-00; Mon, 19 Jan 2004 08:06:38 -0800
Received: from localhost (localhost [127.0.0.1])
	by baco.byte.nl (Postfix) with ESMTP
	id 8ADEE5F0325; Mon, 19 Jan 2004 17:06:02 +0100 (CET)
Received: by baco.byte.nl (Postfix, from userid 500)
	id 776FA5F030F; Mon, 19 Jan 2004 17:06:00 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Allard Hoeve <allard@byte.nl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apache-common: listconffiles doesn't handle " characters very well
X-Mailer: reportbug 2.37
Date: Mon, 19 Jan 2004 17:06:00 +0100
Message-Id: <[🔎] 20040119160600.776FA5F030F@baco.byte.nl>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_01_14 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-bugs.debian.org_2004_01_14
X-Spam-Level: 

Package: apache-common
Version: 1.3.29.0.1-3
Severity: normal
Tags: sid patch

Hello All,

While upgrading to apache 1.3.29.0.1-3 from 1.3.27 I ran into a bug in
listconffiles. It seems it breaks when Include directives are written like so:

Include "/etc/apache/local.conf"

The Include gets detected as "/etc/apache/local.conf", not 
/etc/apache/local.conf, without the quotes. The same applies to ServerRoot
directives.

The result is listconffiles trying to open:

"/etc/apache/"/"/etc/apache/local.conf"

The following patch fixes the problem:

__________________________________________________
--- /usr/share/apache/listconffiles.old 2004-01-19 16:56:22.000000000 +0100
+++ /usr/share/apache/listconffiles     2004-01-19 16:58:23.000000000 +0100
@@ -52,6 +52,7 @@
       s/^\s*(.*)/$1/;
       (undef,$serverroot) = split;
       ($serverroot .= "/") unless ($serverroot =~ m|/$|);
+       $serverroot =~ s/"//g;
 #      print "DEBUG: Found ServerRoot to be $serverroot\n";
     }
 
@@ -59,6 +60,8 @@
       s/^\s*(.*)/$1/;
       my (undef,$file) = split;
 
+      $file =~ s/"//g;
+
       if ($file !~ m|^/| ) {
        $file = $serverroot . $file;
       }
--------------------------------------------------

Simple, but effective. This now works on my system.

Regards,

Allard Hoeve




-- System Information:
Debian Release: testing/unstable
Architecture: sparc
Kernel: Linux baco 2.4.21 #4 Fri Aug 1 13:36:07 CEST 2003 sparc64
Locale: LANG=C, LC_CTYPE=C

Versions of packages apache-common depends on:
ii  apache-utils                1.3.29.0.1-3 Utility programs for webservers
ii  debconf                     1.3.22       Debian configuration management sy
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libdb4.1                    4.1.25-16    Berkeley v4.1 Database Libraries [
ii  libexpat1                   1.95.6-6     XML parsing C library - runtime li
ii  mime-support                3.23-1       MIME files 'mime.types' & 'mailcap
ii  perl [perl5]                5.8.2-2      Larry Wall's Practical Extraction 
ii  sed                         4.0.7-3.0.1  The GNU sed stream editor

-- debconf information:
* apache-common/confignotes: 
  apache-common/old-logrotate-exists: 
  apache-common/logs: 
  apache-shared/debconf-modules: mod_userdir, mod_status, mod_ssl, mod_setenvif, mod_rewrite, mod_negotiation, mod_mime_magic, mod_mime, mod_log_config, mod_env, mod_dir, mod_cgi, mod_autoindex, mod_auth, mod_alias, mod_actions, mod_access, mod_php4
  apache-shared/restart: false


---------------------------------------
Received: (at 228537-close) by bugs.debian.org; 27 Jan 2004 18:05:11 +0000
>From katie@newraff.debian.org Tue Jan 27 10:05:11 2004
Return-path: <katie@newraff.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AlXaJ-0004Nw-00; Tue, 27 Jan 2004 10:05:11 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1AlXZJ-00005R-00; Tue, 27 Jan 2004 13:04:09 -0500
From: fabbione@fabbione.net (Fabio M. Di Nitto)
To: 228537-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#228537: fixed in apache 1.3.29.0.1-4
Message-Id: <E1AlXZJ-00005R-00@newraff.debian.org>
Sender: Archive Administrator <katie@newraff.debian.org>
Date: Tue, 27 Jan 2004 13:04:09 -0500
Delivered-To: 228537-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_01_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=no 
	version=2.60-bugs.debian.org_2004_01_25
X-Spam-Level: 

Source: apache
Source-Version: 1.3.29.0.1-4

We believe that the bug you reported is fixed in the latest version of
apache, which is due to be installed in the Debian FTP archive:

apache-common_1.3.29.0.1-4_i386.deb
  to pool/main/a/apache/apache-common_1.3.29.0.1-4_i386.deb
apache-dbg_1.3.29.0.1-4_i386.deb
  to pool/main/a/apache/apache-dbg_1.3.29.0.1-4_i386.deb
apache-dev_1.3.29.0.1-4_i386.deb
  to pool/main/a/apache/apache-dev_1.3.29.0.1-4_i386.deb
apache-doc_1.3.29.0.1-4_all.deb
  to pool/main/a/apache/apache-doc_1.3.29.0.1-4_all.deb
apache-perl_1.3.29.0.1-4_i386.deb
  to pool/main/a/apache/apache-perl_1.3.29.0.1-4_i386.deb
apache-ssl_1.3.29.0.1-4_i386.deb
  to pool/main/a/apache/apache-ssl_1.3.29.0.1-4_i386.deb
apache-utils_1.3.29.0.1-4_i386.deb
  to pool/main/a/apache/apache-utils_1.3.29.0.1-4_i386.deb
apache_1.3.29.0.1-4.diff.gz
  to pool/main/a/apache/apache_1.3.29.0.1-4.diff.gz
apache_1.3.29.0.1-4.dsc
  to pool/main/a/apache/apache_1.3.29.0.1-4.dsc
apache_1.3.29.0.1-4_i386.deb
  to pool/main/a/apache/apache_1.3.29.0.1-4_i386.deb
libapache-mod-perl_1.29.0.1-4_i386.deb
  to pool/main/a/apache/libapache-mod-perl_1.29.0.1-4_i386.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 228537@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Fabio M. Di Nitto <fabbione@fabbione.net> (supplier of updated apache 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, 27 Jan 2004 18:23:49 +0100
Source: apache
Binary: apache-dev apache-common apache-doc apache-utils apache apache-dbg apache-perl libapache-mod-perl apache-ssl
Architecture: source i386 all
Version: 1.3.29.0.1-4
Distribution: unstable
Urgency: low
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Fabio M. Di Nitto <fabbione@fabbione.net>
Description: 
 apache     - Versatile, high-performance HTTP server
 apache-common - Support files for all Apache webservers
 apache-dbg - Apache webservers (debugging versions)
 apache-dev - Apache webserver development kit
 apache-doc - Apache webserver docs
 apache-perl - Versatile, high-performance HTTP server with Perl support
 apache-ssl - Versatile, high-performance HTTP server with SSL support
 apache-utils - Utility programs for webservers
 libapache-mod-perl - Integration of perl with the Apache web server
Closes: 224390 225015 225047 225608 225634 226131 227357 227997 228033 228329 228451 228537 228667 228946 229027 229553 229728 229764
Changes: 
 apache (1.3.29.0.1-4) unstable; urgency=low
 .
   * (Fabio M. Di Nitto)
     - Fixed symlink creation in mod-perl postinst (Closes: #225047)
     - Added SSLCacheServerPort check to suggested correction (Closes: #224390)
     - Added mod-perl r->dir_config('foo') patch. Thanks Don. (Closes: #226131)
     - Upgrade to libdb4.2 (Closes: #228451)
     - Updated spanish translation thanks to Javier (Closes: #228329)
     - Applied patch to mod_usertrack (Closes: #227997)
     - Removed mod_uniqe_id from the default setup (Closes: #228033, #228667)
     - Added workaround for a buggy prerm script in woody to ensure smooth
       upgrades (Closes: #227357, #225015)
     - Fixed libapache-mod-perl Depends list (Closes: #228946)
     - Fixed listconffiles to support filenames enclosed in "" and ''
       (Closes: #228537, #225608)
     - Modified modules-config to fully support upgrades from woody and
       in non-interactive mode
     - apache-common shows configuration changes only when upgrading
       (Closes: #229027, #229553)
     - Added symlink from apache-doc to apache/manual (Closes: #229764)
     - Added patch 102_inetdfix to nullify output while processing
       configuration directories (consistent with apache2 and policy)
       (Closes: #225634, #229728)
   * (Thom May)
     - Kill an echo -n that was causing problems on dash
Files: 
 27e4e77c36c18a0a1efd7e9cb833a887 1085 web optional apache_1.3.29.0.1-4.dsc
 0b84a2279b2a62d58dc489db16ee0dca 369854 web optional apache_1.3.29.0.1-4.diff.gz
 5116688bb57e37230b51e0bdf1bf9815 1157584 doc optional apache-doc_1.3.29.0.1-4_all.deb
 1fb0cc59e70d54bff19bf99236b28d55 365576 web optional apache_1.3.29.0.1-4_i386.deb
 0310544ca5ac5ea32bf03cb93f1f9c29 476470 web optional apache-ssl_1.3.29.0.1-4_i386.deb
 0b9da6ad149ced1140e3fe3045db3110 484102 web extra apache-perl_1.3.29.0.1-4_i386.deb
 0cef9adbe4970e23965daf08bb9c129d 315820 devel extra apache-dev_1.3.29.0.1-4_i386.deb
 071d297c6223d234d80693aa18959f25 9056570 devel extra apache-dbg_1.3.29.0.1-4_i386.deb
 5052c93eadebe355c0fc41c8fb382fa0 813536 web optional apache-common_1.3.29.0.1-4_i386.deb
 59827a1a5ca0acf5ce867415ea77001a 252724 web optional apache-utils_1.3.29.0.1-4_i386.deb
 000ffc730e4bedbc82d937cf92525a1e 479496 web optional libapache-mod-perl_1.29.0.1-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAFqOGhCzbekR3nhgRApYsAJ0dAWQgcQ9uPoqfpXrCwIXjoPe9hwCgjyf5
ogQFxmYxjF1bsoB1SU4TwnM=
=Ab+g
-----END PGP SIGNATURE-----



Reply to: