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

Bug#131072: marked as done (apache-ssl: more on env cleanup (#129612))



Your message dated Tue, 14 Oct 2003 18:06:37 +0200 (CEST)
with message-id <Pine.LNX.4.58.0310141800000.24499@trider-g7.ext.fabbione.net>
and subject line (no subject)
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; 26 Jan 2002 22:56:11 +0000
>From eric@taedium.com Sat Jan 26 16:56:11 2002
Return-path: <eric@taedium.com>
Received: from (george.frogspace.net) [64.6.245.2] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16Ubk3-0002ZT-00; Sat, 26 Jan 2002 16:56:11 -0600
Received: from [63.206.212.147] (helo=constance)
	by george.frogspace.net with esmtp (Exim 3.02 #1)
	id 16Ubk3-0000h0-00
	for submit@bugs.debian.org; Sat, 26 Jan 2002 14:56:11 -0800
Received: from eric by constance with local (Exim 3.12 #1 (Debian))
	id 16UbjX-00026b-00
	for <submit@bugs.debian.org>; Sat, 26 Jan 2002 14:55:39 -0800
Date: Sat, 26 Jan 2002 14:55:39 -0800
To: submit@bugs.debian.org
Subject: apache-ssl: more on env cleanup (#129612)
Message-ID: <20020126145539.C5906@taedium.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
From: Eric Wong <eric@taedium.com>
Delivered-To: submit@bugs.debian.org

Package: apache-ssl
Version: 1.3.22.1+1.44-1
Severity: minor

DESCRIPTION:

/etc/init.d/apache-ssl still throws ugly warnings with multi-line
environment variables, even with the new patch (#129612).  In particular
this happens when the other lines contain equal signs.  For example:

> <root@wednesday:/etc/init.d> env 
> ...
> TERMCAP=SC|screen|VT 100/ANSI X3.64 virtual terminal:\
>         :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
>         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
>         :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
>         :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
> ...
>
> <root@wednesday:/etc/init.d> /etc/init.d/apache-ssl 
> /etc/init.d/apache-ssl: unset: `:DO': not a valid identifier
> /etc/init.d/apache-ssl: unset: `:cd': not a valid identifier
> /etc/init.d/apache-ssl: unset: `:do': not a valid identifier
> /etc/init.d/apache-ssl: unset: `:le': not a valid identifier
> ...
> Usage: /etc/init.d/apache-ssl {start|stop|reload|reload-modules|force-reload|restart}


PATCH:

pipe sed's output through grep, removing anything with a space, since
a shell variable can't have spaces.

-------- cut here ------
--- apache-ssl.orig     Sat Jan 26 14:42:30 2002
+++ apache-ssl  Sat Jan 26 14:50:52 2002
@@ -4,7 +4,7 @@
 #
 
 # Clear our environment so we don't leak.
-unset `env | sed '/=/s/=.*//;t;d'`
+unset `env | sed '/=/s/=.*//;t;d' | grep -v [:space:]`
 NAME=apache-ssl
 PATH=/bin:/usr/bin:/sbin:/usr/sbin
 DAEMON=/usr/sbin/apache-ssl
-------- cut here ------



---------------------------------------
Received: (at 131072-done) by bugs.debian.org; 14 Oct 2003 16:06:49 +0000
>From fabbione@fabbione.net Tue Oct 14 11:06:48 2003
Return-path: <fabbione@fabbione.net>
Received: from port5.ds1-sby.adsl.cybercity.dk (trider-g7.fabbione.net) [212.242.169.198] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1A9Rh0-0002It-00; Tue, 14 Oct 2003 11:06:38 -0500
Received: from trider-g7.ext.fabbione.net (port5.ds1-sby.adsl.cybercity.dk [212.242.169.198])
	by trider-g7.fabbione.net (Postfix) with ESMTP id 91EAE37;
	Tue, 14 Oct 2003 18:06:37 +0200 (CEST)
Date: Tue, 14 Oct 2003 18:06:37 +0200 (CEST)
From: Fabio Massimo Di Nitto <fabbione@fabbione.net>
Sender: fabbione@trider-g7.ext.fabbione.net
To: 135244-done@bugs.debian.org, 131072-done@bugs.debian.org,
	145502-done@bugs.debian.org
Message-ID: <Pine.LNX.4.58.0310141800000.24499@trider-g7.ext.fabbione.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 131072-done@bugs.debian.org
X-Spam-Status: No, hits=0.0 required=4.0
	tests=none
	version=2.53-bugs.debian.org_2003_10_13
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_13 (1.174.2.15-2003-03-30-exp)


I am closing these 3 bugs since they have been fixed for a while in
sarge/sid. Unfortunatly i have no reference in which version of
apache they have been fixed.

woody still ship an entry but it is not used.

Fabio

-- 
Our mission: make IPv6 the default IP protocol
"We are on a mission from God" - Elwood Blues

http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp00004.html



Reply to: