[pkg-lighttpd] Bug#406080: lighttpd: Does not cleanup environment
upon startup
Olaf Mersmann
olafm+debianbts at kimberly.tako.de
Mon Jan 8 15:53:36 CET 2007
Package: lighttpd
Version: 1.4.11-2bpo1
Severity: normal
The LigHTTPd init script does not clean out the process environment.
I noticed this while debugging a PHP error ('mail()' would fail in a
script but not when run on the CLI). A simple script showed that HOME,
MAIL, TERM etc where all set. A simple way to see this would be the
following PHP script:
<?php
echo('<html><body><tt>');
system('env');
echo('</tt></body></html>');
?>
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.9-chriswallace
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages lighttpd depends on:
ii libbz2-1.0 1.0.2-7 high-quality block-sorting file co
ii libc6 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii libldap2 2.1.30-8 OpenLDAP libraries
ii libpcre3 4.5-1.2sarge1 Perl 5 Compatible Regular Expressi
ii libssl0.9.7 0.9.7e-3sarge4 SSL shared libraries
ii lsb-base 3.1-15~bpo.1 Linux Standard Base 3.1 init scrip
ii mime-support 3.28-1 MIME files 'mime.types' & 'mailcap
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime
-- no debconf information
More information about the pkg-lighttpd-maintainers
mailing list