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

Bug#269290: apache2-common: new default Include is too inclusive



Package: apache2-common
Version: 2.0.50-11
Severity: wishlist

The current default apache2.conf has
Include /etc/apache2/conf.d/[^.#]*
It was previously more restrictive.

As a result of this change, apache2 failed with
# invoke-rc.d apache2 start
Starting web server: Apache2Syntax error on line 1 of /etc/apache2/conf.d/RCS/subversion,v:
Invalid command 'head', perhaps mis-spelled or defined by a module not included in the server configuration
invoke-rc.d: initscript apache2, action "start" failed.

Because I don't have to have an RCS subdirectory, I am making this
wishlist.  If the reason for the original change was overwhelming, you
can just close this or mark it wontfix.

I did this to solve the problem:
Include /etc/apache2/conf.d/[a-z][^.#]*

[a-z0-9] might have been wiser.

It would also be good to exclude editor temp files, maybe
Include /etc/apache2/conf.d/[a-z0-9][^.#]*[^#~]
That will also exclude file names with only one character, which might
or might not be a good thing.

While I'm wishing, in a more upstream vein, I wish Include did not
recurse directories, or at least had that as an option.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (600, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26advncd
Locale: LANG=C, LC_CTYPE=en_US.UTF-8

Versions of packages apache2-common depends on:
ii  debconf                     1.4.30.2     Debian configuration management sy
ii  debianutils                 2.8.4        Miscellaneous utilities specific t
ii  libapr0                     2.0.50-11    The Apache Portable Runtime
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-17    Berkeley v4.2 Database Libraries [
ii  libexpat1                   1.95.6-8     XML parsing C library - runtime li
ii  libldap2                    2.1.30-3     OpenLDAP libraries
ii  libmagic1                   4.09-1       File type determination library us
ii  libssl0.9.7                 0.9.7d-4     SSL shared libraries
ii  mime-support                3.28-1       MIME files 'mime.types' & 'mailcap
ii  net-tools                   1.60-10      The NET-3 networking toolkit
ii  openssl                     0.9.7d-4     Secure Socket Layer (SSL) binary a
ii  ssl-cert                    1.0-8        Simple debconf wrapper for openssl
ii  zlib1g                      1:1.2.1.1-5  compression library - runtime

-- no debconf information



Reply to: