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

Bug#252627: apache: environment cleaning not useful

Package: apache
Severity: normal

After getting the latest Apache, I found that passing environment
variables to the server from the command line no longer works.  This
is the changelog:

    - More init scripts cleanup. It shouldn't leak environment information
      (Closes: #229653, #230991)

Unfortunately this isn't very useful behaviour.  I routinely set
PGHOST to select development database.  Now there is no useful way to
pass this from the command line to Apache.  (Adding it to
/etc/apache/local.conf using SetEnv doesn't work because mod_env runs
too late).

As another example it makes the PassEnv directive completely useless.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (650, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.6

Versions of packages apache depends on:
ii  apache-common      Support files for all Apache webse
ii  debconf                     1.4.25       Debian configuration management sy
ii  dpkg                        1.10.21      Package maintenance system for Deb
ii  libc6                       2.3.2.ds1-12 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-21      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: localhost
* apache/document-root: /var/www
* apache/server-port: 80
* apache/init: true
* apache/server-admin: webmaster@arctor.home.annexia.org

Reply to: